PDA

View Full Version : SAA7134 Issue (TV Tuner)


Unkemptwolf
2005-03-07, 05:49 PM CST
Hey everyone,

I've got a phillips PCI SAA 7134 card. It works just fine in windows, so I know the hardware it good. FC3 detects it just fine (according to the hardware browser), but TVTime can seem to find it. It shows up in my modprobe.conf file as:

alias char-major-81 saa7134

Which seems to be the same as everyone elses on here. Whats going on? Am i missing something? Oh yea, and when I type "modprobe saa7134" I get no output. Not an error message, just no output. Is that what it should be doing?

panamszr12
2005-04-17, 10:45 AM CDT
I have the same card and am trying to get it going. Maybe you can help????

slacking
2005-05-31, 08:38 AM CDT
I have the same chipset and I cannot get the tuner to work I get no signal in tvtime and i know it works I have tested it in winblows

Aleap of faith
2005-05-31, 01:31 PM CDT
open a terminal
type in su
then put in your root password
next type in after the # gedit / etc/modprobe.conf
Then add this text

alias eth0 e100
alias snd-card-3 snd-intel8x0
options snd-card-3 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0
&& /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1
|| : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias char-major-81 saa7134
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias usb-controller2 uhci-hcd
alias char-major-81 videodev
alias char-major-81-0 saa7134
options saa7134 card=3
options tuner type=2
make sure to hit the return key and save the file
Close all your windows reboot
NOw try to see if it will work
I am using core 3 and test version core 4 test 3
They both work here
Let me know if you have any further questions
Panama

slacking
2005-05-31, 01:36 PM CDT
umm do i need to add the whole thing? or just the

"options saa7134 card=3
options tuner type=2"

and should I use the card=25 for mine and tuner=2 ?

Aleap of faith
2005-05-31, 01:45 PM CDT
alias char-major-81 saa7134
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias usb-controller2 uhci-hcd
alias char-major-81 videodev
alias char-major-81-0 saa7134
options saa7134 card=3
options tuner type=2

Just add this at teh bottom of the modprobe.conf file
the tuner may vary depending on who made your card
I did a search for linux turners and found the setting for mine that way. The card I have is a fly video 2000, but recently I added a new hdtv dard pc3000 and it works great, but I am running a plasma tv from my linux box.

slacking
2005-05-31, 02:00 PM CDT
ill give it a try. does your tuner show up in dmesg?

jtang613
2005-05-31, 02:30 PM CDT
For your AsusTVFM:

I have the same chipset and I cannot get the tuner to work I get no signal in tvtime and i know it works I have tested it in winblows
The key is to determine which card you have. Type the following:
/sbin/lspci -v | grep -i -A 5 SAA71
To find the 4-digit device ID - usually one of: 4842,4830,4840. This is your tuner.

Now for a Asus TVFM, look it up in the v4l saa713x card list:
From the v4l drivers (http://dl.bytesex.org/releases/video4linux/saa7134-0.2.12.tar.gz)
/..../saa7134-0.2.12/doc/CARDLIST.saa7134
16 -> ASUS TV-FM 7134 [1043:4842,1043:4830,1043:4840]
25 -> ASUS TV-FM 7133 [1043:4843]
Now for example - suppose your device ID was found to be 4830, your modprobe command would be:
modprobe saa7134 card=16 tuner=2
And you could add a similar set of options to your /etc/modprobe.conf
Note: the char-major-81 denotes a video device.

hth,
Jason

slacking
2005-05-31, 02:35 PM CDT
thanks for you help

looks like i am screwed i have the 4845

:( anyone want to buy a tv card ?????

jtang613
2005-05-31, 02:47 PM CDT
thanks for you help

looks like i am screwed i have the 4845

:( anyone want to buy a tv card ?????
This means that you probably have the newer AsusTVFM card that I mentioned in your other thread. It uses the saa7135 chip and is thus unsupported. Only the older saa7134 and saa7133 chips are supported - for now.

TV tuners are relatively cheap these days - it shouldn't be hard to find a replacement. Remember to always check the compatibility lists first :)

btw: I actually made the mistake of purchasing that same saa7135 card before my current one. Turns out the vendor had both cards (old - 7133 and new - 7135) but assumed they were the same and advertised both as saa7134. I was lucky enough to realize this in time to refund the "bad" card - and chastise the vendor for causing me such headaches. Sometimes it pays to open the box.

Jason

slacking
2005-05-31, 03:04 PM CDT
arrrrrg (bangs head on kyboard) Well at least i'm not stupid ;) I have linux to blame but I did find this

http://www.linuxhq.com/kernel/v2.6/12-rc1-bk6/drivers/pci/pci.ids

from what I see I can upgreade the kernel and get this to work

"+ 1043 4842 TV-FM Card 7134
7135 SAA7135 Audio+video broadcast decoder
7145 SAA7145
7146 SAA7146"

jtang613
2005-05-31, 03:09 PM CDT
I did a little more searching and it appears that the saa7135 chip will be supported in the 2.6.12 kernel series as undocumented card=53

You *could* theoretically download and install the latest CVS snapshot of the V4L drivers from: http://dl.bytesex.org/cvs-snapshots/ and *possibly* coax the card into working.

Jason

jtang613
2005-05-31, 03:12 PM CDT
Ah, I see you beat me to it :)

Also found this link: http://www.linuxforums.org/forum/topic-42475.html
which lists your card as 53

slacking
2005-05-31, 08:48 PM CDT
ok how do i install a patch http://dl.bytesex.org/patches/2.6.11-1/All-2.6.11.diff.gz to my moduler?

jtang613
2005-05-31, 09:07 PM CDT
You must apply that patch to the kernel-2.6.11 source tree, then recompile and install the kernel.
You can find the kernel source here: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.11.tar.bz2
And the current patch from: http://dl.bytesex.org/patches/2.6.11-2/All-2.6.11.diff.gz
su
cd /usr/src
tar xvjf /path_to_kernel_archive/linux-2.6.11.11.tar.bz2
ln -s linux-2.6.11.11 linux
cd linux
patch -p0 < /path_to_v4l_patch/All-2.6.11.diff.gz
This will patch the kernel source to the current V4L release. You will then need to properly configure, build and install the patched kernel. This is already covered in several howto's. A quick start:
vi Makefile # Append a unique label to the EXTRAVERSION
make oldconfig # Or 'make gconfig'
make install
vi /boot/grub/grub.conf # To make sure the kernel appears in your boot list

hth,
Jason

slacking
2005-05-31, 09:11 PM CDT
umm that sucks :) the only reason im using fedora is because of the "support" for capture cards ..... i might as well upgrade my slackware box to this kernel and go from there ;) oh well we will see what happens thanks for your help i'll let you know the outcome

jtang613
2005-05-31, 09:21 PM CDT
Support is a kernel feature, not a distro feature... and if you want to get really precise - it's actually a vendor issue, since it is the hardware vendor's responsibility to provide OS support.

Jason

jtang613
2005-05-31, 09:32 PM CDT
Just tested my patch method and came up with a few tweaks to get it working - the first set of instructions were just a guess. Here's the tested method:
tar xvzf All-2.6.11.diff.gz
su
cd /usr/src
tar xvjf /path_to_kernel_archive/linux-2.6.11.11.tar.bz2
ln -s linux-2.6.11.11 linux-2.6.11
patch -p0 < /path_to_v4l_patch/All-2.6.11.diff
It will prompt you when it can't find a file that it needs to delete - it is safe to skip that step.

Another way you might want to try is to simply download the 2.6.12 release candidate fro kernel.org

Jason