[Bug 1038371] Re: disabling in-kernel support should be optional

Jamie Strandboge jamie at ubuntu.com
Mon Sep 17 20:52:26 UTC 2012


In addition to the fact that the debdiff is reversed, it changes the default behavior of the initscript. Specifically, this line:
if [ -d /sys/class/rc ] && [ "$DISABLE_KERNEL_SUPPORT" = "true" ]; then

'"$DISABLE_KERNEL_SUPPORT" = "true"' won't ever succeed because hardware.conf doesn't set DISABLE_KERNEL_SUPPORT at all:
#DISABLE_KERNEL_SUPPORT="true"

I think you intended for that to be uncommented to preserve the old
behavior. Can you please confirm and provide an updated debdiff?

** Changed in: lirc (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1038371

Title:
  disabling in-kernel support should be optional

Status in “lirc” package in Ubuntu:
  Incomplete

Bug description:
  I have an Antec case with an iMon knob device, as well as a serial
  port IR receiver.  The knob produces events, so I don't need lirc for
  it.  I also use the imon device for lcdproc.  I run lirc, solely to
  communicate with the serial IR device.   The current lirc init script
  attempts to modify the imon device in /sys/class/rc/rc0/protocols.
  This is unnecessary, as I don't intend to use that device with lirc,
  and furthermore, for reasons unknown, it occasionally causes the
  computer to fail to shut down.  I don't particularly care why echoing
  "none" to /sys/class/rc/rc0/protocols hangs occasionally, because it
  isn't an operation that needs to be done at all on my system.  I can
  edit the init script to prevent this happening, but I'd much prefer
  for there to be an option in /etc/lirc/hardware.conf to prevent in-
  kernel support from being disabled while i run lirc, and re-enabled
  when I stop it.

  Attached is a patch with a suggested method.

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



More information about the Ubuntu-sponsors mailing list