[linux-dvb] [PATCH, RFC] KWorld ATSC-115 detection
Eric Sandeen
sandeen at sandeen.net
Wed Oct 3 00:22:47 CEST 2007
Michael Krufky wrote:
> Eric,
> You can remove every hunk of your patch except for the one above, but
> instead link that subsystem ID to SAA7134_BOARD_KWORLD_ATSC110 ...
> The two cards are the same, as far as the driver is concerned.
> Will you be able to test ATSC, QAM and NTSC?
> Cheers,
> Mike
>
>
Hi Mike -
How's this; I changed the name string too, to say "110/115"
(BTW it's unfortunate that the udev strings get truncated; I haven't yet
looked to see where the 32-char limit is at)
looking at device '/class/video4linux/video1':
KERNEL=="video1"
SUBSYSTEM=="video4linux"
SYSFS{name}=="saa7133_0_ video _Kworld ATSC11"
SYSFS{dev}=="81:1"
....
Anyway, patch:
-------------------------------------
Recognize the KWorld ATSC115 PCI ID as a hardware clone
of the ATSC110.
Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
Index: v4l-dvb/linux/Documentation/video4linux/CARDLIST.saa7134
===================================================================
--- v4l-dvb.orig/linux/Documentation/video4linux/CARDLIST.saa7134
+++ v4l-dvb/linux/Documentation/video4linux/CARDLIST.saa7134
@@ -88,7 +88,7 @@
87 -> ADS Instant TV Duo Cardbus PTV331 [0331:1421]
88 -> Tevion/KWorld DVB-T 220RF [17de:7201]
89 -> ELSA EX-VISION 700TV [1048:226c]
- 90 -> Kworld ATSC110 [17de:7350]
+ 90 -> Kworld ATSC110/115 [17de:7350,17de:7352]
91 -> AVerMedia A169 B [1461:7360]
92 -> AVerMedia A169 B1 [1461:6360]
93 -> Medion 7134 Bridge #2 [16be:0005]
Index: dvb-pll/linux/drivers/media/video/saa7134/saa7134-cards.c
===================================================================
--- v4l-dvb.orig/linux/drivers/media/video/saa7134/saa7134-cards.c
+++ v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c
@@ -2820,7 +2820,7 @@ struct saa7134_board saa7134_boards[] =
},
},
[SAA7134_BOARD_KWORLD_ATSC110] = {
- .name = "Kworld ATSC110",
+ .name = "Kworld ATSC110/115",
.audio_clock = 0x00187de7,
.tuner_type = TUNER_PHILIPS_TUV1236D,
.radio_type = UNSET,
@@ -4121,6 +4121,12 @@ struct pci_device_id saa7134_pci_tbl[] =
.driver_data = SAA7134_BOARD_KWORLD_ATSC110,
},{
.vendor = PCI_VENDOR_ID_PHILIPS,
+ .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
+ .subvendor = 0x17de,
+ .subdevice = 0x7352,
+ .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
+ },{
+ .vendor = PCI_VENDOR_ID_PHILIPS,
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
.subvendor = 0x1461,
.subdevice = 0x7360,
More information about the linux-dvb
mailing list