Problems installing TV card on a 64-bit Debian compatible OS
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?
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.
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*
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?
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: 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))
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.
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
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: 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/1: CX88x/0: ALSA support for cx2388x boards
[ 10.133425] cx88/0: found at 0000:03:02.0, rev: 5, irq: 19, latency: 64, mmio: 0xfd000000
[ 10.133779] cx88/0: registered device video0 [v4l2]
[ 10.133835] cx88/0: registered device vbi0
[ 10.133992] cx88/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.
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)
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. :-(
|All times are GMT -5. The time now is 10:39 PM.|