Here's my understanding of how key depresses work. (in ir-common-c) [ 0x0b ] = KEY_RED, // red button [ 0x05 ] = KEY_KP5, // 5 0x0b = is the pattern that the remote control generates. KEY_RED = is what the driver should map the sequence to, when it sees a 0x0b arrive Here's my problem When I tail -f /dev/input/event0 and hit the RED key, nothing happens if I hit the "5" key I get ^[[G but if I change the line to " [ 0x0b ] = KEY_KP5 " and recompile, then run the tail -f and hit the RED key I get ^[[G So I deduce.... the key is generating something and the IR receiver is picking it up, but the driver doesn't seem to know anything about the tag "KEY_RED" am I correct? why isn't KEY_RED meaning anything to the kernel/driver? ----- Original Message ----- From: "Simon Baxter" <linuxtv@xxxxxxxxxxxxx> To: <sboyce@xxxxxxxxxxxxxxxx>; <linux-dvb@xxxxxxxxxxx> Sent: Saturday, May 14, 2005 8:14 AM Subject: Re: [linux-dvb] WinTV NovaT remote keys - num keys only > An easy question for you clever chaps... > > I'm re-compiling ir-common.c over and over to try new key combinations. > > I'm unsure how to modify the makefile safely so I only re-compile > ir-common, and not everything else. I could have a go at stripping out > the bits that don't relate to ir-common, but is there an easier way?? > > Can anyone give me pointers?? > > > ----- Original Message ----- > From: "Simon Baxter" <linuxtv@xxxxxxxxxxxxx> > To: <sboyce@xxxxxxxxxxxxxxxx>; <linux-dvb@xxxxxxxxxxx> > Sent: Friday, May 13, 2005 10:03 PM > Subject: Re: [linux-dvb] WinTV NovaT remote keys - num keys only > > >> ok, I understand how the 'c' files work better now.. >> >> I'm still not getting most of the keys working. Specifically >> UP/DOWN/LEFT/RIGHT and the colour keys (plus others). >> >> I'm using the following codes, but it's still no-go >> >> IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = { >> <<snip>> >> [ 0x14 ] = KEY_UP, // UP Arrow >> [ 0x15 ] = KEY_DOWN, // DOWN Arrow >> [ 0x16 ] = KEY_LEFT, // LEFT Arrow >> [ 0x17 ] = KEY_RIGHT, // RIGHT Arrow >> >> [ 0x0b ] = KEY_RED, // red button >> [ 0x29 ] = KEY_BLUE, // blue key >> [ 0x2e ] = KEY_GREEN, // green button >> [ 0x38 ] = KEY_YELLOW, // yellow key >> <<snip>> >> >> can anyone suggest my next course of action?? >> >> The remote is a silver/gray one with gray buttons >> >> >> help?? >> >> >> Simon >> ----- Original Message ----- >> From: "Sid Boyce" <sboyce@xxxxxxxxxxxxxxxx> >> To: "Simon Baxter" <linuxtv@xxxxxxxxxxxxx> >> Cc: <linux-dvb@xxxxxxxxxxx> >> Sent: Friday, May 13, 2005 8:57 PM >> Subject: Re: [linux-dvb] WinTV NovaT remote keys - num keys only >> >> >>> Simon Baxter wrote: >>> <STUFF DELETED> >>> >>>> How do I see what the remote is being registered as? I see in >>>> ir-common.c there are mappings for >>>> IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = { >>>> IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE] = { >>>> IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = { >>>> >>>> dmesg just says >>>> cx88[0]: registered IR remote control >>>> >>>> what will select the keymap?? >>>> >>>> >>>> Simon >>>> >>>> >>>> >>> >>> ir_codes_hauppauge_new is the one. >>> Regards >>> Sid. >>> -- >>> Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot >>> Retired IBM Mainframes and Sun Servers Tech Support Specialist >>> Microsoft Windows Free Zone - Linux for all Computing Tasks >>> >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 12/05/2005 >>> >>> >> >> >> _______________________________________________ >> >> linux-dvb@xxxxxxxxxxx >> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Anti-Virus. >> Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 12/05/2005 >> >> > > > _______________________________________________ > > linux-dvb@xxxxxxxxxxx > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 13/05/2005 > >