Skip to contentSkip to conversation

FreeX / NoZap CI Module

linux-dvb [email protected] 1 participant 1 message Jan 13, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

here is an dirty hack to get my FreeX / NoZap (aka. Joker CAM) module working on my S2-3200. It may also work with other  (newer) budget_ci design based cards.

The problem was the CAM never reports STATUSREG_FR and the driver will time out @ DVB_CA_SLOTSTATE_WAITFR.

linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c +1 -1
diff -Naur a/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c b/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
@@ -1084,7 +1084,7 @@
 				if (time_after(jiffies, ca->slot_info[slot].timeout)) {
 					printk("dvb_ca adapter %d: DVB CAM did not respond :(\n",
 					       ca->dvbdev->adapter->num);
-					ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_INVALID;
+					ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_LINKINIT;
 					dvb_ca_en50221_thread_update_delay(ca);
 					break;
 				}
v4l/dvb_ca_en50221.c +1 -1
diff -Naur a/v4l/dvb_ca_en50221.c b/v4l/dvb_ca_en50221.c
@@ -1084,7 +1084,7 @@
 				if (time_after(jiffies, ca->slot_info[slot].timeout)) {
 					printk("dvb_ca adapter %d: DVB CAM did not respond :(\n",
 					       ca->dvbdev->adapter->num);
-					ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_INVALID;
+					ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_LINKINIT;
 					dvb_ca_en50221_thread_update_delay(ca);
 					break;
 				}

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb