[linux-dvb] saa7146_i2c_writeout: timed out waiting for end of xfer

Sigmund Augdal sigmund at snap.tv
Wed Feb 13 15:48:21 CET 2008

tir, 17.07.2007 kl. 07.45 +0200, skrev Oliver Endriss:
> Oliver Endriss wrote:
> > Imho the interrupt processing was broken:
> > - The first I2C interrupt should be used to wake-up the task.
> >   It does not matter that it takes some time until ERR in IIC_STA
> >   will be updated. We don't need it.
> > - Interrupts must be acknowledged at the end of the ISR.
> > 
> > @all
> > Please test the attached patch.
> > There shouldn't be any unexpected I2C interrupts anymore.
> Attached is an updated patch which does extended status checking.
I've been running 2.6.20 + this patch on several boxes with several
TechnoTrend budget S-1500 cards for quite some time now and it seems
quite stable. However latly I have also tried some Technotrend T-1500
cards and some times I get messages like this:
saa7146_i2c_writeout: unexpected i2c status 0021
Normally I get a single message like that right after the firmware
upload to the frontend is completed, and that seems to cause no
problems, but other times I get it at other times (for insance during
the firmware upload). And some times I get streams of these (mixed with
status 0009 and 0011) coming repeatedly during some operations.

I tried installing latest hg v4l-dvb (without any changes) on one of
these boxes and there are no such messages then, however the same
problems seem to arise just with fewer error messages. And I get this
saa7146 (5) saa7146_i2c_writeout [irq]: timed out waiting for end of

It seems the problems is not strickly limited to the frontend
communications. Trying for instance to communicate with the CAM can
increase the amount of error messages. 


Sigmund Augdal

> CU
> Oliver
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

More information about the linux-dvb mailing list