mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #04186
[Bug 695767] Re: configure for devinput should show contents of /dev/input/by-id
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
< EVENTS=`ls /dev/input | grep -v "by-path" | sed 's/^/,\ \/dev\/input\//' | tr '\n' '\0'`
< db_subst lirc/dev_input_device EVENTS $EVENTS_BY_PATH $EVENTS
---
> EVENTS_BY_ID=`ls /dev/input/by-id | sed 's/^/,\ \/dev\/input\/by-id\//' | tr '\n' '\0'`
> EVENTS=`ls /dev/input | grep -v "by-path" | grep -v "by-id" | sed 's/^/,\ \/dev\/input\//' | tr '\n' '\0'`
> db_subst lirc/dev_input_device EVENTS $EVENTS_BY_PATH $EVENTS_BY_ID $EVENTS
--
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/695767
Title:
configure for devinput should show contents of /dev/input/by-id
Status in “lirc” package in Ubuntu:
New
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://ubuntuforums.org/showpost.php?p=10278924&postcount=6
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: lirc 0.8.7~pre3-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Dec 30 10:45:34 2010
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: lirc
References