Re: [linux-dvb] 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: STATUSREG_RE.patch
Type: application/octet-stream
Size: 2179 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20070503/d96f8bd9/STATUSREG_RE.obj

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux