[linux-dvb] only one read access to cx88-devices possible
Oliver Endriss
o.endriss at gmx.de
Thu Aug 23 01:21:21 CEST 2007
Fabian Förg wrote:
> Hello,
>
> I realized that only one read access is possible to devices that use the
> cx88 driver.
> In my case it is a Hauppauge WinTV Nova-S-Plus DVB-S card.
> You can reproduce it with the following test:
> Launch femon concurrently two or more times. Only one femon is able to
> read from the card.
> Oliver Endriss confirmed that bug after looking in cx88-dvb.c.
> Usually, only one write access but an arbitrary amount of read accesses
> should be allowed.
Basically it's a bug in dvb_frontend.
ts_bus_ctrl() should only be called by
- the first open
- the last release
call.
Please try the attached patch.
@all:
Ok?
CU
Oliver
--
----------------------------------------------------------------
VDR Remote Plugin 0.3.9: http://www.escape-edv.de/endriss/vdr/
----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvb_frontend_ts_bus_ctrl_fix2.diff
Type: text/x-diff
Size: 1971 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070823/430d2dfe/attachment.diff
More information about the linux-dvb
mailing list