On Tue, Feb 13, 2007 at 12:04:03AM +0200, Jouni wrote:
Ok, here it is, pressed remote keys 1-2-3:
The log looks fine, the driver is receiving and decoding the bytes
properly. I've included an explanation below in case someone might be
morbidly interested in the details:
[ 1005.308387] budget_ci: received byte 0xc1
Highest bit set (crap byte) => thrown away
[ 1005.338100] budget_ci: received byte 0x85
Highest bit set (crap byte) => thrown away
[ 1005.365147] budget_ci: received byte 0x41
IR command 0x01 (key 1)
[ 1005.388069] budget_ci: received byte 0x05
IR device 0x05 (with toggle bit not set)
A keypress can now be generated
[ 1007.380190] budget_ci: received byte 0xc2
Highest bit set (crap byte) => thrown away
[ 1007.390605] budget_ci: received byte 0xa5
Highest bit set (crap byte) => thrown away
[ 1007.436963] budget_ci: received byte 0x42
IR command 0x02 (key 2)
[ 1007.440557] budget_ci: received byte 0x25
IR device 0x05 (with toggle bit set)
A keypress can now be generated
[ 1007.493698] budget_ci: received byte 0xc2
Highest bit set (crap byte) => thrown away
[ 1007.540489] budget_ci: received byte 0xa5
Highest bit set (crap byte) => thrown away
[ 1008.086744] budget_ci: received byte 0x43
IR command 0x03 (key 3)
[ 1008.090097] budget_ci: received byte 0x05
IR device 0x05 (with toggle bit not set)
A keypress can now be generated
[ 1008.143488] budget_ci: received byte 0xc3
Highest bit set (crap byte) => thrown away
[ 1008.190009] budget_ci: received byte 0x80
Highest bit set (crap byte) => thrown away
[ 1008.200234] budget_ci: received byte 0x43
IR command 0x03 (key 3)
[ 1008.239990] budget_ci: received byte 0x05
IR device 0x05 (with toggle bit not set)
A repeat keypress can now be generated
So the sequence "1-2-3-3" should have been generated (with the last "3"
resulting from a long keypress).
The most likely explanation is that the rc5_device does not match, could
you provide me with the output from running
"cat /sys/module/budget_ci/parameters/rc5_device"?
--
David Härdeman
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb