Hi, I have an old bt878 based analog card. It's 'Hauppauge WinTV Radio' model 44914, rev C121.
I'm trying to workout support for this shipped remote control. I have
tried to add
following lines to bttv-cards.c and bttv-input.c, but that gived
really bad results
(dmesg output is in attachment).
diff -r b6b82258cf5e linux/drivers/media/video/bt8xx/bttv-cards.c
--- a/linux/drivers/media/video/bt8xx/bttv-cards.c Thu Dec 31 19:14:54 2009
-0200
+++ b/linux/drivers/media/video/bt8xx/bttv-cards.c Tue Jan 05 13:25:09 2010
+0100
@@ -491,6 +491,7 @@
.pll = PLL_28,
.tuner_type = UNSET,
.tuner_addr = ADDR_UNSET,
+ .has_remote = 1,
},
[BTTV_BOARD_MIROPRO] = {
.name = "MIRO PCTV pro",
diff -r b6b82258cf5e linux/drivers/media/video/bt8xx/bttv-input.c
--- a/linux/drivers/media/video/bt8xx/bttv-input.c Thu Dec 31 19:14:54 2009
-0200
+++ b/linux/drivers/media/video/bt8xx/bttv-input.c Tue Jan 05 13:25:09 2010
+0100
@@ -341,6 +341,12 @@
ir->last_gpio = ir_extract_bits(bttv_gpio_read(&btv->c),
ir->mask_keycode);
break;
+ case BTTV_BOARD_HAUPPAUGE878:
+ ir_codes = &ir_codes_pctv_sedna_table;
+ ir->mask_keycode = 0;
+ ir->mask_keyup = 0;
+ //ir->polling = 50;
+ break;
}
if (NULL == ir_codes) {
dprintk(KERN_INFO "Ooops: IR config error [card=%d]\n",
btv->c.type);
r...@crni:~/v4l-dvb# modprobe bttv
Segmentation fault
r...@crni:~/v4l-dvb#
Message from sysl...@crni at Tue Jan 5 13:03:08 2010 ...
crni kernel: Oops: 0000 [#1] SMP
[...]
So I guess that's not going to work. I have read in
wiki that Hauppauge cards needs ir-kbd-i2c, so I tried with that too, but
then similar error like previous happens when I try 'modprobe ir-kbd-i2c debug=1
hauppauge=1' as well as just 'modprobe ir-kbd-i2c'.
Can I have a little pointer what to do?
Regards,
Samuel
--
Card: http://linuxtv.org/wiki/index.php/File:Wintv-radio-C121.jpg
Remote: http://linuxtv.org/wiki/index.php/File:Wintv-radio-remote.jpg
ir-dmesg
Description: Binary data
