Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Howto] TerraTec Cinergy HT PCI MK2 (cx88)(analog Mode only)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
linuxreaktor
n00b
n00b


Joined: 03 Jan 2004
Posts: 41
Location: Frankfurt / Germany

PostPosted: Sun Dec 21, 2008 6:15 pm    Post subject: [Howto] TerraTec Cinergy HT PCI MK2 (cx88)(analog Mode only) Reply with quote

Actually there are two versions of the TerraTec Cinergy HT PCI hybrid (DVBT/Analog) TV-Receiver card. One is based on SAA713x (oldcard) and a newer Version (MK2) based on cx88. While the old card seems to work fine
http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_HT_PCI,
the MK2 Version is troublesome. :x
For those of you who have this card and had no luck activating it, here's how i could get the cards analog mode working.

Kernelmodule options

As the card is based on Conexant's CX 23880 chipset, the to be used kernel module is cx88xx. So be sure your kernel has the needed module and its dependencies. I was successful with gentoo-sources-2.6.25 upwards, i haven't tried lower versions. Actually, i use gentoo-sources-2.6.27-r7.
If you take a look on the supported cards of cx88xx in /usr/src/linux/Documentation/video4linux/CARDLIST.cx88 you won't find the TerraTec Cinergy HT PCI MK2. Don't ask me why and how (cause its been a while since i did it :roll: ), card=59 and tuner=71 will work, so I did the following.

Code:

dose200 ~# echo "options cx88xx card=59 tuner=71" > /etc/modules.d/cx88
dose200 ~# update-modules


Firmware
To get the needed firmware, take a look into the provided script extract_xc3028.pl, which is located in /usr/src/linux/Documentation/video4linux/
In the beginning of the code, there is stated how to proceed to get the firmware, following these i did:

Code:

dose200 ~# wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
dose200 ~# unzip -j HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85bda.sys
dose200 ~# perl /usr/src/linux/Documentation/video4linux/extract_xc3028.pl
dose200 ~# cp xc3028-v27.fw /lib/firmware/


Reboot
As there are a lot of module dependencies regarding the cx88xx module, the safest way to have these loaded the right way and order, do a reboot.

Doing a dmesg (relevant part):

Code:

cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 17
cx8800 0000:01:06.0: PCI INT A -> Link[LNKA] -> GSI 17 (level, low) -> IRQ 17
cx88[0]: subsystem: 153b:1177, board: DViCO FusionHDTV 5 PCI nano [card=59,insmod option]
cx88[0]: TV tuner type 71, Radio tuner type -1
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
cx2388x alsa driver version 0.0.6 loaded
nvidia: module license 'NVIDIA' taints kernel.
tuner' 0-0061: chip found @ 0xc2 (cx88[0])
xc2028 0-0061: creating new instance
xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
cx88[0]: Asking xc2028/3028 to load firmware xc3028-v27.fw
cx88[0]/0: found at 0000:01:06.0, rev: 5, irq: 17, latency: 64, mmio: 0xfa000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
firmware: requesting xc3028-v27.fw
xc2028 0-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
cx88[0]: Calling XC2028/3028 callback
cx88[0]: setting GPIO to TV!
xc2028 0-0061: Loading firmware for type=BASE (1), id 0000000000000000.
cx88[0]: Calling XC2028/3028 callback
cx88[0]: setting GPIO to TV!
xc2028 0-0061: Loading firmware for type=(0), id 000000000000b700.
SCODE (20000000), id 000000000000b700:
xc2028 0-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 0000000000008000.
cx88[0]: Calling XC2028/3028 callback
cx88_audio 0000:01:06.1: PCI INT A -> Link[LNKA] -> GSI 17 (level, low) -> IRQ 17
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
cx88[0]/2: cx2388x 8802 Driver Manager
cx88-mpeg driver manager 0000:01:06.2: PCI INT A -> Link[LNKA] -> GSI 17 (level, low) -> IRQ 17
cx88[0]/2: found at 0000:01:06.2, rev: 5, irq: 17, latency: 64, mmio: 0xfc000000
ACPI: PCI Interrupt Link [SGRU] enabled at IRQ 22
nvidia 0000:02:00.0: PCI INT A -> Link[SGRU] -> GSI 22 (level, low) -> IRQ 22
nvidia 0000:02:00.0: setting latency timer to 64
NVRM: loading NVIDIA UNIX x86 Kernel Module  173.14.15  Fri Oct 31 16:03:05 PST 2008
cx88/2: cx2388x dvb driver version 0.0.6 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 153b:1177, board: DViCO FusionHDTV 5 PCI nano [card=59]
cx88[0]/2: cx2388x based DVB/ATSC card
s5h1409_readreg: readreg error (ret == -6)
cx88[0]/2: frontend initialization failed
cx88[0]/2: dvb_register failed (err = -22)
cx88[0]/2: cx8802 probe failed, err = -22


