Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 09-24-2006, 06:29 AM   #1
Registered: Jun 2004
Posts: 124

Rep: Reputation: 15
Kuroutoshikou SAA7130-TVPCI/B TV card / tuner problems

Hi all,

In the past, I've always used bttv cards, generally with only minor difficulties, but none was available to me this time. So I installed a Kuroutoshikou SAA7130-TVPCI/B card into my Mandriva 2006 system. This (NTSC-JP) card should be supported by the saa7134 module (the Kuroutoshikou SAA7130-TVPCI is in CARDLIST.saa7134, and a number of Japanese sites indicate that they were able to get this card to work).

Nonetheless, I cannot get picture or audio out of tvtime. Xawtv is even worse ... I don't even get static from it, only a distorted green field.

After installing the card, I tried:

rmmod saa7134 ; modprobe saa7134 card=10 tuner=2
I've also tried tuners 17, 31, and 43, as well as not specifying any tuner, as advised elsewhere. Apparently the tuner on this card can vary with the production lot.

Interestingly, with most of these combinations, tvtime-scanner successfully detects channels (although the frequency of the channels varies depending on the tuner specified). But run tvtime itself, and there's only static. Turn on signal detection within tvtime and it reports no signal on all the frequencies that tvtime-scanner reported signal on!

Here's some data that might help:

saa7130/34: v4l2 driver version 0.2.12 loaded
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
saa7130[0]: found at 0000:00:0d.0, rev: 1, irq: 11, latency: 64, mmio: 0xfe700000
saa7130[0]: subsystem: 1131:0000, board: Kworld/KuroutoShikou SAA7130-TVPCI [card=10,insmod option]
saa7130[0]: board init: gpio is 40407f
tuner 0-0061: chip found @ 0xc2 (saa7130[0])
tuner 0-0061: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
saa7130[0]: Huh, no eeprom present (err=-5)?
saa7130[0]/irq[10,8155487]: r=0x20 s=0x10 PE
saa7130[0]/irq: looping -- clearing PE (parity error!) enable bit
saa7130[0]: registered device video0 [v4l2]
saa7130[0]: registered device vbi0
lspci -vvv
Multimedia controller: Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01)
        Subsystem: Philips Semiconductors: Unknown device 0000
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
        Latency: 64 (3750ns min, 9500ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at fe700000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <available only to root>
lspci -vn
Class 0480: 1131:7130 (rev 01)
        Subsystem: 1131:0000
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at fe700000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <available only to root>
tvtime -n NTSC-JP -f custom -v
videoinput: Using video4linux2 driver 'saa7134', card 'Kworld/KuroutoShikou SAA7130-TV' (bus PCI:0000:00:0d.0).
videoinput: Version is 524, capabilities 5010015.
videoinput: Width 720 too high, using 704 instead as suggested by the driver.
videoinput: Maximum input width: 704 pixels.
tvtime: Sampling input at 704 pixels per scanline.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xcommon: Received a map, marking window as visible (63).
xcommon: Window fully obscured, marking window as hidden (63).
xcommon: Window made visible, marking window as visible (63).
One final observation. lsmod shows a lot of apparently unnecessary modules being loaded. Specifically bttv, cx88xx, cx8800, ivtv, rivatv. I'm not sure why these are being loaded (I've removed all other TV cards from the system, and even before, some of these were never needed). I've tried rmmodding all of them, to no effect. I've also tried just saa7134 and bttv. Which, if any, are necessary?

Thanks for your help! Any advice welcome!
Old 09-25-2006, 01:36 AM   #2
Registered: Jun 2004
Posts: 124

Original Poster
Rep: Reputation: 15
OK, I've solved this. Here's the answer in case anyone else hits the same problem:

My modprobe.conf file included the line:

options saa7134 card=10 tuner=2
It seems that these options overrode other command line arguments passed to modprobe (eg "rmmod saa7134 ; modprobe saa7134 card=10 tuner=43"). So while I thought I had tested other tuners, I actually hadn't. I editted modprobe.conf and found that tuner=43 works for this card. Problem solved (at least for tvtime; xawtv still only displays a green field, without sound).

Additionally, these lines, returned by dmesg, seem to have indicated an unrelated problem:

saa7130[0]/irq[10,8155487]: r=0x20 s=0x10 PE
saa7130[0]/irq: looping -- clearing PE (parity error!) enable bit
After a reboot, however, they did not recur.

I'd still welcome any thoughts about why xawtv isn't working. Thanks.


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
PHILIPS SAA7130 tuner card in Knoppix? drewbysan Debian 3 06-06-2009 10:18 AM
saa7130 based TV-Tuner driver soup21 Linux - Hardware 1 12-08-2005 05:16 PM
problems with sound on AverMedia Studio TV tuner(Philips SAA7130) sensovision Linux - Hardware 1 11-14-2004 04:33 PM
Tv-tuner with PHILIPS SAA7130. How to make it work? buboleck Slackware 4 04-30-2004 03:30 AM
Philips SAA7130 based tv tuner card sound problem? sushant18 Linux - Software 2 04-02-2004 01:55 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:16 PM.

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