On Wed, Apr 12, 2006 at 11:00:07PM +0200, Wolfgang Rohdewald wrote:
> if udev is used and /etc/init.d/lirc loads the lirc modules, 
> it should wait for a moment after doing modprobe. Otherwise
> this happens in /etc/init.d/lirc:

> modprobe lirc_serial
> # here we should sleep for a second, so that udev has time to
> # allocate /dev/lirc0
> test -c /dev/lirc0    # does not yet exist
> build_args() fails to use /dev/lirc0

> simple patch is to add "sleep 1" in load_modules.

A fixed delay isn't reliable either.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to