Despite the errors, the card (analog mode) is working now. I use tvtime for watching analog cableTV, starting it by

Code:

tvtime | arecord -D hw:1,0 -r 48000 -c 2 -f S16_LE | aplay -


So, thats it tuning & watching should work, dvbt & remote control are issues still to be solved.

Hope it helps.
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 359
Location: España

PostPosted: Tue Sep 22, 2009 6:01 pm    Post subject: Reply with quote

Hi,

Looking for a solution for the "remote" not working for the MKII, I found this topic. I've been able to solve the dvb-t problem, so here is the information:

You'll need kernel >=2.6.30

And here is the configuration. The last "LZ10353" is very important to solve the -22 error.

Code:
 
Device Drivers --->
    <M> I2C support  --->
        <M>   I2C device interface
        [*]   Autoselect pertinent helper modules
        I2C Hardware Bus support  --->
           <M> Intel 82801 (ICH)   
           <M> Intel SCH SMBus 1.0                       
           <M> Intel PIIX4 and compatible (ATI/Serverworks/Broadcom/SMSC)   
    Multimedia Devices
          *** Multimedia core support ***   
      <M> Video For Linux 
      [ ]   Enable Video For Linux API 1 (DEPRECATED)   
      [ ]   Enable Video For Linux API 1 compatible Layer   
      <M> DVB for Linux           
          *** Multimedia drivers ***           
      [*] Load and attach frontend and tuner driver modules as needed   
      [ ] Customize analog and hybrid tuner modules to build  --->               
      [*] Video capture adapters  --->                               
          [*]   Autoselect pertinent encoders/decoders and other helper chips 
          <M>   Conexant 2388x (bt878 successor) support 
          <M>     Conexant 2388x DMA audio support           
          <M>     Blackbird MPEG encoder support (cx2388x + cx23416) 
          <M>     DVB/ATSC Support for cx2388x based TV cards   
      [ ] Radio Adapters  --->
      [ ] Dynamic DVB minor allocation (NEW)
      [*] DVB/ATSC adapters (NEW)  --->           
           --- DVB/ATSC adapters
               [*]   Customise the frontend modules to build
                  Customise DVB Frontends  --->
                    *** DVB-T (terrestrial) frontends ***
                    <M> Zarlink ZL10353 based 
      [ ] DAB adapters                                                         


Have you had luck resolving the remote issue?

Thanks
Luis
Back to top
View user's profile Send private message
linuxreaktor
n00b
n00b


Joined: 03 Jan 2004
Posts: 41
Location: Frankfurt / Germany

PostPosted: Tue Sep 22, 2009 6:43 pm    Post subject: Reply with quote

Hi luispa,

Thanks for your answer.. Since 2.6.30 this TV-Card is supported by the Kernel, at least the ID of the card has been added...
Well if you just don't check "Customise the frontend modules to build" here
Code:

  [*] DVB/ATSC adapters (NEW)  --->           
           --- DVB/ATSC adapters
               [*]   Customise the frontend modules to build


you dont have to care about the frontend.

Well, after this card stopped working with 2.6.28 & 2.6.29, i have my analog mode back! Juhu...

BUT, arrgh... Audio is not working anymore. At least with analog Mode. I just get white noise! I tried a lot of things and options with cx88_alsa, but no, just white sound....

And, oho... Remote is still not working..
Well in the moment i am not using this card, cause i have only analog cable!

well for more info, [in german] check this
http://forum.ubuntuusers.de/topic/terratec-cinergy-ht-pci-treiber/6/

Greetings
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 359
Location: España

PostPosted: Wed Sep 23, 2009 5:40 am    Post subject: Reply with quote

Thank you for your answer. I'm only doing DVB-T as in Spain analog is been shutdown, so I only testing TDT, where audio works by the way. Regardind the remote, I found in the sources that it's not implemented, but looking at this: http://www.acaciaclose.co.uk/16253/138855.html it looks like it may be added. I'm going to spend time on this and if I make it work I'll post the information.

Regards.
Luis
Back to top
View user's profile Send private message
calande
n00b
n00b


Joined: 08 Dec 2003
Posts: 54
Location: Old Europe

PostPosted: Sun May 23, 2010 11:41 pm    Post subject: Reply with quote

Hi guys, has support for the Cinergy HT PCI remote control been added? Thanks.
Back to top
View user's profile Send private message
calande
n00b
n00b


Joined: 08 Dec 2003
Posts: 54
Location: Old Europe

PostPosted: Fri Feb 24, 2012 10:25 pm    Post subject: Reply with quote

And what about support for the radio module? :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum