Re: CableStar 2: STV02970(_cs2) & B2C2-Flexcop-IIB

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

 



Hello.

Thanks a lot for your answer.

There was an issue for CS2 ?
It's about the flexcop IC or the stv0297 tuner ?
(because stv tuner is used in TT-C2300 DVB-C card ?, and flexcop IC in a lot of DVB-S cards )

I have tested with this Cvs repository, and it's the same thing: the tuner is not detected. (compiled outside a kernel, with a kernel 2.6.17 installed)

I am not under 64 bits Cpu.
I can install any other kernel if it's necessary.

I think I have problem to read the R100 register.

I have this message about the flexcop version,
"kernel: b2c2-flexcop: unkown FlexCop Revision: f. Please report the linux-dvb@xxxxxxxxxxxx
", so I have forced the rev arg with "fc->rev = FLEXCOP_IIB"
(this is the chip on the card)

I have modified source to include debug messages,
and after loading all drivers
"
...
kernel: b2c2-flexcop: TESTING stv0297_cs2_attach
kernel: flexcop_i2c_request RorW op= 1
kernel: flexcop_i2c_operation: r100 before: 1300801c
kernel: flexcop_i2c_operation: INIT I2C: Begin 2 writes
kernel: flexcop_pci_write_ibi_reg: new write(reg,val): 100: 00000000
kernel: flexcop_pci_write_ibi_reg: new write(reg,val): 100: 1300801c
kernel: flexcop_i2c_operation: INIT I2C: END
kernel: flexcop_i2c_operation: before READ tw_sm_c_100
kernel: >flexcop_pci_read_ibi_reg: BEGIN io_mem=d096a000: r=00000100
kernel: >flexcop_pci_read_ibi_reg: END, read(reg,val): 100: ffffffff
kernel: flexcop_i2c_operation: after READ tw_sm_c_100
kernel: flexcop_i2c_operation: read tw_sm_c_100 FAILED, return -EREMOTEIO
kernel: flexcop_i2c_operation: ------------------------------------------
kernel: flexcop_i2c_operation: r100 before: 5300801c
kernel: flexcop_i2c_operation: INIT I2C: Begin 2 writes
kernel: flexcop_pci_write_ibi_reg: new write(reg,val): 100: 00000000
kernel: flexcop_pci_write_ibi_reg: new write(reg,val): 100: 5300801c
kernel: flexcop_i2c_operation: INIT I2C: END
kernel: flexcop_i2c_operation: before READ tw_sm_c_100
kernel: >flexcop_pci_read_ibi_reg: BEGIN io_mem=d096a000: r=00000100
kernel: >flexcop_pci_read_ibi_reg: END, read(reg,val): 100: ffffffff
kernel: flexcop_i2c_operation: after READ tw_sm_c_100
kernel: flexcop_i2c_operation: read tw_sm_c_100 FAILED, return -EREMOTEIO
kernel: flexcop_i2c_operation: ------------------------------------------
kernel: flexcop_i2c_read4: no_base_addr read failed. -121
kernel: b2c2-flexcop: flexcop_master_xfer: i2c master_xfer failed
kernel: stv0297_readregsI: readreg error (reg == 0x80, ret == -121)
kernel: b2c2-flexcop: no frontend driver found for this B2C2/FlexCop adapter
k7host kernel: deinitialized dvb stuff
k7host kernel: ACPI: PCI interrupt for device 0000:00:0a.0 disabled
"

Also, I can't read the mac address,
but read/write access to other register seems to work :

"
..snip..
kernel: >flexcop_pci_read_ibi_reg: BEGIN io_mem=d0abe000: r=0000071c
kernel: >flexcop_pci_read_ibi_reg: END, read(reg,val): 71c: ffffffff
kernel: >flexcop_pci_read_ibi_reg: NEW!! read(reg,val): 71c: ffffffff
kernel: flexcop_pci_write_ibi_reg: new write(reg,val): 71c: fffdffff
kernel: >flexcop_pci_read_ibi_reg: BEGIN io_mem=d0abe000: r=00000300
kernel: >flexcop_pci_read_ibi_reg: END, read(reg,val): 300: ffffffff
kernel: >flexcop_pci_read_ibi_reg: NEW!! read(reg,val): 300: ffffffff
kernel: >flexcop_pci_read_ibi_reg: BEGIN io_mem=d0abe000: r=00000208
kernel: >flexcop_pci_read_ibi_reg: END, read(reg,val): 208: ffffffff
kernel: >flexcop_pci_read_ibi_reg: NEW!! read(reg,val): 208: ffffffff
kernel: flexcop_pci_write_ibi_reg: new write(reg,val): 300: ffffdfff
kernel: flexcop_pci_write_ibi_reg: new write(reg,val): 208: fffffffe
kernel: >flexcop_pci_read_ibi_reg: BEGIN io_mem=d0abe000: r=00000300
kernel: >flexcop_pci_read_ibi_reg: END, read(reg,val): 300: ffffffff
kernel: >flexcop_pci_read_ibi_reg: NEW!! read(reg,val): 300: ffffffff
...

and after, the tuner test.
"

Can I have help about I2C on this card?

I have found this definition of R100,
but I'm not sure that it is for the stv0297 .

"
http://www.mail-archive.com/linux-dvb@xxxxxxxxxxx/msg13665.html
Hi!
Here are the registers for the "two line serial":

Reg 0x100
WRITE
Bits 6-0 CHIPADDRESS
Bit 7 Reserved
Bits 15-8 BASE ADDRESS
Bits 23-16 DATA1
Bit 24 Start transaction. Bit 25 R/#W Read=1, Write=0
Bit 27-26 Size of transaction. 00=1, 11=4 bytes.
Bit 29-28 Port selection 00=Invalid, 01=Frontend, 10-EEPROM, 11=Tuner
Bit 30 Base address presence indicator. When 1, no base address is generated.
Bit 31 Reserved

Reg 0x100
READ
Bit 0 R/#W - Internal states.
Bits 7-1 CHIPADDRESS
Bits 15-8 BASE ADDRESS
Bits 23-16 DATA1
Bit 24 Status. When=1, transaction underway. =0 engine is free.
Bit 25 R/#W Read=1, Write=0
Bit 27-26 Size of transaction. 00=1, 11=4 bytes.
Bit 29-28 Port selection 00=Invalid, 01=Frontend, 10-EEPROM, 11=Tuner
Bit 30 ACK error. When =1, no ACK from slave.
Bit 31 When set, it indicate that the current transaction is done.
"

SCL and SDA level of the i2c master device in the flexcop IC is it managed internaly (nothing to do for us) ?

Is it possible to setup the speed of the i2c bus ?

What is the pll chip in a DVB card ?


Any ideas are welcome.

Thanks !

(PS: I have clicked to send this email as txt, not html, hope that works,
sorry for the last mail).



> Hi All,
>
> 2006/11/13, Hun chow :
> > Hello.
> >
> > I have a lot of trouble to install my new DVB card under Linux: CableStar
> > 2:
>
> This issue of CS2 support having been removed sometime in last
> February keeps popping up every now and then - I guess the developers
> had a reason to do that, however there seem to be a lot of people
> missing the support.
...
>
> Cheers, Ville


Lycos Cinema : Catch up with your friends and see free movies online - watch, chat & connect now >> http://cinema.lycos.com
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

  Powered by Linux