|
From: Jarod W. <ja...@wi...> - 2010-10-25 03:42:27
|
On Sun, Oct 24, 2010 at 5:02 PM, Hanno Zulla <ab...@ha...> wrote: > Hi, > >> As discussed on irc, the current answer is ir-keytable from the v4l-utils distribution, but you have to 1) set desired protocol and 2) upload replacement keymap right now. I'll try to improve this somehow or another when I have a chance so that simply changing protocol also changes out the keymap, and may well just add the modparam back. > > So far, I didn't get it to work. > > > Problem 1) > > There is no v4l-utils package in Ubuntu Maverick's repositories. File a package request or something along those lines, I suppose. Not much that can be done about that on the lirc list. ;) > Problem 2) > > Found two Ubuntu PPAs (community-provided repositories) with it, there > may be more. But both do not contain ir-keytable. > > > Problem 3) > > Ubuntu binaries are usually based on Debian packages. Debian's v4l-utils > package does not contain ir-keytable, either. > > (Reported #3 to the Debian package maintainer, which will most likely > lead to fixes of the Ubuntu packages in #2, as well) Someone else I talked to said they actually found a Debian v4l-utils 0.8.1 package with ir-keytable in it. > Problem 4) > > Installed ir-keytable from source. Seems to work, "ir-keytable --help" > results in a list of parameters. But: > > > ir-keytable -p rc6 > /sys/class/rc/rc0//protocols: Invalid argument > Couldn't change the IR protocols > > What does "invalid argument" tell me here? The "imon" module is loaded > and there is indeed only one rc class device, which is rc0. Same person who found that v4l-utils package reported this as well. The code in the Ubuntu kernel is a bit dated, and I've already tried talking to Canonical kernel folk about updating assorted ir-core code in their kernel, but they rejected the idea (doesn't meet the Ubuntu "Stable Release Update" guidelines), but they may provide a separate package with (dkms?) modules in it at some point. Alternatively, there's a 2.6.36 kernel build for Ubuntu available somewhere, and (same person again) told me that ir-keytable works just fine with the imon driver in that kernel. -- Jarod Wilson ja...@wi... |