public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] Need help getting the remote of a Nova-T USB-Stick to work
@ 2008-09-26 17:18 Oliver Kleinecke
  2008-09-26 17:27 ` Devin Heitmueller
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Kleinecke @ 2008-09-26 17:18 UTC (permalink / raw)
  To: linux-dvb

[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]

Hi all !

I just got my iBook G4 running on Debian Etch 4.0 (PPC Archtitecture!!)

Everything works fine, now im trying to get my Nova-T USB-Stick Remote to work.

I compiled the latest stable v4l-dvb-drivers, everything worked fine, and i`m able to watch tv with kaffeine and mythtv already.
Now i would like to get the remote to work .. the ir-receiver shows up during boot, giving the following ouput :

"kernel: input: IR-receiver inside an USB DVB receiver as /class/input/input7".

If i do a lsinput, the device shows up like this :

/dev/input/event7
   bustype : BUS_USB
   vendor  : 0x2040
   product : 0x7070
   version : 256
   name    : "IR-receiver inside an USB DVB re"
   phys    : "usb-0001:10:1b.2-1/ir0"
   bits ev : EV_SYN EV_KEY


so i`m pretty sure i am not toooo far away from the solution.

but if i press a button on the rc, it just gives me kernel messages like this :

"kernel: dib0700: Unknown remote controller key: 1D  2  0  0"


After a bit of googling, i found out, that there seems to be a solution, using a diff file, which i downloaded already, its attached to this mail.

Now i need a bit of support in using this diff-file correctly, and some infos on how to continue then..

Any help is very appreciated :)

Thx in advance, Oliver








_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114


[-- Attachment #2: attachment.diff --]
[-- Type: text/x-diff, Size: 1477 bytes --]

--- 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 #3: Type: text/plain, Size: 150 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-dvb] Need help getting the remote of a Nova-T USB-Stick to work
  2008-09-26 17:18 [linux-dvb] Need help getting the remote of a Nova-T USB-Stick to work Oliver Kleinecke
@ 2008-09-26 17:27 ` Devin Heitmueller
  0 siblings, 0 replies; 3+ messages in thread
From: Devin Heitmueller @ 2008-09-26 17:27 UTC (permalink / raw)
  To: Oliver Kleinecke; +Cc: linux-dvb

2008/9/26 Oliver Kleinecke <okleinecke@web.de>:
> I compiled the latest stable v4l-dvb-drivers, everything worked fine, and i`m able to watch tv with kaffeine and mythtv already.
> Now i would like to get the remote to work .. the ir-receiver shows up during boot, giving the following ouput :
>
> "kernel: input: IR-receiver inside an USB DVB receiver as /class/input/input7".
>
> If i do a lsinput, the device shows up like this :
>
> /dev/input/event7
>   bustype : BUS_USB
>   vendor  : 0x2040
>   product : 0x7070
>   version : 256
>   name    : "IR-receiver inside an USB DVB re"
>   phys    : "usb-0001:10:1b.2-1/ir0"
>   bits ev : EV_SYN EV_KEY
>
>
> so i`m pretty sure i am not toooo far away from the solution.
>
> but if i press a button on the rc, it just gives me kernel messages like this :
>
> "kernel: dib0700: Unknown remote controller key: 1D  2  0  0"
>
>
> After a bit of googling, i found out, that there seems to be a solution, using a diff file, which i downloaded already, its attached to this mail.
>
> Now i need a bit of support in using this diff-file correctly, and some infos on how to continue then..

That patch looks pretty straightforward.  Where did it come from?
Have you tried it out:

cd v4l-dvb
patch -p0 < path_to_patch_file
make
make install
reboot
See if it works...

(or you might have to do "patch -p1", depending on the patch)

If it works for you, it can be checked in so others won't have to deal
with the problem in the future.

Devin

-- 
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-dvb] Need help getting the remote of a Nova-T USB-Stick to work
@ 2008-09-27  1:09 Oliver Kleinecke
  0 siblings, 0 replies; 3+ messages in thread
From: Oliver Kleinecke @ 2008-09-27  1:09 UTC (permalink / raw)
  To: linux-dvb

> -----Ursprüngliche Nachricht-----
> Von: "Devin Heitmueller" <devin.heitmueller@gmail.com>
> Gesendet: 26.09.08 19:27:52
> An: "Oliver Kleinecke" <okleinecke@web.de>
> CC: linux-dvb@linuxtv.org
> Betreff: Re: [linux-dvb] Need help getting the remote of a Nova-T USB-Stick to work


> 2008/9/26 Oliver Kleinecke <okleinecke@web.de>:
> > I compiled the latest stable v4l-dvb-drivers, everything worked fine, and i`m able to watch tv with kaffeine and mythtv already.
> > Now i would like to get the remote to work .. the ir-receiver shows up during boot, giving the following ouput :
> >
> > "kernel: input: IR-receiver inside an USB DVB receiver as /class/input/input7".
> >
> > If i do a lsinput, the device shows up like this :
> >
> > /dev/input/event7
> >   bustype : BUS_USB
> >   vendor  : 0x2040
> >   product : 0x7070
> >   version : 256
> >   name    : "IR-receiver inside an USB DVB re"
> >   phys    : "usb-0001:10:1b.2-1/ir0"
> >   bits ev : EV_SYN EV_KEY
> >
> >
> > so i`m pretty sure i am not toooo far away from the solution.
> >
> > but if i press a button on the rc, it just gives me kernel messages like this :
> >
> > "kernel: dib0700: Unknown remote controller key: 1D  2  0  0"
> >
> >
> > After a bit of googling, i found out, that there seems to be a solution, using a diff file, which i downloaded already, its attached to this mail.
> >
> > Now i need a bit of support in using this diff-file correctly, and some infos on how to continue then..
> 
> That patch looks pretty straightforward.  Where did it come from?
> Have you tried it out:
> 
> cd v4l-dvb
> patch -p0 < path_to_patch_file
> make
> make install
> reboot
> See if it works...
> 
> (or you might have to do "patch -p1", depending on the patch)
> 
> If it works for you, it can be checked in so others won't have to deal
> with the problem in the future.
> 
> Devin
> 
> -- 
> Devin J. Heitmueller
> http://www.devinheitmueller.com
> AIM: devinheitmueller
> 

Hi, thanks for the fast answer !

After patching, recompile + install it works now.
At first i had the problem that the system reacted as if i pressed the rc-button constantly, when i just pressed it once, but after a fresh install of my etch (i think i messed up my system a bit before), it now works perfectly.

I found this diff file in the following thread : http://mandrihinkvauser.de/viewtopic.php?id=22141

Thanks, Oliver

PS : While trying to compile the drivers, i always get an error concerning the file "af9015.c" in the dvb-usb drivers section. Since i don` t need this module, i could easily compile the driver using "make -i", but there seem to be some errors in the case-structur in lines 747 and following of the mentioned file.

_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-27  1:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-26 17:18 [linux-dvb] Need help getting the remote of a Nova-T USB-Stick to work Oliver Kleinecke
2008-09-26 17:27 ` Devin Heitmueller
  -- strict thread matches above, loose matches on Subject: below --
2008-09-27  1:09 Oliver Kleinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox