[PATCH] add support for knc one dvb-s plus with 1894:0011

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Apparently there are two types of knc1 dvb-s plus cards with different tuners 
(as for the knc1 dvb-s ones). This patch adds support for those cards with 
subsystem id 1894:0011.

Signed-off-by: Christoph Pfister <christophpfister@xxxxxxxxx>
Successfully tested by: Benjamin Weber <benny1990@xxxxxxxxx>

Please find attached patch and dmesg output.

Christoph
diff -dNpru v4l-dvb-761f444947a2/linux/drivers/media/dvb/ttpci/budget-av.c v4l-dvb-761f444947a2-new/linux/drivers/media/dvb/ttpci/budget-av.c
--- v4l-dvb-761f444947a2/linux/drivers/media/dvb/ttpci/budget-av.c	2006-08-10 10:18:46.000000000 +0200
+++ v4l-dvb-761f444947a2-new/linux/drivers/media/dvb/ttpci/budget-av.c	2006-08-10 10:23:05.000000000 +0200
@@ -1096,6 +1096,7 @@ static void frontend_init(struct budget_
 	switch (saa->pci->subsystem_device) {
 
 	case SUBID_DVBS_KNC1:
+	case SUBID_DVBS_KNC1_PLUS:
 	case SUBID_DVBS_EASYWATCH_1:
 		if (saa->pci->subsystem_vendor == 0x1894) {
 			fe = dvb_attach(stv0299_attach, &cinergy_1200s_1894_0010_config,
@@ -1123,7 +1124,6 @@ static void frontend_init(struct budget_
 		}
 		break;
 
-	case SUBID_DVBS_KNC1_PLUS:
 	case SUBID_DVBS_TYPHOON:
 		fe = dvb_attach(stv0299_attach, &typhoon_config,
 				    &budget_av->budget.i2c_adap);
@@ -1401,6 +1401,7 @@ static struct pci_device_id pci_tbl[] = 
 	MAKE_EXTENSION_PCI(knc1s, 0x1131, 0x0010),
 	MAKE_EXTENSION_PCI(knc1s, 0x1894, 0x0010),
 	MAKE_EXTENSION_PCI(knc1sp, 0x1131, 0x0011),
+	MAKE_EXTENSION_PCI(knc1sp, 0x1894, 0x0011),
 	MAKE_EXTENSION_PCI(kncxs, 0x1894, 0x0014),
 	MAKE_EXTENSION_PCI(kncxs, 0x1894, 0x0016),
 	MAKE_EXTENSION_PCI(satewpls, 0x1894, 0x001e),
Linux video capture interface: v2.00
saa7146: register extension 'budget_av'.
ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 19 (level, low) -> IRQ 201
saa7146: found saa7146 @ mem ffffc200010e6000 (revision 1, irq 201) (0x1894,0x0011).
saa7146 (0): dma buffer size 192512
DVB: registering new adapter (KNC1 DVB-S Plus).
i2c_adapter i2c-0: adapter [KNC1 DVB-S Plus] registered
i2c-dev: adapter [KNC1 DVB-S Plus] registered as minor 0
i2c_adapter i2c-0: master_xfer[0] W, addr=0x50, len=1
i2c_adapter i2c-0: master_xfer[1] R, addr=0x50, len=20
adapter failed MAC signature check
encoded MAC from EEPROM was ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
saa7146_vv: saa7146 (0): registered device video0 [v4l2]
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x25, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x50, len=1
i2c_adapter i2c-0: master_xfer[1] R, addr=0x50, len=6
KNC1-0: MAC addr = 00:09:d6:6d:4c:4d
i2c_adapter i2c-0: master_xfer[0] W, addr=0x68, len=2
i2c_adapter i2c-0: master_xfer[0] W, addr=0x68, len=1
i2c_adapter i2c-0: master_xfer[1] R, addr=0x68, len=1
DVB: registering frontend 0 (ST STV0299 DVB-S)...
budget-av: ci interface initialised.
_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux