From: <li...@ba...> - 2008-11-23 10:55:22
|
Hi! Mark Buechler "mar...@gm..." wrote: >> I'm trying to get a Twinhan USB remote working. The remote's keyboard HID >> shows up as /dev/input/event1. I've compiled lirc for devinput and ran: >> >> irrecord -H dev/input -d /dev/input/event1 test.conf >> >> Irrecord sees my key presses, but all button values end up being 0x0: [...] > Upon further investigation, it looks like I'm getting quite a few sync > packets from this device. I see in the source EV_SYN is being ignored, > however, not fully ignored. Instead of a decoded packet being returned to > irrecord, a NULL packet is sent instead. It seems irrecord isn't checking > for NULL packets. Seems you are on the right track. Can you try to change this line in hw_devinput.c: if(event.type == EV_SYN) return NULL; to if(event.type == EV_SYN) return devinput_rec(remotes); Christoph |