Mailing List archive

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

[linux-dvb] Matrix reloaded Cam working with NOVA-CI !



Hi,
  
  We've got a WinTV-NOVA-CI with a matrix reloaded cam card, the cam didn't work
  at first. After some digging (adjust timeouts and stuff like that), i noticed
  that the card was never reset during the initialisation. Adding a reset
  made the card work :). Patch for this is attached.

  Unfortunately loading the dvb-core.ko without dvb_ca_en50221_debug=1 hangs
  the kernel. And i don't know enough about this stuff to really debug that.
  Alse the location where i added the reset is probably also not really 
  ``correct''

  Sjoerd
-- 
Philosophy will clip an angel's wings.
		-- John Keats
Index: linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c,v
retrieving revision 1.10
diff -c -u -r1.10 dvb_ca_en50221.c
--- linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c	14 May 2004 16:54:27 -0000	1.10
+++ linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c	21 Jul 2004 08:37:35 -0000
@@ -402,6 +402,8 @@
         u16 devid = 0;
 
 
+        if ((status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, CMDREG_RS)) != 0) return status;
+
         // CISTPL_DEVICE_0A
         if ((status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tupleType, &tupleLength, tuple)) < 0) return status;
         if (tupleType != 0x1D) return -EINVAL;

Home | Main Index | Thread Index