← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 783202] Re: lircmd is not started properly by lirc init script when devinput is used

 

This bug is more or less obsoleted ny the new 0.9.4c release which has a
completely new configuration system based on systemd and a new file
lirc_options.conf.

-- 
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/783202

Title:
  lircmd is not started properly by lirc init script when devinput is
  used

Status in lirc package in Ubuntu:
  New

Bug description:
  Binary package hint: lirc

  lircmd (lirc mouse daemon) must be started with the -u option when
  devinput is used.

  This is not done correctly by the /etc/init.d/lirc startup script if
  the lircmd is started by specifiying

      START_LIRCMD="true"

  in /etc/lirc/hardware.conf.

  If /etc/init.d/lirc:

  		if [ "$START_LIRCMD" = "true" ]; then
  			[ -d "/var/run/lirc" ] || mkdir -p "/var/run/lirc"
  			log_daemon_msg "Starting remote control mouse daemon : LIRCMD "
  			start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/lircmd < /dev/null
  			log_end_msg $?
  		fi

  is changed to

  		if [ "$START_LIRCMD" = "true" ]; then
  			[ -d "/var/run/lirc" ] || mkdir -p "/var/run/lirc"
  			log_daemon_msg "Starting remote control mouse daemon : LIRCMD "
  			start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/lircmd -- -u < /dev/null
  			log_end_msg $?
  		fi

  it works in devinput mode . (there is also a restart section further
  down that needs editing)

  However, this is not the right way to do it in the general case, since it will not work if devinput is NOT used.
  Some trick to select when to use/not to use the "-u" switch must be applied.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: lirc 0.8.7-0ubuntu4.1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  CheckboxSubmission: 6685460b8fac740db235bfc82bb22a5d
  CheckboxSystem: fc73f07fcd9845bb95fa3ca6b8be7ef2
  Date: Sun May 15 23:18:42 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   LANGUAGE=en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: lirc
  UpgradeStatus: Upgraded to natty on 2011-05-03 (12 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/783202/+subscriptions


References