[linux-dvb] [PATCH] Cablestar2 support

Antti Seppälä ajhseppa at niksula.hut.fi
Sat Jan 27 11:47:30 CET 2007


Antti Seppälä wrote:
> dvb wrote:
>> Hi
>> 
>> How to use this patch? I have TT-Budget ST STV0297 DVB-C and 
>> Cablestar2 cards and try to use them in same computer. Kernel 
>> 2.6.19
>> 
> 
> 
> Hi.
> 
> The patch was applied to the mercurial tree so I recommend you 
> install the drivers from there. Instructions for this are available 
> in the linuxtv.org DVB wiki: 
> http://www.linuxtv.org/wiki/index.php/How_to_install_DVB
> 
> 
> If you really want to manually patch your kernel source tree you 
> should download and extract kernel sources, copy-paste the patch from
>  my original email to a file, cd into your extracted kernel source 
> tree and type patch -p1 < cablestar-patch-file.patch
> 
> Then just configure, compile and install kernel normally.
> 

Oh and one more thing:

I've noticed that the i2c writes the unpatched kernel does to stv0297
frontend of Cablestar2 may make it go totally bonkers. Anything written
to it after the init sequence won't go through and reading any i2c
registers seem to just produce some random data.

This state won't even be cleared by a warm reboot, and a cold poweroff
cycle is required to really reset the card.

So if you've booted the vanilla kernel without my patch you must cycle
power before patched kernel detects the Cablestar correctly. After that
it will work perfectly.

This "feature" has bitten me and a few users of the patch so I thought
I'd mention about it.

- Antti




More information about the linux-dvb mailing list