[linux-dvb] Typhoon (KNC1 ?) COLD BOOT problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody,
I have an old Typhoon DVB-S card which has the same cold boot problem as the 
KNC1 which Chris Dietrich reported about in November  
( http://www.linuxtv.org/pipermail/linux-dvb/2005-November/005804.html ).
Currently I am running a stock 2.6.14.2 kernel with dvb modules from CVS on a 
Debian system. lspci identifies my dvb card correctly:

0000:00:09.0 0480: 1131:7146 (rev 01)
        Subsystem: 1131:4f56
        Flags: bus master, medium devsel, latency 64, IRQ 5
        Memory at cfffde00 (32-bit, non-prefetchable) [size=512]

After a cold boot (computer has to be switched off for longer than 2h) 
i2cdetect sees the card but cannot detect the tuner.

i2c-2   unknown   KNC1 DVB-S                        Algorithm unavailable
i2c-1   unknown   DC30[0]                           Algorithm unavailable
i2c-0   unknown   SiS96x SMBus adapter at 0x0c00    Algorithm unavailable
...
50: 50 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
70: XX XX XX XX XX XX XX XX

I have also tried the debian 2.6.12 kernel which Juergen Pfennig talked about.
After a cold boot as defined above (> 2h off) it also fails.
After a warm boot from kernel 2.4.27 with the Metzler driver i2cdetect
sees the stv0299 at 0x68:
...
50: 50 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
60: XX XX XX XX XX XX XX XX 68 XX XX XX XX XX XX XX
70: XX XX XX XX XX XX XX XX

The explanation for my problem seems relatively straightforward. After a cold 
boot as defined above the stv0299 does not respond at the 
SAA7146_I2C_BUS_BIT_RATE_120 used by the current driver.
When I use SAA7146_I2C_BUS_BIT_RATE_3200 as the Metzler driver does the 
frontend loads correctly but szap does not get a lock. I have also tried 
SAA7146_I2C_BUS_BIT_RATE_240 and SAA7146_I2C_BUS_BIT_RATE_480.
With these the Typhoon cold boots correctly and works properly.

It would be valuable to know wether this is a general problem of KNC1-S and 
old Typhoon-S cards or wether Chris and I have some odd problems.
To find out wether my measure works replace SAA7146_I2C_BUS_BIT_RATE_120 in
../linux/drivers/media/dvb/ttpci/budget-core.c, line 384 by e.g. 
SAA7146_I2C_BUS_BIT_RATE_480 or apply attached patch.
Regards
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typhoon-knc1-cold-boot.diff
Type: text/x-diff
Size: 4511 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20051205/d6ef10e3/typhoon-knc1-cold-boot.bin

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux