LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-25-2013, 04:52 PM   #1
fernandoamartin
LQ Newbie
 
Registered: Oct 2013
Posts: 9

Rep: Reputation: Disabled
Problems installing TV card on a 64-bit Debian compatible OS


Hi.
I have a Zogis Powercolor Real Angel RA330 TV card. So years ago I was able to make it work on Opensuse 32-bit using the firmware provided at http://www.steventoth.net/linux/xc50...25271_WHQL.zip.

Now however I use SolydK 64-bit, that is a compatible Debian based distro, but I can't make my tv card work on it. I downloaded the firmware again, used extract.sh.
The output was:
Firmware extracted successfully
Now manually copy dvb-fe-xc5000-1.1.fw into your firmware dir

I copied the extracted file to /lib/firmware and it didnt' work.
So I created a file on /etc/modprobe.d with the following lines:
alias char-major-81 videodev
options i2c-algo-bit bit_test=1
alias char-major-81-0 cx8800
alias char-major-81-1 off
alias char-major-81-2 off
alias char-major-81-3 off
options cx88xx card=62 tuner=71

But this didn't work too.
The best I get on tvtime, xawtv and qt v4l test is a completely black or green screen.

Can anyone help me with this, please?
 
Old 10-25-2013, 05:49 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,545

Rep: Reputation: 238Reputation: 238Reputation: 238
I have a leadtek card that uses the cx8800 driver, but afaik it doesn't need additional firmware. I've noticed on recent 64 bit systems that the driver becomes unstable and needs to be cycled. And other parts grabbed that the cx8800 driver doesn't seem to coexist with.

# modprobe -r tea5767
# modprobe -r cx8800
# modprobe -r cx88xx

# modprobe cx8800
# v4l2-ctl -f 61.25
(aka channel 3)

$ mplayer -queit -ao null -vo gl_nosw -hardframedrop -vf yadif=1,crop=0:478:0:2,scale -zoom -x 854 -y 480 tv://3

scaled to 16:9 since the conversion box squishes 16:9 to 4:3 for old tvs, but that might just be a setting on that box. Dropping the driver and reloading gives me about an hour of usage before it gets quirky again. I don't know if any of this is useful for you, but what I use for mine, if only to check local weather, when the internet is down, once in a blue moon.

# modprobe -r cx8800
# modprobe cx8800
# v4l2-ctl -f 61.25

To recycle the driver and carry on.
 
Old 10-25-2013, 05:57 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,545

Rep: Reputation: 238Reputation: 238Reputation: 238
I guess I should add that when I need to cycle the driver, mplayer shows a green screen. That seemed similar to your issue. If it bails while I'm using mplayer, it freezes on the last good frame of video. When I restart mplayer it shows green. The symptom, the cure is cycling the driver.

I run my audio through an old VCR and use qjackctl to pipe the inputs to the output. Just a cd-audio cable connector on the card, and an hda-audio cable connector on the motherboard. As I contemplate making a jack plugin for delaying the audio that arrives noticeably sooner than the video. *sigh*
 
Old 10-25-2013, 07:07 PM   #4
fernandoamartin
LQ Newbie
 
Registered: Oct 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thank you Shadow 7 for the ideas.
Really when I was able to make my card work on opnesuse 32-bit I also had to use an external cable connetced to the soundcard. There was no delay but I could not record anything from tv because only video without audio were recorded.
I want to try your suggestions. They reallt make sense but when I researched online new kernels should recognize cx88 out-of-the-box. But I need an additional tip: All those modprobes you wrote are to be used in command line or to be added to some .conf file?
If they are to be used in terminal will they change some configuration file or will I have to type them everytime I want to watch tv? Or if they are to be added to some .conf file, to which?
Thank you.
 
Old 10-26-2013, 12:18 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,545

Rep: Reputation: 238Reputation: 238Reputation: 238
Basically the /dev/video0 device comes into existence for me with the cx8800 module, so that's the one I use. But I have a different card. And dmesg tells me that tea5767 is NOT what I have, but it loads at boot anyway.

The modinfo for the cx88?? modules suggest that [SuSE Labs] developed the drivers. So no wonder it works well in SuSE. Have you tried a 64 bit version of SuSE? I'm just curious if it has the same issues.


For my card from my dmesg output below.

[292222.528238] cx88[0]: subsystem: 107d:6613, board: Leadtek Winfast 2000XP Expert [card=5,autodetected], frontend(s): 0
...
[292222.710866] tuner-simple 2-0060: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))

So:
options cx88xx card=5 tuner=43

For my card. You might want to verify which numbers apply to you or comment out (#) your options line for cx88xx. Referencing the dmesg for the 32 bit SuSE that works for you could shine some light. I set mine wrong (used tuner for the card number) and got the black screen (instead of green) you previously mentioned.
 
Old 10-26-2013, 01:59 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,545

Rep: Reputation: 238Reputation: 238Reputation: 238
A basic (is there such a thing) capture from my card with "audio". Basically you have two inputs (-i), one for audio, one for video.

$ ffmpeg -f alsa -ac 2 -i pulse -f v4l2 -i /dev/video0 -q:v 0 -acodec pcm_s16le -r 30000/1001 -y test.mkv
 
Old 10-26-2013, 10:41 AM   #7
fernandoamartin
LQ Newbie
 
Registered: Oct 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
There has been more than one year since I don't use opensuse. Unfortunately I didn't keep the .conf file that worked on it. And now I can't re-create it the way it was because I use SolydK. I use it exactly because it's a rolling release (I won't have to install it again at every update), but it promises a little more stability than other rolling releases and because in debian-like system we have many more packages available right from the manager without having to add and organize third-party repositories like I did in opensuse.

But, please, take a look at what dmesg returns for me:

[ 9.649658] cx2388x alsa driver version 0.0.9 loaded
[ 9.650769] cx88[0]: subsystem: 14f1:ea3d, board: PowerColor RA330 [card=62,autodetected], frontend(s): 0
[ 9.690790] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input8
[ 9.711212] cx88/0: cx2388x v4l2 driver version 0.0.9 loaded
[ 9.926197] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input9
[ 9.928561] tuner 9-0061: Tuner -1 found with type(s) Radio TV.
[ 10.088771] xc2028 9-0061: creating new instance
[ 10.088777] xc2028 9-0061: type set to XCeive xc2028/xc3028 tuner
[ 10.089808] cx88_audio 0000:03:02.1: firmware: agent aborted loading xc3028-v27.fw (not found?)
[ 10.132029] Registered IR keymap rc-powercolor-real-angel
[ 10.132181] input: cx88 IR (PowerColor RA330) as /devices/pci0000:00/0000:00:1e.0/0000:03:02.1/rc/rc0/input10
[ 10.132262] rc0: cx88 IR (PowerColor RA330) as /devices/pci0000:00/0000:00:1e.0/0000:03:02.1/rc/rc0
[ 10.132305] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
[ 10.133425] cx88[0]/0: found at 0000:03:02.0, rev: 5, irq: 19, latency: 64, mmio: 0xfd000000
[ 10.133779] cx88[0]/0: registered device video0 [v4l2]
[ 10.133835] cx88[0]/0: registered device vbi0
[ 10.133992] cx88[0]/0: registered device radio0

(I think the HDMI line refers to the capabilities of Radeon and not of my RA330.)

Do you have any suggestion of what I can do about it? Thanks.

Last edited by fernandoamartin; 10-26-2013 at 10:43 AM.
 
Old 10-27-2013, 02:01 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,545

Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by fernandoamartin View Post
But, please, take a look at what dmesg returns for me:

[ 9.649658] cx2388x alsa driver version 0.0.9 loaded
[ 9.650769] cx88[0]: subsystem: 14f1:ea3d, board: PowerColor RA330 [card=62,autodetected], frontend(s): 0
card=62 seems to apply for your modprobe.d conf stuff. The alsa driver 0.0.9 concerns me, as alsa-project.org is up to 1.0.27 now. But probably not important here, except for linux audio stuff.


Quote:
Originally Posted by fernandoamartin View Post
[ 9.690790] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input8
[ 9.711212] cx88/0: cx2388x v4l2 driver version 0.0.9 loaded
[ 9.926197] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input9
[ 9.928561] tuner 9-0061: Tuner -1 found with type(s) Radio TV.
[ 10.088771] xc2028 9-0061: creating new instance
[ 10.088777] xc2028 9-0061: type set to XCeive xc2028/xc3028 tuner
[ 10.089808] cx88_audio 0000:03:02.1: firmware: agent aborted loading xc3028-v27.fw (not found?)
http://www.linuxtv.org/wiki/index.ph..._XC3028/XC2028

It looks like you need some firmware. Package linux-doc-3.11 for my debian jessie/sid seems to have the file: /usr/share/doc/linux-doc-3.11/Documentation/video4linux/extract_xc3028.pl.gz

$ zcat /usr/share/doc/linux-doc-3.11/Documentation/video4linux/extract_xc3028.pl.gz | less
(to see the code or comments in that file)


Quote:
Originally Posted by fernandoamartin View Post
[ 10.132029] Registered IR keymap rc-powercolor-real-angel
[ 10.132181] input: cx88 IR (PowerColor RA330) as /devices/pci0000:00/0000:00:1e.0/0000:03:02.1/rc/rc0/input10
[ 10.132262] rc0: cx88 IR (PowerColor RA330) as /devices/pci0000:00/0000:00:1e.0/0000:03:02.1/rc/rc0
[ 10.132305] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
[ 10.133425] cx88[0]/0: found at 0000:03:02.0, rev: 5, irq: 19, latency: 64, mmio: 0xfd000000
[ 10.133779] cx88[0]/0: registered device video0 [v4l2]
[ 10.133835] cx88[0]/0: registered device vbi0
[ 10.133992] cx88[0]/0: registered device radio0

(I think the HDMI line refers to the capabilities of Radeon and not of my RA330.)

Do you have any suggestion of what I can do about it? Thanks.
I didn't see any tuner= specs in there, and probably wont until you have the firmware for it. Which is probably most of your issue, as without support for the tuner, you can't set the channel to anything useful. And the xc3028 is a chipset for your RF tuner. Which I guess requires firmware. Firmware which isn't bundled with the linux kernel? Oi, manufacturers being defunct and/or difficult.

HTH
 
Old 10-28-2013, 09:01 AM   #9
fernandoamartin
LQ Newbie
 
Registered: Oct 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
It would be interesting to make it work because here in Brazil analogic tv is still very popular. But I'm starting to lose hope.
Using the instructions in http://www.linuxtv.org/wiki/index.ph...XC2028#Drivers I was able to get some minutes of interference in xawtv before it went to the green screen again. But yesterday I booted on an old Windows XP install and tried to record a tv show. So when I clicked at the record button the transmission disappeared. So if I'm having issues even in XP with original drivers I think it will be hard to make it work in Linux. It seems that my tv card is a low quality one. :-(
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing 64 bit package on 32 bit debian rollyah Linux - Server 4 09-06-2012 01:10 AM
[SOLVED] video card (gpu) listed as 64-bit -- compatible on my x86-32 system? mark_alfred Linux - Hardware 2 01-06-2011 07:41 PM
Integrated 16-bit Sound Blaster Pro compatible audio 24-bit DAC jelgavchik Linux - Laptop and Netbook 2 11-16-2006 09:20 PM
seeking advice on a cheap wifi card that is mandrake and debian compatible simonfurrywilliams Linux - Wireless Networking 1 03-03-2006 05:09 PM
Wireless pci card debian compatible a10392 Linux - Hardware 1 05-22-2005 01:27 PM


All times are GMT -5. The time now is 03:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration