dvb_usb_dib0700 and Remote Control DSR-0112
Hello everybody,
i have a problem with a Hauppauge WinTV-NOVA-T-Stick which i bought in late May in a german "Media Markt".
Watching TV works fine after compiling the modules as suggested on
http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-T-Stick
but i can't get the remote control working.
The remote control has 35 buttons, a white top and a black back. On the back is printed:
Remote Control
Model No. DSR-0112
Made in China
lsusb returns:
Bus 002 Device 006: ID 2040:7070 Hauppauge
Loading the module gives in /var/log/messages
dvb-usb: found a 'Hauppauge Nova-T Stick' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxmer.
DVB: registering new adapter (Hauppauge Nova-T Stick)
DVB: registering frontend 0 (DiBcom 7000PC)...
DiB0070: successfully identified
input: IR-receiver inside an USB DVB receiver as /class/input/input21
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: Hauppauge Nova-T Stick successfully initialized and connected.
usbcore: registered new interface driver dvb_usb_dib0700
Neither irw nor irrecord returns any output except for irrecord:
irrecord: gap not found, can't continue
irrecord: closing '/dev/input/event9'
Presing keys on the remote control produces in /var/log/messages e.g.:
kernel: dib0700: Unknown remote controller key: 1D 7 1 0
I tried it on Mandriva 2008.1 and SUSE 10.3 with no success on both systems.
Am i missing something obvious?
Thanks for your help,
Lutz
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Tobias,
Quoted 5 lines
So, sticks IR receiver is reported as /class/input/input21 and you are trying to use irrecord on
/dev/input/event9? Does not fit together, you should try irrecord on/dev/input/input21instead! (just my personal opinion ;)
i don't have an /dev/input/input21, and if i understood the web page correctly, it's always the same device. It says:
But Linux systems runing recent udev will automatically create non-varying names, a nicer and automatic way of providing a stable input event name:
ls -l /dev/input/by-path on my system
lrwxrwxrwx 1 root root 9 2008-06-22 09:56 pci-2-1--event-ir -> ../event9
which disappears if i plug out the stick and reappears if i plug it in again. eg. now it's reported as:
kernel: input: IR-receiver inside an USB DVB receiver as /class/input/input11
Best regards, Lutz
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi,
its better to always use directly the /dev/input/by-path/pci-2-1--event-ir
device because the event interface could change the next time you plug it in or when using another new input device.
The get the remote work you need to apply the attached patch. Also attached you find a lirc config which works fine here.
Best regards,
Martin
Quoted 20 lines · On Sun, 22 Jun 2008 10:35:49 +0200 Lutz Lacher <[email protected]> wrote:
Hi Tobias,
Quoted 5 lines
So, sticks IR receiver is reported as /class/input/input21 and you are trying to use irrecord on
/dev/input/event9? Does not fit together, you should try irrecord on/dev/input/input21instead! (just my personal opinion ;)i don't have an
/dev/input/input21, and if i understood the web page correctly, it's always the same device. It says:But Linux systems runing recent udev will automatically create non-varying names, a nicer and automatic way of providing a stable input event name:
ls -l
/dev/input/by-pathon my system
lrwxrwxrwx 1 root root 9 2008-06-22 09:56 pci-2-1--event-ir -> ../event9which disappears if i plug out the stick and reappears if i plug it in again. eg. now it's reported as:
kernel: input: IR-receiver inside an USB DVB receiver as /class/input/input11
Quoted 8 lines
Best regards, Lutz
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
linux/drivers/media/dvb/dvb-usb/dib0700_devices.c +36 -1
@@ -601,7 +601,42 @@ { 0xeb, 0x54, KEY_PREVIOUS }, { 0xeb, 0x58, KEY_RECORD }, { 0xeb, 0x5c, KEY_NEXT }, - +/* Key codes for the Haupauge NOVA USB-Stick */ + { 0x1d, 0x1f, KEY_BACK }, + { 0x1d, 0x14, KEY_UP }, + { 0x1d, 0x1c, KEY_RADIO }, + { 0x1d, 0x3b, KEY_HOME }, + { 0x1d, 0x3D, KEY_POWER }, + { 0x1d, 0x16, KEY_LEFT }, + { 0x1d, 0x25, KEY_OK }, + { 0x1d, 0x17, KEY_RIGHT }, + { 0x1d, 0x24, KEY_PREVIOUS }, + { 0x1d, 0x1E, KEY_NEXT }, + { 0x1d, 0x37, KEY_RECORD }, + { 0x1d, 0x15, KEY_DOWN }, + { 0x1d, 0x36, KEY_STOP }, + { 0x1d, 0x30, KEY_PAUSE }, + { 0x1d, 0x35, KEY_PLAY }, + { 0x1d, 0x00, KEY_0 }, + { 0x1d, 0x01, KEY_1 }, + { 0x1d, 0x02, KEY_2 }, + { 0x1d, 0x03, KEY_3 }, + { 0x1d, 0x04, KEY_4 }, + { 0x1d, 0x05, KEY_5 }, + { 0x1d, 0x06, KEY_6 }, + { 0x1d, 0x07, KEY_7 }, + { 0x1d, 0x08, KEY_8 }, + { 0x1d, 0x09, KEY_9 }, + { 0x1d, 0x32, KEY_REWIND }, + { 0x1d, 0x34, KEY_FASTFORWARD }, + { 0x1d, 0x20, KEY_CHANNELUP }, + { 0x1d, 0x21, KEY_CHANNELDOWN }, + { 0x1d, 0x10, KEY_VOLUMEUP }, + { 0x1d, 0x11, KEY_VOLUMEDOWN }, + { 0x1d, 0x0A, KEY_TEXT }, + { 0x1d, 0x0D, KEY_MENU }, + { 0x1d, 0x12, KEY_CHANNEL }, + { 0x1d, 0x0F, KEY_MUTE },/* Key codes for the Haupauge WinTV Nova-TD, copied from nova-t-usb2.c (Nova-T USB2) */ { 0x1e, 0x00, KEY_0 }, { 0x1e, 0x01, KEY_1 },
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi Martin,
i just recompiled the drivers with your patch applied, changed the device in lircd to /dev/input/by-path/pci-2-1--event-ir as suggested and with your lirc conf it's working now.
Thank you very much for your instant help, i appreciate it very much. Again, thank you,
Lutz
-----Original Message-----
Quoted 7 lines
Hi,
its better to always use directly the
/dev/input/by-path/pci-2-1--event-ir
device because the event interface could change the next time you plug it in or when using another new input device.
Quoted 5 lines
The get the remote work you need to apply the attached patch. Also attached you find a lirc config which works fine here.
Best regards,
Martin
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb