Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help for noob with saa7134 card
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Sun Nov 20, 2005 8:34 am    Post subject: help for noob with saa7134 card Reply with quote

I am unable to even watch TV. I followed this http://gentoo-wiki.com/HARDWARE_saa7134 but I think I did something wrong. I am unable to detect any channels with tvtime.

Here is output of dmesg
Code:
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC4] -> GSI 19 (level, high) -> IRQ 19
saa7130[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: 0xec004000
saa7130[0]: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130) [card=42,autodetected]
saa7130[0]: board init: gpio is 38500
saa7130[0]: Huh, no eeprom present (err=-5)?
 : chip found @ 0xc2 (saa7130[0])
tuner 0-0061: type set to 17 (Philips NTSC_M (MK2))
 : chip found @ 0xc6 (saa7130[0])
saa7130[0]: registered device video0 [v4l2]
saa7130[0]: registered device vbi0
saa7130[0]: registered device radio0
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x5000
i2c_adapter i2c-2: nForce2 SMBus adapter at 0x5500


I also get alot of:

Code:
tuner 0-0063: tuner type not set
tuner 0-0063: tuner type not set
tuner 0-0063: tuner type not set
tuner 0-0063: tuner type not set


I thought that I set the tuner with
Code:
modprobe saa7134 card=42 tuner=17


Here is applicable from
Code:
lsmod


Code:
i2c_nforce2             5568  0
tuner                  30856  0
saa7134                97684  0
video_buf              15332  2 bttv,saa7134
v4l2_common             4800  2 bttv,saa7134
v4l1_compat            11652  1 saa7134
i2c_core               15712  6 bttv,i2c_algo_bit,tveeprom,i2c_nforce2,tuner,saa7134
ir_common               6756  1 saa7134
videodev                7040  2 bttv,saa7134


I know the card works and the cable strength is good, cause I got the card to work on my windows partition.

Thanks for any help,

gir_doom
Back to top
View user's profile Send private message
immolo
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2005
Posts: 124

PostPosted: Sun Nov 20, 2005 10:58 pm    Post subject: Reply with quote

