From: Oliver Kleinecke <okleinecke@web.de>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] Need help getting the remote of a Nova-T USB-Stick to work
Date: Fri, 26 Sep 2008 19:18:58 +0200 [thread overview]
Message-ID: <1959297291@web.de> (raw)
[-- 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
next reply other threads:[~2008-09-26 17:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 17:18 Oliver Kleinecke [this message]
2008-09-26 17:27 ` [linux-dvb] Need help getting the remote of a Nova-T USB-Stick to work Devin Heitmueller
-- strict thread matches above, loose matches on Subject: below --
2008-09-27 1:09 Oliver Kleinecke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1959297291@web.de \
--to=okleinecke@web.de \
--cc=linux-dvb@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.