Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: IR control keymap error



Holger Waechtler wrote:

> Joerg Riechardt wrote:
> > I use the driver from today, make insmod, load the RC5 keys.
> > Some entries in the keymap file cause errors:
> > "unknown key 'KEY_VOLUME-'
>
> KEY_VOLUME_UP is the right name I believe. Look in
> /usr/include/linux/input.h and DVB/apps/av7110_loadkeys/input_fake.h to
> see the real identifier names...

thanks! that's it (KEY_VOLUMEUP and KEY_VOLUMEDOWN).
for those who don't know about this input stuff (like me), it might be a
good idea to mention that in the README
Jörg

>
>
> > ERROR: could not parse 'loewe.rc5'  "
> >
> > this is loewe.rc5
> > ---------------------------------------
> > 0x01 KEY_1
> > 0x02 KEY_2
> > 0x03 KEY_3
> > 0x04 KEY_4
> > 0x05 KEY_5
> > 0x06 KEY_6
> > 0x07 KEY_7
> > 0x08 KEY_8
> > 0x09 KEY_9
> >
> > 0x0a KEY_0
> > 0x0c KEY_POWER
> >
> > 0x10 KEY_BACK
> > 0x11 KEY_VOLUME-
> > 0x12 KEY_MENU
> > 0x13 KEY_VOLUME+
> > 0x14 KEY_LEFT
> > 0x15 KEY_MUTE
> >
> > 0x28 KEY_GREEN
> > 0x2a KEY_BLUE
> > 0x2b KEY_RED
> >
> > 0x30 KEY_YELLOW
> > 0x32 KEY_DOWN
> > 0x35 KEY_UP
> > 0x36 KEY_RIGHT
> > 0x37 KEY_OK
> > -------------------------------------
> >
> > after removing the rejected lines everything works ok, ... but I need
> > these keys!
> >
> > In the debug mode ( insmod dvb-ttpci.o av7110_ir_debug=1 ) the keys are
> > recognized, but "unknown"
> >
> > Nov  1 18:22:42 vdr kernel: #########8000000d######### key 0d pressed
> > (keycode 0)
> > Nov  1 18:22:42 vdr kernel: av7110_emit_key: unknown key 0x0d!!
> > Nov  1 18:22:43 vdr kernel: #########80000024######### key 24 pressed
> > (keycode 0)
> > Nov  1 18:22:43 vdr kernel: av7110_emit_key: unknown key 0x24!!
> > [here I tried different keys than above]
> >
> > Why don't the driver accept those keys? What can I do to make them work?
>
> fix the syntax of your configuration file.
>
> Holger
>
> --
> Info:
> To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.






-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index