lirc boot before remote device was discover

Bug #574282 reported by mmaura
8
This bug affects 1 person
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/rc-sysinit.conf but not solve probleme :
start on filesystem and net-device-up IFACE=lo and net-device-up

/etc/init/rc-sysinit.conf must have more "and" close to run correctly on fast computer/disk but i dont find which to add for that.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: lirc 0.8.6-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-21.32-server 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-server x86_64
NonfreeKernelModules: nvidia
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

Revision history for this message
mmaura (mmaura66) wrote :
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

The fix for this would be to convert lirc to use Upstart rather than an init script

affects: upstart (Ubuntu) → lirc (Ubuntu)
Revision history for this message
Hawk (beehock) wrote :

Will a partial upstart integration for lirc work?

start on (virtual-filesystems
   and runlevel [2345])

stop on runlevel [016]

pre-start exec /etc/init.d/lirc start
post-stop exec /etc/init.d/lirc stop

Revision history for this message
Alec Leamas (leamas-alec) wrote :

This bug should be fixed in the new version 0.9.4c, which uses a much simpler systemd startup. Could you please check against the new version? (Note that the update requires major configuration changes).

Changed in lirc (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lirc (Ubuntu) because there has been no activity for 60 days.]

Changed in lirc (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.