LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-26-2006, 08:35 PM   #1
apocolpse
Member
 
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91

Rep: Reputation: 15
SAA7133/SAA7135 Tv Tuner Help


Hey guys,

I'm running Fedora core 6, and recently installed a KWorld Tv tuner that uses the Philips Semiconductors SAA7133/SAA7135 chipset. I installed tvtime via yum from the livna repo, and I get not picture or audio. I tried searching online and this one guy did a

" modprobe saa7134 card=81 tuner=54"

on the command line, but that didn't work.

"/sbin/lspci -vv" returns:

Code:
01:08.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d0)
        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: 32 (3750ns min, 9500ns max)
        Interrupt: pin A routed to IRQ 217
        Region 0: Memory at e2001000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
A part of dmesg returns

Code:
Linux video capture interface: v2.00
saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [APC3] -> GSI 18 (level, high) -> IRQ 217
saa7133[0]: found at 0000:01:08.0, rev: 208, irq: 217, latency: 32, mmio: 0xe2001000
saa7133[0]: subsystem: 1131:0000, board: UNKNOWN/GENERIC [card=0,autodetected]
saa7133[0]: board init: gpio is 40
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00004c01000001bd]
saa7133[0]: Huh, no eeprom present (err=-5)?
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
I'm running on 2.6.18-1.2868 Kernel and a Nvidia Geforce FX 5200. Does anyone know what I could do to get this to work ??
 
Old 12-28-2006, 03:50 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The reason why "modprobe saa7134 card=81 tuner=54" does not work is because you have to unload the module first. Unloading and loading the module with the above options every time your computer boots up in Linux gets annoying. To fix this, in /etc/modules.conf or /etc/modprobe.conf include the following lines.

Code:
alias char-major-81-0 saa7134
options saa7134 card=81 tuner=54
Unload the module by doing modprobe -r saa7134 or rmmod saa7134 and the load module by doing modprobe -v saa7134. You should see it is using the optons you added in the modules.conf or modprobe.conf.

In tvtime first test the S-Video or Composite (RCA) to find out if it works. If it works, hopefully the tuner will work. If it does not, you will have to try each tuner in the tuner list.

BTW, I prefer looking at the whole entire logs from the start of booting. Summarizing the logs is ok but usually the most important errors are left out.
 
Old 02-12-2007, 08:45 AM   #3
Au_Squirrel
Member
 
Registered: Nov 2005
Location: Brisbane AU
Distribution: FC29
Posts: 52

Rep: Reputation: 17
Mine is working (sort of)

I also purchased a KWorld card, the DVB-T 220 with the same specs as listed.

lspci -v

Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d0)
Subsystem: KWorld Computer Co. Ltd. Unknown device 7201
Flags: bus master, medium devsel, latency 32, IRQ 16
Memory at d400a000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

I checked my log and it had the following on boot

Feb 13 00:00:51 paladin kernel: saa7130/34: v4l2 driver version 0.2.14 loaded
Feb 13 00:00:51 paladin kernel: ACPI: PCI Interrupt 0000:05:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
Feb 13 00:00:51 paladin kernel: saa7133[0]: found at 0000:05:06.0, rev: 208, irq: 16, latency: 32, mmio: 0xd400a000
Feb 13 00:00:51 paladin kernel: saa7133[0]: subsystem: 17de:7201, board: Tevion/KWorld DVB-T 220RF [card=88,autodetected]
Feb 13 00:00:51 paladin kernel: saa7133[0]: board init: gpio is 100
Feb 13 00:00:51 paladin kernel: saa7133[0]: i2c eeprom 00: de 17 01 72 ff ff ff ff ff ff ff ff ff ff ff ff
Feb 13 00:00:51 paladin kernel: saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 13 00:00:51 paladin kernel: saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 13 00:00:51 paladin kernel: saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 13 00:00:51 paladin kernel: saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 13 00:00:51 paladin kernel: saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 13 00:00:51 paladin kernel: saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 13 00:00:51 paladin kernel: saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Feb 13 00:00:51 paladin kernel: ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 22
Feb 13 00:00:51 paladin kernel: ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [APCJ] -> GSI 22 (level, low) -> IRQ 22
Feb 13 00:00:51 paladin kernel: tuner 2-004b: chip found @ 0x96 (saa7133[0])
Feb 13 00:00:51 paladin kernel: tuner 2-004b: setting tuner address to 61
Feb 13 00:00:51 paladin kernel: tuner 2-004b: type set to tda8290+75a
Feb 13 00:00:51 paladin kernel: tuner 2-004b: setting tuner address to 61
Feb 13 00:00:51 paladin kernel: tuner 2-004b: type set to tda8290+75a
Feb 13 00:00:51 paladin kernel: saa7133[0]: registered device video0 [v4l2]
Feb 13 00:00:51 paladin kernel: saa7133[0]: registered device vbi0
Feb 13 00:00:51 paladin kernel: saa7133[0]: registered device radio0


Now tvtime has always worked for the video, just I had no sound. I loaded the 7134-alsa module, "modprobe saa7134-alsa" and ran the command given on the http://www.linuxtv.org/v4lwiki/index...TV100)_CardBus page

sox -c 2 -s -w -r 32000 -t ossdsp /dev/dsp2 -t ossdsp -w -r 32000 /dev/dsp &

to redirect the sound and I now have sound.

My next challenge is to have the sound start automatically and I would prefer not have to use the script mentioned in the page.

I hope this helps someone.

Regards
 
Old 02-12-2007, 01:15 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Probably tvtime needs to be patched to playback audio. Try using mplayer with the audiofile option. It will not give you the same quality as tvtime, but it should work.

It is best to use a PCI card that has a Line out jack to loop it to the sound card. For notebooks it is best to use a DV device that uses IEEE-1394a/b (aka Firewire or i.Link) to capture video and audio. Then use mplayer to play it back. The device I suggest that does this is Canopus ADVC110.
 
  


Reply

Tags
tvtime



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
SAA7133/SAA7135 Support skyshark Linux - Hardware 3 12-21-2006 07:42 PM
Asus TV FM card (saa7135) ylts Linux - Hardware 6 10-04-2005 03:05 AM
Lifeview FlyTV 35 (SAA7135) TV Card problems Jay_highlands Linux - Hardware 4 06-23-2005 01:54 AM
[TV]no signal in saa7133 sathia Linux - Hardware 3 03-02-2005 01:54 AM
saa7133 tv tuner woes with MDK 10 official littlrussian Linux - Newbie 1 06-03-2004 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration