Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto configure and record from tv tuner?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Thu Jul 13, 2006 8:08 pm    Post subject: howto configure and record from tv tuner? Reply with quote

The story:

I recently purchased a cheap TV tuner made by Medion (chip by Phillips) for testing.

I started with Windows to, sort of, make sure the card is working. I got some images so at least I'm positive this piece of hardware is technically ok. The quality of input is another thing, but it's unimportant right now.

I plugged the card into by Gentoo box running not-so-fresh 2.6.12 kernel. I did all the kernel configuration as stated in:
http://gentoo-wiki.com/HARDWARE_saa7134
meaning modules, card/tuner parameters and so on. After hours of trying different options I finally got it working. But, after a reboot, everything was gone and I was forced to start again, unfortunately, without any effects...

That's why I dare ask You to help me to solve this issue...

Tech info
Code:
lspci  | grep SAA
01:06.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder (rev 01)


Code:
modprobe saa7134
saa7134[0]: found at 0000:01:06.0, rev: 1, irq: 11, latency: 32, mmio: 0xfebdfc00
saa7134[0]: subsystem: 16be:0003, board: Medion 7134 [card=12,insmod option]
saa7134[0]: board init: gpio is 0
tuner 0-0060: chip found @ 0xc0 (saa7134[0])
tuner 0-0060: type set to 24 (Philips PAL/SECAM multi (FQ1216ME))
tda9885/6/7: chip found @ 0x86
saa7134[0]: i2c eeprom 00: be 16 03 00 08 20 1c 55 43 43 a9 1c 55 43 43 a9
saa7134[0]: i2c eeprom 10: ff ff ff ff 15 00 0e 01 0c c0 08 00 00 00 00 00
saa7134[0]: i2c eeprom 20: 00 00 00 e3 ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: registered device video0 [v4l2]
saa7134[0]: registered device vbi0
saa7134[0]: registered device radio0


Code:
 cat /etc/modules.d/saa7134
options saa7134 i2c_scan=0 card=12 tuner=24


Testing

I tested the setup using tvtime, my settings are as follows:
- Freq. table: Europe
- TV standard: PAL (default in Europe)
- video source: Television

The card is connected to a tv-antenna with a coaxial cable. When I issue 'scan' in tvtime i only get blue screen with numbers switching from 0 to 140, no image.


Since I DID worked quite well before I think I must have missed something but without your help I'm unable to determine what... Any suggestions greatly appreciated ;)

Thanks.


Last edited by zgredek on Sun Jul 16, 2006 8:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
cbx550f
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 112
Location: Ontario, Canada

PostPosted: Thu Jul 13, 2006 9:00 pm    Post subject: Reply with quote

In my experience, any card I have wouldn't work with an antenna - it needs a boosted signal.

Have you tried using svideo or composite input? (ie: connect to a DVD player or Camcorder or something)
_________________
I think, therefore I am wrong.
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Fri Jul 14, 2006 2:13 pm    Post subject: Reply with quote

cbx550f wrote:
In my experience, any card I have wouldn't work with an antenna - it needs a boosted signal.

Have you tried using svideo or composite input? (ie: connect to a DVD player or Camcorder or something)


1) The card does not support composite and/or svideo input, so have to stick with what I have.
2) It's not really an 'antenna'. I just call the source of the signal like that.

Any thoughts?
Back to top
View user's profile Send private message
Jykke
Apprentice
Apprentice


Joined: 31 Mar 2006
Posts: 246

PostPosted: Fri Jul 14, 2006 3:01 pm    Post subject: Reply with quote

Hmmm...
you have the saa7134 in modules/autoload so that you get it from boot, I assume?
dmesg should also leave some message about creating the devices...(and hopefully no errors)

However, I think that the problem is not there. I think "television" is wrong in tvtime, IRC there is also "antenna".
You can try the diffent ones. Also it would not harm to install xawtv and try there as well
whereas I think tvtime has easier tuning of the channels...
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Sat Jul 15, 2006 5:58 pm    Post subject: Reply with quote

Jykke wrote:
Hmmm...
you have the saa7134 in modules/autoload so that you get it from boot, I assume?
dmesg should also leave some message about creating the devices...(and hopefully no errors)

However, I think that the problem is not there. I think "television" is wrong in tvtime, IRC there is also "antenna".
You can try the diffent ones. Also it would not harm to install xawtv and try there as well
whereas I think tvtime has easier tuning of the channels...


yes, saa7134 is being autoloaded on reboot:
Code:
cat /etc/modules.autoload.d/kernel-2.6 | grep saa
saa7134


dmesg:
Code:
saa7134[0]: registered device video0 [v4l2]
saa7134[0]: registered device vbi0
saa7134[0]: registered device radio0

Code:
 ls -l /dev/v4l/
total 0
crw-rw----  1 root video 81,  64 Jul 14 18:43 radio0
crw-rw----  1 root video 81, 224 Jul 14 18:43 vbi0
crw-rw----  1 root video 81,   0 Jul 14 18:43 video0



And it doesn't work... I mean, it sometimes shows an image in tvtime (only in 'singal detection' off mode) but it's very noisy. Looks like wrong tuner setting and/or wrong channel(?), location setting(?).

Any hints?
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Thu Nov 09, 2006 10:36 pm    Post subject: Reply with quote

I eventually managed to configure the card by myself. The right settings in this case are:
Code:
cat /etc/modules.d/saa7134
options saa7134 card=12 tuner=12 oss=1


However, some other tuners/cards work as well:
| card | tuner |
| 9 | 11 |
| 8 | 51 |


EDIT:
My next question is about recording video/sound from the card. I've read the doc on wiki, but hey, isn't it strange to write 3 lines of text just to record a couple of minutes of a movie?

So, are there any good (read: working) GUI-enabled programes to do the dirty work for me? If not, what should I do to record?

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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