mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #04322
[Bug 698208] Re: lirc init script doesn't disable other methods on natty
Hi Ernst,
Thank you for taking the time to open a bug and submit a patch. I don't have access to upload the fix, but I've taken your patch and pulled it into the Ubuntu packaging format at lp:~smoser/ubuntu/natty/lirc/lp-698208 . In the future, making changes to the debian packaging yourself makes less work for the Ubuntu developer trying to upload your fixes (ie, start from 'bzr branch lp:ubuntu/lirc).
I've also pushed a build of that source package to my ppa at
https://launchpad.net/~smoser/+archive/ppa/+packages .
I think this is ready to pull in, and it is in the sponsorship queue,
so someone should be taking a look at it sometime soon.
--
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/698208
Title:
lirc init script doesn't disable other methods on natty
Status in “lirc” package in Ubuntu:
New
Bug description:
Binary package hint: lirc
In natty the sysfs interface has change a bit so there's no longer a devices/virtual/rc.
The following patch seems to solve it!
diff --git a/etc/init.d/lirc b/etc/init.d/lirc
index b3c9266..620d2e1 100755
--- a/etc/init.d/lirc
+++ b/etc/init.d/lirc
@@ -93,8 +93,8 @@ in_kernel_support() {
else
action="-"
fi
- if [ -d /sys/devices/virtual/rc ]; then
- for file in `find /sys/devices/virtual/rc/ -name protocols`; do
+ if [ -d /sys/class/rc ]; then
+ for file in `find /sys/class/rc/*/ -name protocols`; do
for protocol in rc5 nec rc6 jvc sony; do
echo "${action}${protocol}" > $file
done
References