* [linux-dvb] [PATCH] Add suport for AverMedia Volar X remote
@ 2008-11-03 21:11 Jose Alberto Reguero
2008-11-04 13:12 ` Antti Palosaari
0 siblings, 1 reply; 5+ messages in thread
From: Jose Alberto Reguero @ 2008-11-03 21:11 UTC (permalink / raw)
To: linux-dvb; +Cc: Antti Palosaari
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
This patch add support for AverMedia Volar X remote.
Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Jose Alberto
[-- Attachment #2: af9015.diff --]
[-- Type: text/x-patch, Size: 4221 bytes --]
diff -r 55f8fcf70843 linux/drivers/media/dvb/dvb-usb/af9015.c
--- a/linux/drivers/media/dvb/dvb-usb/af9015.c Thu Oct 30 08:07:44 2008 +0000
+++ b/linux/drivers/media/dvb/dvb-usb/af9015.c Mon Nov 03 22:08:27 2008 +0100
@@ -806,6 +806,16 @@
ARRAY_SIZE(af9015_ir_table_msi);
}
break;
+ case USB_VID_AVERMEDIA:
+ af9015_properties[i].rc_key_map =
+ af9015_rc_keys_avermedia;
+ af9015_properties[i].rc_key_map_size =
+ ARRAY_SIZE(af9015_rc_keys_avermedia);
+ af9015_config.ir_table =
+ af9015_ir_table_avermedia;
+ af9015_config.ir_table_size =
+ ARRAY_SIZE(af9015_ir_table_avermedia);
+ break;
}
}
}
diff -r 55f8fcf70843 linux/drivers/media/dvb/dvb-usb/af9015.h
--- a/linux/drivers/media/dvb/dvb-usb/af9015.h Thu Oct 30 08:07:44 2008 +0000
+++ b/linux/drivers/media/dvb/dvb-usb/af9015.h Mon Nov 03 22:08:27 2008 +0100
@@ -521,4 +521,80 @@
0x86, 0x6b, 0x23, 0xdc, 0x45, 0x07, 0x00,
};
+/* AverMedia Volar X */
+static struct dvb_usb_rc_key af9015_rc_keys_avermedia[] = {
+ { 0x05, 0x3d, KEY_PROG1 }, /* SOURCE */
+ { 0x05, 0x12, KEY_POWER }, /* POWER */
+ { 0x05, 0x1e, KEY_1 }, /* 1 */
+ { 0x05, 0x1f, KEY_2 }, /* 2 */
+ { 0x05, 0x20, KEY_3 }, /* 3 */
+ { 0x05, 0x21, KEY_4 }, /* 4 */
+ { 0x05, 0x22, KEY_5 }, /* 5 */
+ { 0x05, 0x23, KEY_6 }, /* 6 */
+ { 0x05, 0x24, KEY_7 }, /* 7 */
+ { 0x05, 0x25, KEY_8 }, /* 8 */
+ { 0x05, 0x26, KEY_9 }, /* 9 */
+ { 0x05, 0x3f, KEY_LEFT }, /* L / DISPLAY */
+ { 0x05, 0x27, KEY_0 }, /* 0 */
+ { 0x05, 0x0f, KEY_RIGHT }, /* R / CH RTN */
+ { 0x05, 0x18, KEY_PROG2 }, /* SNAP SHOT */
+ { 0x05, 0x1c, KEY_PROG3 }, /* 16-CH PREV */
+ { 0x05, 0x2d, KEY_VOLUMEDOWN }, /* VOL DOWN */
+ { 0x05, 0x3e, KEY_ZOOM }, /* FULL SCREEN */
+ { 0x05, 0x2e, KEY_VOLUMEUP }, /* VOL UP */
+ { 0x05, 0x10, KEY_MUTE }, /* MUTE */
+ { 0x05, 0x04, KEY_AUDIO }, /* AUDIO */
+ { 0x05, 0x15, KEY_RECORD }, /* RECORD */
+ { 0x05, 0x11, KEY_PLAY }, /* PLAY */
+ { 0x05, 0x16, KEY_STOP }, /* STOP */
+ { 0x05, 0x0c, KEY_PLAYPAUSE }, /* TIMESHIFT / PAUSE */
+ { 0x05, 0x05, KEY_BACK }, /* << / RED */
+ { 0x05, 0x09, KEY_FORWARD }, /* >> / YELLOW */
+ { 0x05, 0x17, KEY_TEXT }, /* TELETEXT */
+ { 0x05, 0x0a, KEY_EPG }, /* EPG */
+ { 0x05, 0x13, KEY_MENU }, /* MENU */
+
+ { 0x05, 0x0e, KEY_CHANNELUP }, /* CH UP */
+ { 0x05, 0x0d, KEY_CHANNELDOWN }, /* CH DOWN */
+ { 0x05, 0x19, KEY_FIRST }, /* |<< / GREEN */
+ { 0x05, 0x08, KEY_LAST }, /* >>| / BLUE */
+};
+
+static u8 af9015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
+ 0x02, 0xfd, 0x1b, 0xe4, 0x16, 0x05, 0x00,
+ 0x02, 0xfd, 0x1c, 0xe3, 0x09, 0x05, 0x00,
+ 0x02, 0xfd, 0x1d, 0xe2, 0x05, 0x05, 0x00,
+ 0x02, 0xfd, 0x1e, 0xe1, 0x2d, 0x05, 0x00,
+ 0x02, 0xfd, 0x1f, 0xe0, 0x2e, 0x05, 0x00,
+ 0x03, 0xfc, 0x00, 0xff, 0x08, 0x05, 0x00,
+ 0x03, 0xfc, 0x01, 0xfe, 0x19, 0x05, 0x00,
+ 0x03, 0xfc, 0x02, 0xfd, 0x0d, 0x05, 0x00,
+ 0x03, 0xfc, 0x03, 0xfc, 0x0e, 0x05, 0x00,
+};
+
#endif
[-- 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] 5+ messages in thread* Re: [linux-dvb] [PATCH] Add suport for AverMedia Volar X remote 2008-11-03 21:11 [linux-dvb] [PATCH] Add suport for AverMedia Volar X remote Jose Alberto Reguero @ 2008-11-04 13:12 ` Antti Palosaari 2008-11-04 15:14 ` [linux-dvb] Nova-TD and I2C read/write failed petercarm 0 siblings, 1 reply; 5+ messages in thread From: Antti Palosaari @ 2008-11-04 13:12 UTC (permalink / raw) To: Jose Alberto Reguero; +Cc: linux-dvb Jose Alberto Reguero wrote: > This patch add support for AverMedia Volar X remote. > > Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net> > > Jose Alberto Thank you! I will add this my tree and send PULL-request soon. regards Antti -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 5+ messages in thread
* [linux-dvb] Nova-TD and I2C read/write failed 2008-11-04 13:12 ` Antti Palosaari @ 2008-11-04 15:14 ` petercarm 2008-11-04 15:24 ` Devin Heitmueller [not found] ` <e28a31000811040730qef2d86bsf04cc389c3800c1e@mail.gmail.com> 0 siblings, 2 replies; 5+ messages in thread From: petercarm @ 2008-11-04 15:14 UTC (permalink / raw) To: linux-dvb My build is gentoo with 2.6.25 kernel and mercurial V4L using dvb-usb-dib0700-1.10.fw The Hauppauge Nova-TD USB stick shows a USB ID of 2040:5200. The card works for a few hours and then floods dmesg with "DiB0070 I2C write failed" messages. I've found plenty of passing references to this problem, but what do I need to do to get this working? Do I need to change to the 1.20 firmware? Where does dib0700_new_i2c_api.patch exist? It is mentioned on the wiki but I haven't been able to find it anywhere. _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] Nova-TD and I2C read/write failed 2008-11-04 15:14 ` [linux-dvb] Nova-TD and I2C read/write failed petercarm @ 2008-11-04 15:24 ` Devin Heitmueller [not found] ` <e28a31000811040730qef2d86bsf04cc389c3800c1e@mail.gmail.com> 1 sibling, 0 replies; 5+ messages in thread From: Devin Heitmueller @ 2008-11-04 15:24 UTC (permalink / raw) To: linuxtv; +Cc: linux-dvb On Tue, Nov 4, 2008 at 10:14 AM, petercarm <linuxtv@hotair.fastmail.co.uk> wrote: > My build is gentoo with 2.6.25 kernel and mercurial V4L using > dvb-usb-dib0700-1.10.fw The Hauppauge Nova-TD USB stick shows a USB ID > of 2040:5200. > > The card works for a few hours and then floods dmesg with "DiB0070 I2C > write failed" messages. > > I've found plenty of passing references to this problem, but what do I > need to do to get this working? > > Do I need to change to the 1.20 firmware? > > Where does dib0700_new_i2c_api.patch exist? It is mentioned on the wiki > but I haven't been able to find it anywhere. > > _______________________________________________ > linux-dvb mailing list > linux-dvb@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb > Hello Peter, The new i2c API is merged into the v4l-dvb mainline, so there is no need for a patch. Also, the mainline requires 1.20 firmware, although it turns out the remote control support is broken (Patrick and myself are actively investigating this issue). It would be worthwhile for you to update to the lastest v4l-dvb tree and see if your situation improves. 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] 5+ messages in thread
[parent not found: <e28a31000811040730qef2d86bsf04cc389c3800c1e@mail.gmail.com>]
* Re: [linux-dvb] Nova-TD and I2C read/write failed [not found] ` <e28a31000811040730qef2d86bsf04cc389c3800c1e@mail.gmail.com> @ 2008-11-04 15:40 ` petercarm 0 siblings, 0 replies; 5+ messages in thread From: petercarm @ 2008-11-04 15:40 UTC (permalink / raw) To: linux-dvb Thanks for the quick replies. I'll give that a try. On Tue, 4 Nov 2008 15:30:22 +0000, "Greg Thomas" <Greg@thethomashome.co.uk> said: > 2008/11/4 petercarm <linuxtv@hotair.fastmail.co.uk> > > > My build is gentoo with 2.6.25 kernel and mercurial V4L using > > dvb-usb-dib0700-1.10.fw The Hauppauge Nova-TD USB stick shows a USB ID > > of 2040:5200. > > > > The card works for a few hours and then floods dmesg with "DiB0070 I2C > > write failed" messages. > > > > I've found plenty of passing references to this problem, but what do I > > need to do to get this working? > > > > Do I need to change to the 1.20 firmware? > > > > FWIW, I suffered from the same problem, and found that simply blatting > the > 1.20 firmware from > http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-TD-Stick#Firmwareover > the 1.10 firmware solved it for me. > > Greg _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-11-04 15:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03 21:11 [linux-dvb] [PATCH] Add suport for AverMedia Volar X remote Jose Alberto Reguero
2008-11-04 13:12 ` Antti Palosaari
2008-11-04 15:14 ` [linux-dvb] Nova-TD and I2C read/write failed petercarm
2008-11-04 15:24 ` Devin Heitmueller
[not found] ` <e28a31000811040730qef2d86bsf04cc389c3800c1e@mail.gmail.com>
2008-11-04 15:40 ` petercarm
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox