[mythtv-users] Using devinput but devinput lircd.conf file does not contain all my remote buttons on Harmony One
gaberubin at gmail.com
Wed Jun 15 02:42:20 UTC 2011
On Thu, Jun 9, 2011 at 9:03 AM, Jarod Wilson <jarod at wilsonet.com> wrote:
> Hrm. What does 'ir-keytable' without any args spit back?
[root at localhost ~]# ir-keytable
Found /sys/class/rc/rc1/ (/dev/input/event2) with:
Driver ir-kbd-i2c, table rc-rc5-tv
Supported protocols: RC-5
Repeat delay = 500 ms, repeat period = 33 ms
>> I am obviously still doing something wrong. I am still getting some
>> activity in irw for some of the keypresses. but not the ones I had
>> issues with previously (and all register in dmesg). I am probably
>> missing something obvious though.
> If the module has been loaded, then unloaded, then loaded again, it
> would move the rc device to rc1 instead of 0. (back-tracking on the
> device number can be complicated, for simplicity's sake, devno is
> just always incremented when another instance is created).
>> I changed "type: UNKNOWN" to "type: RC-5" although that line is
>> commented out anyways, so I would not imagine it makes much of a
>> difference (# table haupp, type: RC-5).
> I know it looks like just a comment, and its ugly, but ir-keytable
> actually parses that and uses it to set the active protocol decoder.
> That could use some work upstream...
>> Do I need to edit my
>> /etc/rc_maps.cfg? I have posted it to
>> http://www.mustbethemoney.mine.nu:8080/rc_map.txt Maybe something is
>> missing in that file?
> Interestingly, it doesn't seem there's a rule that would actually
> load the haupp table in there. Providing a line to add will be easier
> after seeing the ir-keytable no-args output though.
Does the info I put up above help with creating a rule I can add? I
am not even certain that a rule would help though. I rebooted using a
more recent kernel (188.8.131.52-88.fc14.i686) and tried loading the
specific haupp keytable but when I do that, irw recognizes no keys.
This is what I did:
When I do this, I get the following output:
[root at localhost ~]# ir-keytable -c -w /etc/rc_keymaps/haupp
Old keytable cleared
Wrote 46 keycode(s) to driver
If I unload and reload the ir-kbd-i2c module, irw will recognize the
same keys it did when I originally loaded the module and not recognize
the same keys it didn't recognize before (but dmesg is showing me that
the system is recognizing all the keys). Of course, if I try to load
a keytable at that point, I get the error "Not found device rc0"
because I have loaded it previously and as you noted, the rc device
moved to rc1 instead of rc0.
More information about the mythtv-users