Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: first version of budget-ci implementation
> If you get any ideas you know where to find me, otherwise we'll wait and
> see what kind of results other testers get (Carlo perhaps), and I'll see
> if I can check the hardware on Windows. Thanks for your efforts so far!
> It's very much appreciated.
Actually, please ignore dvb-en50221-ignoretimeout4.patch, and try this one
instead if you have a moment. This one disables all checks for errors in the
read/write functions; maybe the CAM doesn't quite meet the standard during
the link init. I'd appreciate another dmesg for this one if possible.
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.2
diff -r1.2 dvb_ca_en50221.c
275a276
> printk("STATUS: %x\n", res);
281a283
> printk("STATUS: %x\n", res);
315a318,319
> printk("PRESTATUS: %x\n", ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS));
>
319a324,327
> dvb_delay(100);
> ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, 0);
> dvb_delay(100);
>
326c334,335
< if ((ret = dvb_ca_en50221_wait_if_status(ca, slot, STATUSREG_DA, HZ/10)) != 0) return ret;
---
> // if ((ret = dvb_ca_en50221_wait_if_status(ca, slot, STATUSREG_DA, HZ/10)) != 0) return ret;
> dvb_ca_en50221_wait_if_status(ca, slot, STATUSREG_DA, HZ/10);
331a341
> printk("CAM SENT BUF SIZE: %i\n", buf_size)
340c350,351
< if ((ret = dvb_ca_en50221_wait_if_status(ca, slot, STATUSREG_FR, HZ/10)) != 0) return ret;
---
> // if ((ret = dvb_ca_en50221_wait_if_status(ca, slot, STATUSREG_FR, HZ/10)) != 0) return ret;
> dvb_ca_en50221_wait_if_status(ca, slot, STATUSREG_FR, HZ/10);
580,582c591,593
< ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_LINKINIT;
< status = -EIO;
< goto exit;
---
> // ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_LINKINIT;
> // status = -EIO;
> // goto exit;
586,587c597,598
< status = 0;
< goto exit;
---
> // status = 0;
> // goto exit;
683,685c694,696
< ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_LINKINIT;
< status = -EIO;
< goto exitnowrite;
---
> // ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_LINKINIT;
> // status = -EIO;
> // goto exitnowrite;
690,691c701,702
< status = -EAGAIN;
< goto exitnowrite;
---
> // status = -EAGAIN;
> // goto exitnowrite;
1039a1051
> dvb_delay(1000);
Home |
Main Index |
Thread Index