Developing a driver for the Terratec Cinergy T/A USB stick?

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

 



Hi!

Note that this stick is NOT identical to the old Cinergy T

Dec 07 16:21:24 tvburk kernel: usb 2-2.3: SerialNumber: CNXT000000000001
Dec 07 16:21:24 tvburk kernel: usb 2-2.3: Manufacturer: Conexant Systems Inc.
Dec 07 16:21:24 tvburk kernel: usb 2-2.3: Product: Polaris AV Capture
Dec 07 16:21:24 tvburk kernel: usb 2-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 07 16:21:24 tvburk kernel: usb 2-2.3: New USB device found, idVendor=0ccd, idProduct=5509,
bcdDevice=40.01
Dec 07 16:21:24 tvburk kernel: usb 2-2.3: new high-speed USB device number 7 using xhci_hcd

Chips:
RTL2832
TDA18273 - A tuner from NXP
CX23102 - USB video and broadcast-audio decoder family from Conexant.

Naturally have I tried myself, before asking here. I had to hack dvb drivers in the past, but not as complex
as this.

The firmware is shipped with the windows software. Neatly hidden inside a Windows installer :) The file there
ie merlind.rom, but it is identical to the fw file that linuxtv has v4l-cx231xx-avcore-01.fw

I found a driver for 18273 by CrazyCat, but it is for an older version of Linux, so what I have done so far
is to take all the files from the TDA18271 driver and renamed them to 18273. I will then use the docs for the
two tuners and the code from CrazyCat to make a new driver. I have gotten as far as the driver loading, but I
need to figure out whether the tuner is on address C0 (or 60 if you shift out the write bit) or C6. The 18273
address can be selected through a voltage on a pin.

So this is how far I have gotten:
2022-12-11T19:06:39.492051+02:00 localhost kernel: [ 1005.466637] cx231xx 6-2:1.1: XX Identified as Terratec
TA (card=28)
2022-12-11T19:06:39.492054+02:00 localhost kernel: [ 1005.467195] i2c i2c-11: Added multiplexed i2c bus 13
2022-12-11T19:06:39.492062+02:00 localhost kernel: [ 1005.467235] i2c i2c-11: Added multiplexed i2c bus 14
2022-12-11T19:06:39.620074+02:00 localhost kernel: [ 1005.593790] cx25840 10-0044: cx23102 A/V decoder found
@ 0x88 (cx231xx #0-0)
2022-12-11T19:06:41.692044+02:00 localhost kernel: [ 1007.666691] cx25840 10-0044: loaded
v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
2022-12-11T19:06:41.736033+02:00 localhost kernel: [ 1007.709539] tea5767: Chip ID is not zero. It is not a
TEA5767
2022-12-11T19:06:41.736061+02:00 localhost kernel: [ 1007.709554] tuner: 10-0060: Tuner -1 found with type(s)
Radio TV.
2022-12-11T19:06:41.748042+02:00 localhost kernel: [ 1007.721833] tda18273 10-0060: creating new instance
2022-12-11T19:06:41.752072+02:00 localhost kernel: [ 1007.723810] tda18273: Unknown device (255) detected @
10-0060, device not supported.
2022-12-11T19:06:41.752088+02:00 localhost kernel: [ 1007.723814] tda18273_attach: [10-0060|M] error -22 on
line 1272

I am asking here in case anyone else har battled with TDA18273. Right now I am getting 255 when I try to
read, which I assume is because I am reading the wrong adress?

-- 
Med vänlig hälsning

Anders Gustafsson, ingenjör
anders.gustafsson@xxxxxxxxx  |  Support +358 18 12060  |  Direkt +358 9 315 45 121  |  Mobil +358 40506 7099

Pedago interaktiv ab, Nygatan 7 B , AX-22100 MARIEHAMN, ÅLAND, FINLAND





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux