configure for devinput should show contents of /dev/input/by-id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Fix Released
|
Undecided
|
Unassigned | ||
One Hundred Papercuts |
Invalid
|
Undecided
|
Unassigned | ||
lirc (Ubuntu) |
Fix Released
|
Undecided
|
Hawk |
Bug Description
Binary package hint: lirc
If you have a infra-red remote control that shows up as an input device then doing the configuration stage wants you to pick the correct /dev/input/ interface and does so by showing the contents of that directory. One member shown is 'by-id' but that is a directory so picking it makes no sense.
But in any event configuration should really show the contents of /dev/input/by-id since the names contained within are stable whereas the various numbered interfaces (input3, event6 etc) are not.
Some more context here http://
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: lirc 0.8.7~pre3-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-24-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Thu Dec 30 10:45:34 2010
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: lirc
Related branches
- Martin Pitt: Approve
-
Diff: 28 lines (+7/-3)2 files modifieddebian/changelog (+5/-0)
debian/lirc.postinst (+2/-3)
Changed in lirc (Ubuntu): | |
status: | New → Confirmed |
Changed in lirc (Ubuntu): | |
assignee: | nobody → Hock (beehock) |
status: | Confirmed → In Progress |
Changed in lirc (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in lirc (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in hundredpapercuts: | |
status: | New → Invalid |
Changed in mythbuntu: | |
status: | New → Fix Released |
The following changes to /var/lib/ dpkg/info/ lirc.postinst seem to fix the issue. Its working for me. Now have to figure out how to submit this change upstream.
228,229c228,230 input_device EVENTS $EVENTS_BY_PATH $EVENTS input\/ by-id\/ /' | tr '\n' '\0'` input_device EVENTS $EVENTS_BY_PATH $EVENTS_BY_ID $EVENTS
< EVENTS=`ls /dev/input | grep -v "by-path" | sed 's/^/,\ \/dev\/input\//' | tr '\n' '\0'`
< db_subst lirc/dev_
---
> EVENTS_BY_ID=`ls /dev/input/by-id | sed 's/^/,\ \/dev\/
> EVENTS=`ls /dev/input | grep -v "by-path" | grep -v "by-id" | sed 's/^/,\ \/dev\/input\//' | tr '\n' '\0'`
> db_subst lirc/dev_