[mythtv-users] Ubuntu 10.10 upgrade and remote control problems

Jarod Wilson jarod at wilsonet.com
Thu Oct 21 14:00:40 UTC 2010


On Oct 21, 2010, at 8:12 AM, Bob Wiegand wrote:

> On Thu, 2010-10-21 at 00:21 -0400, Jarod Wilson wrote:
>> Well that's not so hot. Probably some sort of wiring missing somewhere
>> in ir-sysfs.c in that kernel. The code in question has been updated
>> considerably since, which explains why this works for me and doesn't
>> for you. Not sure what to suggest here right now. Ah! Get v4l-utils
>> installed (v0.8.1 or later), then use ir-keytable to clear the
>> in-kernel keytable. (ir-keytable -d rc0 -c, iirc). Its a hack-around,
>> but it should work... (if there's no keytable to look up decoded
>> scancodes against, no keys will come through the input layer). The
>> other route you could go is to use lircd's devinput config and driver,
>> listening to the streamzap receiver's /dev/input/eventX device, and
>> ignore the raw IR coming from the lirc interface.
> 
> I think the problem is that ir-sysfs.c checks for "rc5" before it checks
> for "rc5sz". The "rc5" check passes on the "rc5sz" string and it never
> gets to the "rc5sz" check.

D'oh! Yeah, that looks like the answer, at least for the vintage of code in the ubuntu kernel. I swear the latest bits upstream work correctly, but I'll have to double-check that to be sure...

> For now, disabling the direction keys in the lirc key map is working
> to prevent the double keys. This means that keys are coming though two
> different interfaces, but it all works.

Heh, not the prettiest solution, but hey, if it works, it works... :)

-- 
Jarod Wilson
jarod at wilsonet.com





More information about the mythtv-users mailing list