Eike Lantzsch schrieb:
Hi y'all:
I have a Pinnacle PCTV Stereo card with a Philips SAA7133 chip and
a Microtune MT2050. It also seems to have a TDA9887 chip.
This card works [cough, cough] with PAL-N and PAL-Nc under MS [cough]
WindowsXP [cough] SP2 [choke] and the original Pinnacle drivers :-P [clears
throat]
I purchased this card because the information I had, said that it
comes with a Brooktree chip. But, alas, Pinnacle changed the design.
(Need to add: I am located in Paraguay - not always on the edge of
technology.)
On Debian Sid with kernel 2.6.9 and KDE 3.3.1 here is a different story
however:
I can record videos allright from my VCR, which outputs a PAL-Nc
signal. But "scantv -a" does only find spurious signals. It does not
seem to recognize PAL-N signals.
Hi,
just something in short for over the weekend. Guess that needs a more closer
lookup. In case of the vcr all is done by the saa7133, but in case of Pal-Nc we
have also a report picture and tv-sound stereo (mono & SAP not yet) is working
on an FV3K saa7133 with tuner=39 _without_tda9887 from Alfredo.
The tda9887 has no entry yet for Pal-Nc and you can not set it and get an error
unknown tv-norm if you call it. Else in recent snapshots Pal-M and Pal-N is
subsumed under the same settings and you can call it from userspace with a
recent xawtv.
If that fails, probably the settings for the Pal-N norm needs further
investigations.
xawtv and tvtime play the sound of our local TV stations allright
and also the sound of what I receive via "cable" (this is actually
via microwave and decoded with a decoder under the roof).
But the picture is black&white and with a sync-bar in the upper
third. It looks exactly as if I tried to watch a PAL-N signal
with a PAL(Europe)-TVset.
The drivers for SAA7134 support PAL-Nc OK but do not seem to support
PAL-N in any way.
PAL-N is the norm with 4.5MHz sound carrier used in Argentina,
Uruguay and Paraguay for terrestrial Broadcast. PAL-Nc has 5.5MHz
sound carrier and is used in Argentina for cable-TV.
On a short look I catch some swapped and unsteady info on that, for example 50
Hz for Pal-N and Nc Line/Field 625/50 and 59.94Hz for Pal-M 525/60. If that is
true, it could be the reason for the sync problems you seem to have when
Pal-M/N is called as same from saa7134-video.c through tda9887.c. Except to
verify the norm details _first_, also against the headers and the v4l2 api, it
looks like Pal-N needs an entry in the struct_saa7134_tvnorm in saa7134-video.c
and also in tda9887.c then.
That is very preliminary, maybe better wait for more comments of those who
might be already closer on that before you start with it.
Greetings,
Hermann
What I like to know is how I can switch or patch the driver(s) for
PAL-N. Which files do I have to look at?
saa7134.c, tda9887.c, tuner.c or anything else or less?
Please be so kind as to give me a hint as where to start.
Below follows some debug info which I gathered from lspci and kern.log
If wanted I can send a scan of the card.
Kind regards, Eike Lantzsch
lspci:
0000:00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738
(rev10)
0000:00:08.0 Multimedia controller: Philips Semiconductors SAA7133
Audio+videobroadcast decoder (rev 10)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4
MX440] (rev a3)
/var/log/kern.log:
Dec 4 07:48:54 lxcl01 kernel: msp3400: Ignoring new-style parameters in
presence of obsolete ones
Dec 4 07:48:54 lxcl01 kernel: tuner: Ignoring new-style parameters in
presence of obsolete ones
Dec 4 07:48:54 lxcl01 kernel: bttv: driver version 0.9.15 loaded
Dec 4 07:48:54 lxcl01 kernel: bttv: using 8 buffers with 2080k (520 pages)
each for capture
Dec 4 07:48:54 lxcl01 kernel: tvaudio: Ignoring new-style parameters in
presence of obsolete ones
Dec 4 07:48:54 lxcl01 kernel: tvaudio: TV audio decoder + audio/video mux
driver
Dec 4 07:48:54 lxcl01 kernel: tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54
(PV951),ta8874z
Dec 4 07:48:54 lxcl01 kernel: saa7130/34: v4l2 driver version 0.2.12 loaded
Dec 4 07:48:54 lxcl01 kernel: PCI: Enabling device 0000:00:08.0 (0004 ->
0006)
Dec 4 07:48:54 lxcl01 kernel: PCI: Found IRQ 11 for device 0000:00:08.0
Dec 4 07:48:54 lxcl01 kernel: PCI: Sharing IRQ 11 with 0000:01:00.0
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: found at 0000:00:08.0, rev: 16,
irq: 11, latency: 32, mmio: 0xe5800000
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: subsystem: 11bd:002b, board:
Pinnacle PCTV Stereo (saa7134) [card=26,insmod option]
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: board init: gpio is 0
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/core: hwinit1
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: gpio: mode=0x0000000 in=0x0000000
out=0x0000000 [pre-init]
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/audio: dsp write reg 0x46c =
0xbbbbbb
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: dsp access wait timeout [bit=WRR]
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/audio: dsp write reg 0x46c =
0xbbbb10
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: dsp access wait timeout [bit=WRR]
Dec 4 07:48:54 lxcl01 kernel: tuner: chip found at addr 0xc0 i2c-bus saa7133
[0]
Dec 4 07:48:54 lxcl01 kernel: tuner: type set to 33 (MT20xx universal) by
saa7133[0]
Dec 4 07:48:54 lxcl01 kernel: tuner: MT2032 hexdump:
Dec 4 07:48:54 lxcl01 kernel: 42 2f 25 c1 00 63 10 88 29 04 85 99 e3 aa f0
15
Dec 4 07:48:54 lxcl01 kernel: 24 3c bf 42 2f
Dec 4 07:48:54 lxcl01 kernel: tuner: microtune: companycode=3cbf part=42
rev=2f
Dec 4 07:48:54 lxcl01 kernel: mt2050: sro is aa
Dec 4 07:48:54 lxcl01 kernel: tuner: microtune MT2050 found, OK
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: i2c eeprom 00: bd 11 2b 00 f8 f8 1c
00 43 43 a9 1c 55 d2 b2 92
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: i2c eeprom 10: 00 00 19 0e ff 20 ff
ff ff ff ff ff ff ff ff ff
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: i2c eeprom 20: 01 40 01 03 03 ff 03
01 08 ff 00 53 ff ff ff ff
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/core: hwinit2
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/video: set tv norm = PAL
Dec 4 07:48:54 lxcl01 kernel: tuner: switching to v4l2
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/video: video input = 0 [Television]
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/video: set tv norm = PAL
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/audio: dsp write reg 0x474 =0x000000
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]/audio: dsp write reg 0x450 =0x000000
Dec 4 07:48:54 lxcl01 kernel: tda9887: Unknown parameter `norm'
Dec 4 07:48:54 lxcl01 kernel: tda9887: Ignoring new-style parameters in
presence of obsolete ones
Dec 4 07:48:54 lxcl01 kernel: tda9885/6/7: chip found @ 0x86
Dec 4 07:48:54 lxcl01 kernel: tda9885/6/7: Oops: no tvnorm entry found
Dec 4 07:48:54 lxcl01 kernel: tda9885/6/7: writing: b=0xc2 c=0x10 e=0x00
Dec 4 07:48:54 lxcl01 kernel: tda9885/6/7: write: byte B 0xc2
Dec 4 07:48:54 lxcl01 kernel: B0 video mode : sound trap
Dec 4 07:48:54 lxcl01 kernel: B1 auto mute fm : yes
Dec 4 07:48:54 lxcl01 kernel: B2 carrier mode : Intercarrier
Dec 4 07:48:54 lxcl01 kernel: B3-4 tv sound/radio : AM/TV
Dec 4 07:48:54 lxcl01 kernel: B5 force mute audio: no
Dec 4 07:48:54 lxcl01 kernel: B6 output port 1 : high
Dec 4 07:48:54 lxcl01 kernel: B7 output port 2 : high
Dec 4 07:48:54 lxcl01 kernel: tda9885/6/7: write: byte C 0x10
Dec 4 07:48:54 lxcl01 kernel: C0-4 top adjustment : 0 dB
Dec 4 07:48:54 lxcl01 kernel: C5-6 de-emphasis : no
Dec 4 07:48:54 lxcl01 kernel: C7 audio gain : 0
Dec 4 07:48:54 lxcl01 kernel: tda9885/6/7: write: byte E 0x00
Dec 4 07:48:54 lxcl01 kernel: E0-1 sound carrier : 4.5 MHz
Dec 4 07:48:54 lxcl01 kernel: E6 l pll ganting : 13
Dec 4 07:48:54 lxcl01 kernel: E2-4 video if : 58.75 MHz
Dec 4 07:48:54 lxcl01 kernel: E5 tuner gain : normal
Dec 4 07:48:54 lxcl01 kernel: E7 vif agc output : pin3+pin22 port
Dec 4 07:48:54 lxcl01 kernel: --
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: registered device video0 [v4l2]
Dec 4 07:48:54 lxcl01 kernel: saa7133[0]: registered device vbi0
that is the no norm detected on startup or for Pal-Nc, can't work such.
Here is the info on PAL-Nc and PAL-N, which I found on a web-site:
Diferencia entre PAL-N y PAL-Nc
PAL (Combination N) [] (This seems to be "N-cable" correctly)
Line/Field = 625/50
FH = 15.625 khz
FV = 50 Hz
FSC = 4.43361875 Mhz
Blanking Setup = 7.5 IRE
Video Bandwidth = 5.0 Mhz
Audio Carrier = 5.5 Mhz
Channel Bandwidth = 7 Mhz
IF-Frequency = ? MHz
PAL (N) [Argentina]
Line/Field = 625/50
FH = 15.625 khz
FV = 50 Hz
FSC = 3.58205625 Mhz (Burst Frequency)
Blanking Setup = 0 IRE
Video Bandwidth = 4.2 Mhz
Audio Carrier = 4.5 Mhz
Channel Bandwidth = 6 Mhz
IF-Frequency = ? MHz
read it exactly swapped for the audiocarrier somewhere.
--
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
[Home]
[Older V4L]
[Linux DVB]
[Video Disk Recorder]
[Video Technology]
[Asterisk]
[Photo]
[DCCP]
[Netdev]
[Plasma TVs]
[Video Projectors]
[PDAs]
[Xorg]
[Util Linux NG]
[Xfree86]
[Devices]
[Big List of Linux Books]
[Free Photo Albums]
[LCD TVs]
[Fedora Users]
[Webcams]
[Fedora Women]
[HDTV]
[ALSA Users]
[ALSA Devel]
[Stuff]
[SSH]
[Linux USB]