← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 574282] Re: lirc boot before remote device was discover

 

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

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.
https://bugs.launchpad.net/bugs/574282

Title:
  lirc boot before remote device was discover

Status in “lirc” package in Ubuntu:
  New

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