View previous topic :: View next topic |
Author |
Message |
gmichels Guru
Joined: 20 Jun 2003 Posts: 480 Location: Brazil
|
Posted: Tue Nov 16, 2004 3:24 am Post subject: Pinnacle PCTV Pro and sound (color system related) [solved] |
|
|
Hi
I own a Pinnacle PCTV which I bought a few months ago while I was travelling abroad. In fact, the travelling part is the problem: the card is NTSC and my country's system is PAL-M.
That didn't seem to be a problem for "the other OS", as after a few configurations steps, everything was running ok. Today I started trying to get this thing working on linux.
After a few searches, I managed to get the card working using the kernel's (2.6.9-gentoo-r1) provided bttv driver and also tvtime (MUCH better than that slow PCTV Vision crap). After configuring tvtime to treat the input as PAL-M, I got a nice tv on my linux desktop. Even did a channel scan, worked like a charm.
It was only missing the sound, and that's where my problem starts. I narrowed the problem to these two facts:
- if I set the tuner to PAL-M, all I get is an irritating noise as sound output
- if I set the tuner to NTSC, the sound comes out alright, but the video is then black and white (and some other few glitches too)
I tried a bit of searching the forums and googling, but couldn't find anything helpful.
Here is some technical stuff that might help (I am loading bttv without any special options):
Code: | dmesg relevant stuff
bttv0: Bt878 (rev 17) at 0000:01:0a.0, irq: 18, latency: 32, mmio: 0xd8000000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffefff [init]
tda9885/6/7: chip found @ 0x86
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: pinnacle/mt: id=5 info="NTSC / mono" radio=no
bttv0: using tuner=33
tuner: type set to 33 (MT20xx universal) by bt878 #0 [sw]
tuner: microtune: companycode=3cbf part=42 rev=90
tuner: microtune MT2050 found, OK
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
lspci relevant output:
0000:01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Pinnacle Systems Inc. PCTV pro (TV + FM stereo receiver)
Flags: bus master, medium devsel, latency 32, IRQ 18
Memory at d8000000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
0000:01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Pinnacle Systems Inc. PCTV pro (TV + FM stereo receiver, audio section)
Flags: bus master, medium devsel, latency 32, IRQ 18
Memory at d8001000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2 |
Anyone have any idea?
Thanks!
Last edited by gmichels on Fri Dec 24, 2004 2:15 pm; edited 1 time in total |
|
Back to top |
|
|
gmichels Guru
Joined: 20 Jun 2003 Posts: 480 Location: Brazil
|
Posted: Fri Dec 24, 2004 2:14 pm Post subject: |
|
|
Just to inform anyone who might have this problem.
Yesterday, while talking about this problem to tvtime developer vektor, he found a bug on the source code. My card uses the TDA9887 chip to decode audio, so the problem is on tda9887.c.
It's a very simple fix. Here's the patch:
Code: | --- tda9887.c.orig 2004-12-24 01:23:14.645056464 -0200
+++ tda9887.c 2004-12-24 01:23:14.645056464 -0200
@@ -442,7 +442,7 @@
bCarrierMode = cQSS;
}
}
- if (t->std & V4L2_STD_NTSC) {
+ if (t->std & V4L2_STD_NTSC || t->std & V4L2_STD_PAL_M || t->std & V4L2_STD_PAL_N) {
if ((5 == t->pinnacle_id) || (6 == t->pinnacle_id)) {
bCarrierMode = cIntercarrier;
} else { |
I have already sent the patch upstream so in future kernel releases it will be fixed. |
|
Back to top |
|
|
|
|
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
|
|