lirc init script doesn't disable other methods on natty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lirc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned |
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
fi
- if [ -d /sys/devices/
- for file in `find /sys/devices/
+ if [ -d /sys/class/rc ]; then
+ for file in `find /sys/class/rc/*/ -name protocols`; do
Related branches
- Michael Vogt (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 29 lines (+9/-2)2 files modifieddebian/changelog (+7/-0)
debian/lirc.init.d (+2/-2)
tags: | added: patch |
tags: |
added: verification-done removed: verification-needed |
Btw, the rc* protocols have changed names to rc-5 and rc-6 but the new patch works around that problem.