lirc boot before remote device was discover
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lirc (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: upstart
hi,
i use lucid server 64bit for my server/mediacenter i have SSD disk and upstart is realy quick, too quick !
when "/etc/init.d/lirc start" was run, the variable $(dmesg | grep "input: IR-receiver inside an USB DVB receiver" | grep "0000:00:04.1" | egrep [0-9]{1}$ -o) return nothink
after the boot if i run "/etc/init.d/lirc restart", the variable $(dmesg | grep "input: IR-receiver inside an USB DVB receiver" | grep "0000:00:04.1" | egrep [0-9]{1}$ -o) return the good device number
so i think upstart run sysinit too quick.
I have tryed to add "net-device-up" on start condition of /etc/init/
start on filesystem and net-device-up IFACE=lo and net-device-up
/etc/init/
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: lirc 0.8.6-0ubuntu4
ProcVersionSign
Uname: Linux 2.6.32-21-server x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon May 3 10:01:50 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: lirc
The fix for this would be to convert lirc to use Upstart rather than an init script