From: andrzej z. <ba...@gm...> - 2006-09-11 13:37:38
|
Hi, I have a stir 4200 dongle which doesn't work with the driver from the kernel. The chip does have a SigmaTel logo on it and looks genuine. Infrared data seems to be received correctly but nothing meaningfull is being emitted. It turns out that the FIFOCTL register always has the RXERR bit set when the driver reads it so the loop in fifo_txwait() exits immediately and no delay between TX bytes occurs, so the data comes out all garbled. I made a small change in the loop to make it keep waiting despite RXERR or TXERR and IrDA frames can now be sent and received correctly. The errors are still reported, they just don't interrupt the loop. If you have a stir4200 that doesn't seem to work under Linux, please try the attached patch. Maybe if it fixes the problem for more persons, something like it should be merged. Regards, Andrew -- balrog 2oo6 |