The USB remote control that came with my TV card, is a USB type, and linux (mandrive 2005LE) detects it when I insert it, and uses it like a USB keyboard (and mouse?). From /var/log/messages...

Jul 11 17:56:10 localhost kernel: ohci_hcd 0000:00:02.1: wakeup
Jul 11 17:56:10 localhost kernel: usb 2-3: new low speed USB device using ohci_hcd and address 5 Jul 11 17:56:10 localhost kernel: input: USB HID v1.10 Keyboard [Twinhan Tech Remote Control] on usb-0000:00:02.1-3 Jul 11 17:56:10 localhost kernel: input: USB HID v1.10 Mouse [Twinhan Tech Remote Control] on usb-0000:00:02.1-3
Jul 11 17:56:10 localhost hal.hotplug[10906]: DEVPATH is not set
Jul 11 17:56:11 localhost hal.hotplug[10940]: DEVPATH is not set


The keys all seem to have mappings. For example, by watching in a terminal, I see that all the number keys map to the numbers 0 to 9 as expected. Other keys are letters - Rewind is a lowercase 'i' and FF is an 'n' for example, and the play key seems to conveniently be an enter key. Others are more obscure.

Seems it should be possible to use it to control any app, but of course, I want to control MythTV.

Any clues on how to remap the keys of this 'USB keyboard'? Does linux have a standard mechanism for input devices like this?



_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to