Re: dvb_usb_dib0700 and Remote Control DSR-0112

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

 



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


On Sun, 22 Jun 2008 10:35:49 +0200
Lutz Lacher <l.lacher@xxxxxxxx> wrote:

> Hi Tobias,
> 
> > 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/input21 instead! (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
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2008-06-15 17:12:38.000000000 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2008-06-08 18:33:22.000000000 +0200
@@ -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 },

Attachment: dsr-0112.conf
Description: Binary data

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux