Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
v4linux hardware setup issue!
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
jpnag
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 113
Location: Portugal/Oporto

PostPosted: Sun Mar 12, 2006 10:40 pm    Post subject: v4linux hardware setup issue! Reply with quote

Hi!
I have brought a TV card, Pinnacle PCTV 310i, and after some research I have found out that my card was supported by v4l, however the card parameter should point to 77 (Pinnacle PCTV 110i) as u may notice in here http://www.linuxtv.org/v4lwiki/index.php/Pinnacle_PCTV_310i.

I have setup the card and later the tunner to 33 (MT20XX since my card uses MT2050), however the output of dmesg was,
Code:
saa7133[0]: found at 0000:05:06.0, rev: 208, irq: 21, latency: 32, mmio: 0xd0000000
saa7133[0]: subsystem: 11bd:002f, board: Pinnacle PCTV 110i (saa7133) [card=77,insmod option]
saa7133[0]: board init: gpio is 600c000
input: Pinnacle PCTV as /class/input/input3
saa7133[0]: i2c eeprom 00: bd 11 2f 00 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: ff e0 60 06 ff 20 ff ff 00 30 8d 2c df a1 ff ff
saa7133[0]: i2c eeprom 20: 01 2c 01 02 02 01 04 30 98 ff 00 a5 ff 21 00 c2
saa7133[0]: i2c eeprom 30: 96 10 03 32 15 20 ff ff 0c 22 17 88 03 45 ce 7d
saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner 0-004b: chip found @ 0x96 (saa7133[0])
tuner 0-004b: microtune: companycode=8000 part=22 rev=06
tuner 0-004b: microtune unknown found, not (yet?) supported, sorry :-/
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0


and after starting tvtime and trying to scan for channels I got this msg from the kernel
Code:
tuner 0-004b: Tuner has no way to set tv freq


Does any1 knows how to work around this if there is a work around?

PS - it works with the tda8275a tuner however with results that are far from good....
_________________
Never argue with an idiot, we will drag you down to his level and beat you up with experience!
Back to top
View user's profile Send private message
Mr_Myaghi
n00b
n00b


Joined: 29 Jul 2002
Posts: 70
Location: Sweden/Uppsala

PostPosted: Fri Sep 01, 2006 10:39 pm    Post subject: Reply with quote

I have the same card but unfortunately I haven't got it working at all yet. Try tuner=61. If that doesn't work try an older version of v4l.
Quote:
If installation works ok for you but you cannot tune with scan, follow this procedure: Look into /var/log/messages for a line containing: "v4l2 driver version". If this is version 0.2.14 you can try to replace it with an older version. 0.2.14 introduced tuning problems for the 300i. Note that the Pinnacle 300i is a hybrid card, for which you can install both tv and dvb-t tuner. For the latter the video4linux drivers of kernels 2.6.12, 2.6.13 and 2.6.13.1 don't work. Use a snapshot here: http://www.linuxtv.org/downloads/video4linux/video4linux-20050627.tar.gz Unpack this in /usr/src, cd into it and type "make" followed by "make install". This will directly overwrite installed dvb-t related kernel modules in /lib/modules/<kernel-version>/... If you encounter compilation errors (2.6.13.1 kernel, you will), go into /usr/src/video4linux open up the two files msp3400.c and video-buf-dvb.c, search for the line containing "refrigerator" and remove the content in between the parantheses. Don't remove the parantheses themselves. If the 300i is your only tuner card you can also open up Make.config and change all "m" to "n" in the three CX88 related lines. These steps will workaround the incompatibilities of the old video4linux source code with the newer kernel headers.

_________________
Wax on, Wax off, Gentoo-san.
Back to top
View user's profile Send private message
jpnag
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 113
Location: Portugal/Oporto

PostPosted: Fri Sep 22, 2006 11:38 pm    Post subject: Reply with quote

(Better latter than never :P )

Well I have it working! I can't get a perfect image but it's more than acceptable.
try this:
Code:

modprobe saa7134 card=77 tuner=54
sysctl -w dev.rtc.max-user-freq=1024


That last line is just to remove some annoying error/warning messages...I think :?:

...don't forget to tell me how it went!
_________________
Never argue with an idiot, we will drag you down to his level and beat you up with experience!
Back to top
View user's profile Send private message
sebastiao
n00b
n00b


Joined: 09 Dec 2005
Posts: 32
Location: Lisbon, Portugal

PostPosted: Sat Nov 04, 2006 9:29 pm    Post subject: Reply with quote

Olá,

I have that same card, but I've had no sucess so far, not even a bad image.

Can you confirm the version of the 310i card? My lspci shows
Code:
 01:00.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d0)


After modprobe saa7134 card=77 tuner=54 I get this in dmesg
Code:
 saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 21 (level, low) -> IRQ 21
saa7133[0]: found at 0000:01:00.0, rev: 208, irq: 21, latency: 32, mmio: 0xf49ff000
saa7133[0]: subsystem: 0000:0000, board: Pinnacle PCTV 40i/50i/110i (saa7133) [card=77,insmod option]
saa7133[0]: board init: gpio is 600c000
input: Pinnacle PCTV as /class/input/input3
ir-kbd-i2c: Pinnacle PCTV detected at i2c-3/3-0047/ir0 [saa7133[0]]
saa7133[0]: i2c eeprom 00: 00 00 00 00 00 00 00 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: ff e0 60 06 ff 20 ff ff 00 30 8d 2c 3c 47 ff ff
saa7133[0]: i2c eeprom 20: 01 2c 01 02 02 01 04 30 98 ff 00 a5 ff 21 00 c2
saa7133[0]: i2c eeprom 30: 96 10 03 32 15 20 ff ff 0c 22 17 88 03 28 b8 a9
saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0


Notice there is nothing with "tuner".

On tvtime I get no signal at all. Would you please name the differences in your logs? I followed the kernel configuration on http://gentoo-wiki.com/HARDWARE_saa7134. Thanks!
Back to top
View user's profile Send private message
jpnag
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 113
Location: Portugal/Oporto

PostPosted: Mon Nov 06, 2006 7:41 pm    Post subject: Reply with quote

Do you mind posting your kernel settings regarding v4linux?
And is I2S activated?
Kernel version?
_________________
Never argue with an idiot, we will drag you down to his level and beat you up with experience!
Back to top
View user's profile Send private message
sebastiao
n00b
n00b


Joined: 09 Dec 2005
Posts: 32
Location: Lisbon, Portugal

PostPosted: Mon Nov 06, 2006 8:51 pm    Post subject: Reply with quote

Thanks,

You mean I2C? Yes, it's activated and as of this moment I'm using the mercurial drivers not the kernel ones. These already have card=101 as Pinnacle 310i. The kernel is the more recent gentoo one.

But since my post I've realised the problem might be that there are _several_ versions of the 310i, with different tuners/chips. Could you confirm if yours is the same? TDA10046A+SAA7131E. I can't find a tuner like the one almost everyone mentions:tda8xxx . This TDA10046A does digital and analogue, so at the moment I'm trying to compile the dvb drivers that include hybrids like mine.

I've posted a photo here : http://mega.ist.utl.pt/~nhqb/dsc00189.jpg

Please compare w/ yours (plz!), I'm posting the results at the v4l mailing list to the developers.

Cheers
Back to top
View user's profile Send private message
lennert
n00b
n00b


Joined: 03 May 2005
Posts: 49
Location: netherlands

PostPosted: Tue Jan 16, 2007 11:10 pm    Post subject: Reply with quote

Are you trying to get the dvb-t to work or only the analogue part? I've got dvb-t to work. You might get it to work via mercurial. Firmware is needed to get it to work. Ive used http://gentoo-wiki.com/HARDWARE_saa7134 and a german wiki to get it to work. Sorry I can't find a how done. Still trying to get the remote to work though. But it will work better than the pinnacle software for windoze. Good luck! Try http://linuxtv.org/v4lwiki/index.php/Pinnacle_PCTV_310i
_________________
'nkee?
Back to top
View user's profile Send private message
sebastiao
n00b
n00b


Joined: 09 Dec 2005
Posts: 32
Location: Lisbon, Portugal

PostPosted: Tue Jan 16, 2007 11:23 pm    Post subject: Reply with quote

Thank you, as for me i discovered that the main problem was that my card got broken. It's only one year old, but I think all this eeprom testing ruined the memory, choosing the wrong drivers may cause this I think.
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