[Pkg-lirc-maint] Bug#551706: lirc: patch for init.d conffile and configuration advice

CJ Fearnley cjf at LinuxForce.net
Wed Jan 5 05:01:42 UTC 2011

Package: lirc
Version: 0.8.3-5
Severity: normal
Tags: patch

I intended this patch and comments to be added to bug #551706, but I'm
not sure reportbug is doing the right thing.  Crossing my fingers.

I was able to "fix" lirc on my system with the following patch:

--- pkg/etc/init.d/lirc	2009-08-12 17:09:13.000000000 -0400
+++ /etc/init.d/lirc	2011-01-04 16:33:51.000000000 -0500
@@ -111,7 +111,8 @@
 				start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- $LIRCD_ARGS < /dev/null
 				log_end_msg $?
-				log_end_msg 1
+				start-stop-daemon --start --quiet --exec /usr/sbin/lircd < /dev/null
+				log_end_msg $?

The patch allows one to run the daemon even if LIRCD_ARGS is empty.
I think that is an important use case.
But for me, I also had to set DEVICE="/dev/lirc0" in
/etc/lirc/hardware.conf This contradicts the comment there.  I am still
puzzled about that one.  Was the daemon compiled for /dev/lirc but the
lirc_mceusb module sets up /dev/lirc0?  If so, that should probably be
fixed too.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages lirc depends on:
ii  debconf [debconf-2.0]        1.5.36      Debian configuration management sy
ii  libasound2                   1.0.23-2.1  shared library for ALSA applicatio
ii  libc6                        2.11.2-7    Embedded GNU C Library: Shared lib
ii  liblircclient0               0.8.3-5     infra-red remote control support -
ii  libusb-0.1-4                 2:0.1.12-16 userspace USB programming library
ii  lsb-base                     3.2-23.1    Linux Standard Base 3.2 init scrip

lirc recommends no packages.

Versions of packages lirc suggests:
ii  lirc-modules-source  0.8.6-1~c0.sidux.13 infra-red remote control support -
pn  lirc-svga            <none>              (no description available)
ii  lirc-x               0.8.3-5             infra-red remote control support -

-- debconf information excluded

More information about the Pkg-lirc-maint mailing list