[linux-dvb] Possible bug in dib0700_core.c i2c transfer function

Nicolas Will nico at youplala.net
Thu Aug 14 21:57:46 CEST 2008


On Thu, 2008-08-14 at 14:57 -0400, Devin Heitmueller wrote:
> Sent this to Patrick Boettcher last week and didn't hear anything
> back.  Figured it might be worth sending to the list to see if anyone
> else had any ideas:
> 
> ---
> 
> I have been doing some work on the Pinnacle PCTV HD Pro USB Stick,
> which uses the dib0700/s5h1411/xc5000 combination.  I'm making good
> progress but I think I might have run into a bug.
> 
> The dib0700_i2c_xfer() function appears to have a problem where it
> converts i2c read calls into i2c write calls in certain cases.  In
> particular, if you send a single i2c read message, the function always
> treats it as a write request.

I, for one, am very interested in this.

I cannot code or really understand the details, but could this explain
the more or less regular i2c read failures or even write failures
eventually leading to device lock-ups that we are still experiencing if
we are a bit too agressive?

Nico




More information about the linux-dvb mailing list