I had a hell of a time with this card myself but I found if I ran tvtime -scan or tvtime -firstrun (check with tvtime --help as it's been awhile since running) after leaving it 30mins or so to complete I had tv fully working, just make sure that tvtime can use rtc ok else you may find everything to be jerky but if you run tvtime from a termainl it will show you this.

Hope this helps
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Mon Nov 21, 2005 12:27 am    Post subject: Reply with quote

Why is your bttv module loading? You shouldnt even have that enabled unless you have another TV card in your box that uses it.
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Mon Nov 21, 2005 12:37 am    Post subject: Reply with quote

So my config. is correct? How do I stop bttv from loading?

Thanks for the replies. I will try tvtime scan when I get home on lunch (I'm at work).
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Mon Nov 21, 2005 11:28 am    Post subject: Reply with quote

which kernel version are you using?
I just discovered that vanilla-sources-2.6.15_rc2 shows only a blue screen on tvtime, though sound works ok, whereas after re-emerging version 2.6.14 all was OK again..
mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Tue Nov 22, 2005 1:50 am    Post subject: Reply with quote

I am running gentoo-sources-2.6.13.
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Tue Nov 22, 2005 8:37 pm    Post subject: Reply with quote

Ok,

After a struggle for the ability to stay awake (I'm on hour 24 no sleep) I tried to run tvtime -scan and -firstrun and I get an error when I run tvtime from the Konsole.

Here it is:

Code:
Running tvtime 1.0.1.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /root/.tvtime/tvtime.xml
/root/.tvtime/stationlist.xml: No existing NTSC station list "irstrun".
mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.
Thank you for using tvtime.


I don't know why it can't open /dev/mixer. I think I set it up correctly. I have an audio cable running from the tuner card to my audio card.

I also noticed that after the driver loads it finds, loads and registers "device video0 [v412]" and then registers "device vbi0" and "device radio0". This card doesn't have the fm radio feature (it might be part of the driver that is loading though) I'm not sure? Also what is device vbi0? I have no idea what this is, could be my inexperience.

Here is from dmesg about vbi0 and radio:
Code:

Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC4] -> GSI 19 (level, high) -> IR
Q 19
saa7130[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: 0xec00400
0
saa7130[0]: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130) [card=42,aut
odetected]
saa7130[0]: board init: gpio is 38500
saa7130[0]: Huh, no eeprom present (err=-5)?
 : chip found @ 0xc2 (saa7130[0])
tuner 0-0061: type set to 17 (Philips NTSC_M (MK2))
 : chip found @ 0xc6 (saa7130[0])
saa7130[0]: registered device video0 [v4l2]
saa7130[0]: registered device vbi0
saa7130[0]: registered device radio0


Sorry if I am not the most clear in this post, I really need sleep.

Thanks again,

gir
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Nov 22, 2005 9:12 pm    Post subject: Reply with quote

Are you 100% sure that is the right tuner? Where are you located?

You can try displaying tv with mplayer to determine if it is a card configuration problem, or a tvtime configuration problem.
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Sun Nov 27, 2005 12:01 am    Post subject: Reply with quote

I am just outside of St. Louis in IL. I will try mplayer. Is there another way to find out the tuner other that dmesg? I have the tuner set to 17 per the output of dmesg.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Nov 27, 2005 5:11 am    Post subject: Reply with quote

The dmesg output about the tuner can often be wrong. Try tuner=39.

Also make sure tvtime is set for HRC frequencies, not IRC. (Right click to change settings)
Back to top
View user's profile Send private message
Taki
Apprentice
Apprentice


Joined: 22 Sep 2005
Posts: 249
Location: Johannesburg, South Africa

PostPosted: Tue Nov 29, 2005 7:10 am    Post subject: Reply with quote

Wassup.

I have been trying to get my saa7134 (K-world) to work for 2 weeks now. I eventually got it to work with:

Quote:
modprobe saa7134 card=11 tuner=8


The problem is that a pickup only one station for all channels. When I use tvtime-scanner, it picks up each frequency increment as that one station and fills up my station list with that one channel. I get the same result with kdetv.

Lacation: Johannesburg, South Africa
_________________
I live a life of needles and wax.
When the needle touches the wax,
I begin to breathe.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Nov 30, 2005 6:57 am    Post subject: Reply with quote

Taki wrote:
Wassup.

I have been trying to get my saa7134 (K-world) to work for 2 weeks now. I eventually got it to work with:

Quote:
modprobe saa7134 card=11 tuner=8


The problem is that a pickup only one station for all channels. When I use tvtime-scanner, it picks up each frequency increment as that one station and fills up my station list with that one channel. I get the same result with kdetv.

Lacation: Johannesburg, South Africa

Did you try any other card values? These are the kworld ones I see in the documentation:
Code:
 10 -> Kworld/KuroutoShikou SAA7130-TVPCI
 59 -> Kworld/Tevion V-Stream Xpert TV PVR7134
 63 -> Kworld Xpert TV PVR7134

I don't know about tuner values for your area. Do you know the TV signal type: NTSC, PAL, SECAM?
Back to top
View user's profile Send private message
Taki
Apprentice
Apprentice


Joined: 22 Sep 2005
Posts: 249
Location: Johannesburg, South Africa

PostPosted: Wed Nov 30, 2005 7:42 am    Post subject: Reply with quote

South Africa is PAL. PAL-I to be specific.
_________________
I live a life of needles and wax.
When the needle touches the wax,
I begin to breathe.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Nov 30, 2005 8:14 am    Post subject: Reply with quote

Taki wrote:
South Africa is PAL. PAL-I to be specific.

Well, these are the PAL_I tuners listed in the doc:
Code:
tuner=1 - Philips PAL_I (FI1246 and compatibles)
tuner=7 - Temic PAL_I (4062 FY5)
tuner=18 - Temic PAL_I (4066 FY5)
tuner=20 - Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)
tuner=25 - LG PAL_I+FM (TAPC-I001D)
tuner=26 - LG PAL_I (TAPC-I701D)

So you can try the combinations of the last two posts and see if that helps.
(You'll have to unload and then reload the modules trying each combination)
Back to top
View user's profile Send private message
Taki
Apprentice
Apprentice


Joined: 22 Sep 2005
Posts: 249
Location: Johannesburg, South Africa

PostPosted: Wed Nov 30, 2005 1:12 pm    Post subject: Reply with quote

It seem you have a newer kernel than I do. My card listing only goes till 47. kernel-2.6.11-gentoo-r3. Do a kernel update to your kernel. What kernel are you using?
_________________
I live a life of needles and wax.
When the needle touches the wax,
I begin to breathe.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Nov 30, 2005 4:31 pm    Post subject: Reply with quote

Taki wrote:
It seem you have a newer kernel than I do. My card listing only goes till 47. kernel-2.6.11-gentoo-r3. Do a kernel update to your kernel. What kernel are you using?

The current stable version of gentoo-sources ---> 2.6.14-gentoo-r2
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Thu Dec 01, 2005 4:43 am    Post subject: Reply with quote

Ok,

Sorry about the delayed reply, it was a long thanksgiving break. I tried all the tuners that I know of 0-45 and scaned in normal ntsc and ntsc-hrc and no luck. All I get is a blue screen. I think I might try kdetv tomorrow. Any other Ideas?

Thanks again,

Gir
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Thu Dec 01, 2005 5:04 am    Post subject: Reply with quote

Well I decided not to wait. I have kdetv merged and I now have 1 chanel and no sound. I started up kdetv after reseting the tuner to 39 and scaned and it found 133 chanels, which is weird since I only get 0-99 from the cable company. Then I tried to change chanels and all I have is cspn-2 on all of them. I have never used kdetv so I might have done something wrong, but am not sure. At least I am one step further.

Gir
Back to top
View user's profile Send private message
Taki
Apprentice
Apprentice


Joined: 22 Sep 2005
Posts: 249
Location: Johannesburg, South Africa

PostPosted: Thu Dec 01, 2005 12:20 pm    Post subject: Reply with quote

Welcome Back. We don't have thanks giving in S.A.

Anyway, I have the same problem with kdetv and tvtime. I think its just a case of mismatched card to tuner numbers. I am gonna upgrade my kernel to 2.6.14-r2 sometime next weak and see if I get differrent results.
_________________
I live a life of needles and wax.
When the needle touches the wax,
I begin to breathe.
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Thu Dec 01, 2005 11:09 pm    Post subject: Reply with quote

Does the Kernel version realy make that much of a difference? Is there a Kernel Patch that I can load for better support?
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Dec 01, 2005 11:30 pm    Post subject: Reply with quote

gir_doom wrote:
Does the Kernel version realy make that much of a difference? Is there a Kernel Patch that I can load for better support?

Depends. The newer the kernel version, the newer the saa7134 support in it. Newer versions add support for more cards and tuners.
So if you have a newer card, it can matter a lot. Plus there are always fixes/improvements, so the newest you can use the better.
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Sat Dec 03, 2005 1:43 am    Post subject: Reply with quote

I GOT IT!!

Almost.

After trial and error I have TV. Picture quality is beter than in windows.

The correct options for me:

Code:
modprobe saa7134 card=4 tuner=39


I still have one problem. I have no sound. How do I remedy this? I also tried the above with the oss=1 option with no luck.

Her is what I get when I run tvtime from a root shell:

Code:
tvtime
Running tvtime 1.0.1.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /root/.tvtime/tvtime.xml
mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.


I don't know what I did wrong. I didn't set up a mixer in the proccess, should I? I am listening to music on amaroK right now.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Dec 03, 2005 1:56 am    Post subject: Reply with quote

Try this:
Code:
tvtime --mixer=/dev/mixer:line

and don't forget to raise the volume in tvtime by using the right-arrow key.

Edit: Another thing, in tvtime menu under "Input configuration" -> "Change video source", try TV (mono only)
Back to top
View user's profile Send private message
gir_doom
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2005
Posts: 82
Location: SAFB

PostPosted: Sat Dec 03, 2005 2:02 am    Post subject: Reply with quote

Still no luck. I get the same tvtime error.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Dec 03, 2005 2:23 am    Post subject: Reply with quote

If you open up your favorite mixer and adjust the line mixer do you hear the TV?
(you should be able to hear it without running any tv program.)

If not, are you 100% sure your pass-through cable is plugged into right spot on tv card and sound card line input?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum