LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 01-03-2004, 02:36 AM   #1
ChillingSilence
LQ Newbie
 
Registered: Jan 2004
Location: Chill@SuperNova Chill $
Distribution: Gentoo 2004.3, kernel-2.6.11-love1
Posts: 15

Rep: Reputation: 0
Configuring the saa7134 Philips TV Card with kernel-2.6


Greetings,

Im trying to get my recently aquired card to work with the 2.6 kernel (Dont ask about the 2.4, dont have it anymore....). I bought this card two days ago:
h**p://dse.co.nz/cgi-bin/dse.storefront/en/product/XH6765

Ive compiled the saa7134 driver as a module, as well as DevFS (Its _recommended_ for Gentoo Linux) loading on boot.
I've downloaded tvtime and xawtv.

Ive used tvtime to run my XBox (Also running GentooX ;-)) through the Composite2 input, but cannot get it to view TV. Im also keen to use Teletext (Lowest on the ToDo list) as well as my TV-Remote (Second Priority after TV Tuning) and FM Radio (Third on the list).

Ive done a bit of Googl'ing and know that the 2.6 kernel uses V4L2... But there's not terribly much information Ive been able to find about it.

Here's what lspci says about it:
00:11.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)

Just a side note: Sound works when capturing from the Composite.. So thats cool... :-)

This is xawtv-3.90, running on Linux/i686 (2.6.0-gentoo)
looking for available devices
port 105-105
type : Xvideo, image scaler
name : NV17 Video Overlay

port 106-137
type : Xvideo, image scaler
name : NV05 Video Blitter

port 138-138 [ -xvport 138 ]
type : Xvideo, video overlay
name : NVIDIA Video Interface Port

/dev/v4l/video0: OK [ -device /dev/v4l/video0 ]
type : v4l2
name : LifeView FlyVIDEO3000
flags: overlay capture tuner

Any ideas on how to get TV and Lircd setup?

Many thanks


Chill.
 
Old 01-18-2004, 03:09 AM   #2
ChillingSilence
LQ Newbie
 
Registered: Jan 2004
Location: Chill@SuperNova Chill $
Distribution: Gentoo 2004.3, kernel-2.6.11-love1
Posts: 15

Original Poster
Rep: Reputation: 0
Errr....

<bump>



Any ideas?

Cheers


Chill.
 
Old 01-25-2004, 01:59 AM   #3
fpylin
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
hi ChillingSilence,

I got the same card from dicksmith too. It worked fine with on my Slackware 9.1 + Linux 2.6.1 box. I am not exactly sure where your problem lies. However, here are some suggestions:

1. Do you have an antenna attached to your card? The one comes with the hardware package doesn't do much good.
2. Try to run tvtime-scanner. The default channels in tvtime are pretty hopeless.

I have never got my remote control (the rm jack at the back of your card) to work, so I won't comment on it. Teletext ... still struggling with it also.

For radio, simply type: radio, if you have xawtv package installed

Hope it helps.

Frank
 
Old 01-26-2004, 12:33 AM   #4
ChillingSilence
LQ Newbie
 
Registered: Jan 2004
Location: Chill@SuperNova Chill $
Distribution: Gentoo 2004.3, kernel-2.6.11-love1
Posts: 15

Original Poster
Rep: Reputation: 0
Do you have the driver as a Module or built into the kernel?

Do you have any initialisation commands such as:
modprobe card=02

?

Many thanks


Chill.
 
Old 01-27-2004, 05:11 AM   #5
fpylin
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
I compiled it as a module. I required no more than /sbin/modprobe saa7134 to work. Try to recompile kernel and enable options SAA7134, SAB (tuner), and SAA (teletext) . See if it helps.

You may want to check whether you have your X modules set up correctly. (Although it is unlikely because you could use composite to play video games)

btw, after reading your post, i have searched lirc-related links. it seems that lirc supports only 2.4.x kernels at the moment. there are two 2.6.0 patches around but it's still difficult to get lirc_gpio.ko to work correctly.

If nothing works, try to send your card back and get a new one and try ...

Frank
 
Old 02-04-2004, 11:39 PM   #6
Yautja
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
I've also got this card going in linux 2.6.1 / slackware 9.1.
Took me 4 days though.

After trying all the kernel / modprobe / bios options I could find I ended up playing musical pci slots.

Turned out it wasn't sitting in the slot properly.
Even though It showed up in the bios / lspci and the saa7134 module detected the correct card
saa7134[0]: subsystem: 5168:0138, board: LifeView FlyVIDEO3000 [card=2,autodetected]
it wouldn't autodetect the correct tuner type or work when forced to 5.
tuner: chip found @ 0xc2
tuner: type set to 5 (Philips PAL_BG (FI1216 and compatibles))


Had to be careful plugging in the other cards and cables or it would stop working again. Try it with only the graphics card to start with.

SAB (tuner), and SAA (teletext) are for a different chipset, they ain't needed.

An extremely clear channel signal to get readable teletext (using alevtd + web browser).
Think my aluminum case is causing vertical interference lines aswell.
 
Old 02-05-2004, 01:28 AM   #7
ChillingSilence
LQ Newbie
 
Registered: Jan 2004
Location: Chill@SuperNova Chill $
Distribution: Gentoo 2004.3, kernel-2.6.11-love1
Posts: 15

Original Poster
Rep: Reputation: 0
I got mine working around the 27th Jan.

Its a good card. Im using TVTime on Gentoo Linux, but I've gotta be root or tvtime segfaults :-(

Took a wee bit to sort out that I had to run tvtime-scanner and then tell it to show only active channels, but its a good card.. Got Radio working too :-)

Now to just sort out video capturing with Xawtv so I can start saving Family Videos to my HDD and burn them when I buy a DVD-R/W

Its a brilliant Card, plays my XBox fine, and TV Quality is great using the Sky TV Outside Aerial!

On some motherboard certain PCI Slots share IRQ's. The best way to solve this would be get a better motherboard, or go without things on neighbouring PCI Slots :-)

Cheers


Chill.
 
Old 02-06-2004, 08:37 PM   #8
Yautja
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
I thought it was a irq problem when I first took them all out except the tv card.

But, when I finally got them playing nicely togeather and shut it down so I could screw them in, the tuner stopped detecting again.

Bad case / motherboard combination I guess.

And it is a good card, especially for $80.

Been having problems with tvtime segfaulting aswell, sticking to xawtv for now.

Muting on exit don't work yet either, but apparently thats a driver issue should be fixed soon (if it isn't already).
 
Old 02-28-2004, 08:58 AM   #9
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Rep: Reputation: 15
What problems will sharing the irq give? Mine is sharing with...VIA8233.
I cannot get any sound form the tv device.
Will moving it to another pci slot also move it to another irq?
 
Old 02-28-2004, 01:42 PM   #10
ChillingSilence
LQ Newbie
 
Registered: Jan 2004
Location: Chill@SuperNova Chill $
Distribution: Gentoo 2004.3, kernel-2.6.11-love1
Posts: 15

Original Poster
Rep: Reputation: 0
Try using something like TVTime to play your TV.

Ive had issues using certain things (Like mencoder) recording the Sound of the TV, but get Video fine :-)

If your motherboard is sharing the IRQ between two PCI slots, my bet is that you'd lose the lot, rather than just sound. Try TVTime before you go moving things around.

As a side-note, am I the only one who has this card who cannot seem to get it to fit properly? It doesnt sit right inside my PC :-(


Chill.
 
Old 02-28-2004, 04:14 PM   #11
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Rep: Reputation: 15
tried TVtime too, same problem-> no sound. The scanning feature is nice, it esp. mentions my cable provider. But alas, still no sound.
 
Old 03-02-2004, 05:02 PM   #12
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Rep: Reputation: 15
my solution (WFM)

To answer my own post:
set the module parameter audio_carrier=5500, the scanning feature of the driver fails. 5,5 MHz is the audio frequency for the PAL-B/G standard, which is used in the netherlands (Western Europe?)
use tvtime-scanner to get the exact frequencies (my cable provider ignores the channel norms) and set it to television mono-only for the sound. This changes the whitenoise into clear tv sounds.

next target: get Freevo or MythTV to work.
 
Old 03-26-2004, 06:28 AM   #13
HeKToo
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
I am using an saa7134 based card (FlyVideo 3000) in a Freevo box. It is running Debian Sid (Unstable) with kernel 2.6.4. I have found a problem with 2.6.4 that wasn't in 2.6.3 where insmod would not honour the audio_carrier parameter.

I am considering rolling back to 2.6.3 as it definitely did honour it.

- snips from syslog with 2.6.3 -
Mar 25 22:00:07 freevo kernel: saa7134[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: 0xdf001000
Mar 25 22:00:07 freevo kernel: saa7134[0]: subsystem: 5168:0138, board: LifeView FlyVIDEO3000 [card=2,insmod option]
Mar 25 22:00:09 freevo kernel: saa7134[0]/audio: tvaudio thread scan start [2]
Mar 25 22:00:10 freevo kernel: saa7134[0]/audio: scanning 5.500 MHz => dc is 9433 [2262/11695]
Mar 25 22:00:10 freevo kernel: saa7134[0]/audio: scanning 6.000 MHz => dc is 4639 [481/5120]
Mar 25 22:00:11 freevo kernel: saa7134[0]/audio: scanning 6.500 MHz => dc is 171 [-79/92]
Mar 25 22:00:11 freevo kernel: saa7134[0]/audio: audio carrier scan failed, using 5.500 MHz [insmod option]
Mar 25 22:00:20 freevo kernel: saa7134[0]/audio: found audio subchannels: mono stereo

- snips from syslog with 2.6.4 -
Mar 26 18:00:01 freevo kernel: saa7134[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: 0xdf001000
Mar 26 18:00:01 freevo kernel: saa7134[0]: subsystem: 5168:0138, board: LifeView FlyVIDEO3000 [card=2,insmod option]
Mar 26 18:00:02 freevo kernel: saa7134[0]/audio: tvaudio thread scan start [2]
Mar 26 18:00:03 freevo kernel: saa7134[0]/audio: scanning 5.500 MHz => dc is 22938 [-17028/5910]
Mar 26 18:00:04 freevo kernel: saa7134[0]/audio: scanning 6.000 MHz => dc is 5241 [354/5595]
Mar 26 18:00:04 freevo kernel: saa7134[0]/audio: scanning 6.500 MHz => dc is 406 [-123/283]
Mar 26 18:00:04 freevo kernel: saa7134[0]/audio: found PAL main sound carrier @ 5.500 MHz [22938/5241]
Mar 26 18:00:13 freevo kernel: saa7134[0]/audio: found audio subchannels: mono stereo

However, sometimes with 2.6.4 I get the following:
Mar 26 20:35:04 freevo kernel: saa7134[0]/audio: found PAL main sound carrier @ 6.000 MHz [6998/1766]

When this happens, all it records is static.

My recommendation would be to run the 2.6.3 kernel and force the audio_carrier to 5500. I use the following line in my freevo-record.sh script from Freevo:

/sbin/insmod /lib/modules/2.6.4-1-k7/kernel/drivers/media/video/saa7134/saa7134.ko card=02 tuner=05 audio_carrier=5500

Of course, substitute the correct path for the kernel you are running. I am running stock standard Debian packaged kernels.

Good luck. Feel free to ask any questions, I'll try to answer as best I can.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I'd like to use my Pinnacle pctv stereo/Philips SAA7134 tuner card... noware Linux - Hardware 8 09-26-2006 09:51 AM
saa7134 (card=3) tv card bad composite reception kilgor Linux - Hardware 4 08-14-2005 09:00 AM
Need help with saa7134 card mike105105 Linux - Hardware 8 07-27-2005 05:21 PM
No sound with saa7134 tv card dvsidorenko Linux - Hardware 5 10-27-2004 08:15 PM
How to config the philips saa7134 based tv tuner card kinhungw Linux - Hardware 0 12-21-2002 08:04 AM


All times are GMT -5. The time now is 10:26 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
Open Source Consulting | Domain Registration