Mailing List archive

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

[linux-dvb] Re: AirStar2 probs with the CVS drivers



Janne Liimatainen wrote:
> 
> trying to get the Technisat Airstar2 to work...
> It's basically a skystar2 with the Samsung tuner.
> CVS was today's version.
> 
> # modprobe mt352 debug=1 force_card=0x02
> # modprobe skystar2
> # dmesg|tail -10
> drivers/media/dvb/b2c2/skystar2.c: FlexCopIIB(rev.195) chip found
> drivers/media/dvb/b2c2/skystar2.c: the chip has 38 hardware filters
> DVB: registering new adapter (Technisat SkyStar2 driver).
> flexcop_i2c_func
> dvbfe_mt352: Trying to attach to adapter 0x10000:Technisat SkyStar2 driver.
> mt352_read_register: readreg error (ret == -22)
> 
> Seems to be an i2c read that errors out for some reason. It this perhaps 
> related to the i2c work done lately? Googleing for this didn't help me 
> much.

I'd say there's a bug in mt352.c:mt352_attach_adapter():
mt352_read_register(i2c, CHIP_ID) is done with card_type
still set to -1. It surprises me that it doesn't Oops.

An (untested) fix is in CVS.

Johannes




Home | Main Index | Thread Index