Re: en50221_tl_poll: CAWrite failed

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

 



> Am Mittwoch 02 Mai 2007 12:01 schrieb Simon Baxter:
> > > > > [root@media1 gnutv]# ./gnutv -cammenu
> > > > > en50221_tl_poll: CAWrite failed
> > > > > en50221_stdcam_llci_poll: Error reported by stack:-2
> > > >
> > > > It is indeed not flaky hardware as i wrote earlier. -2 is timeout.
It
> > > > is due to a bug in debiread/write
> > >
> > Which lines should I comment in dvb_ca_en50221.c   ???
> >
> > [root@media2 v4l-dvb]# find . | grep dvb_ca_en50221.c
> > ./linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
> > ./v4l/dvb_ca_en50221.c
>
> In dvb_ca_en50221_read_data outcomment this block:
>
> if (status & STATUSREG_RE) {
>                 ca->slot_info[slot].slot_state =
DVB_CA_SLOTSTATE_LINKINIT;
>                 status = -EIO;
>                 goto exit;
>         }
>
> and this one in dvb_ca_en50221_write_data:
>
> if (status & (STATUSREG_DA | STATUSREG_RE)) {
>                 status = -EAGAIN;
>                 goto exitnowrite;
>         }
>
> you might also try to outcomment this, also in dvb_ca_en50221_write_data:
>
> if (status & STATUSREG_WE) {
>                 ca->slot_info[slot].slot_state =
DVB_CA_SLOTSTATE_LINKINIT;
>                 status = -EIO;
>                 goto exit;
>         }
>
> Pleas keep in mind that this just disables some error checks. Actually for
me
> it solved some troubles.
>
> Regards,
> Julian

I made the above changes, but still get the error??

[root@media2 v4l-dvb]# gnutv -cammenu
en50221_tl_poll: CAWrite failed
en50221_stdcam_llci_poll: Error reported by stack:-2

Attachment: STATUSREG_RE.patch
Description: Binary data

_______________________________________________
linux-dvb mailing list
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