By Date: <-- -->
By Thread: <-- -->

Opensuse 10 - Leadtek PVR2000 - unable to get audio working



Do you link the audio output of the PVR to the sound card?

Or your sound card that you link to is configured correctly?(the "line in"
or the "cd in" or other)

2006/5/1, Bernie <bernie-lists (at) xs4all.nl>:

Hi everybody,

Since I have Linux in use (for about one year)  I've been able to tackle
every problem in couple of days except for this one.
I have a Leadtek PVR2000 installed in my system (AMD x86_64, opensuse 10
with all updates available via Yast) and I'm able to tune to channels and
get a nice picture.
However, despite all efforts and tips and tricks found on the internet I
still am not able to get any sound from the card. I connected the audio out
of my TV card  (two tulip connectors ) to my stereo amplifier so to be sure
to circumvent any problems related to ALSA , soundcard etc.

- When starting up the machine or reloading modules manually (cx8800,
cx88xx, cx8802, cx88_blackbird, tda9887, tuner) I get a lot of noise to my
speaker telling me that the tuner has not (yet) tuned to a station. loading
tda9887 ends it.
- scantv finds a lot of stations (norm = PAL-BG , channels = Western
Europe).
- When I start xawtv and choose a station, I get video (though I have to
adapt hue, saturation etc) but the audio goes totally silent. If I switch
between stations I get scratchy noises like needle on a vinyl plate. I'm
sure v4l is not muted or too low on volume (checked it using 'v4lctl list')
- kernel 2.6.13-15.8-default

'lspci -vv -s 00:0c'
00:0c.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and
Audio Decoder (rev 05)
        Subsystem: LeadTek Research Inc. Leadtek PVR 2000
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 177
        Region 0: Memory at 00000000dd000000 (32-bit, non-prefetchable)
[size=16M]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0c.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio
Decoder [MPEG Port] (rev 05)
        Subsystem: LeadTek Research Inc. Leadtek PVR 2000
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 177
        Region 0: Memory at 00000000de000000 (32-bit, non-prefetchable)
[size=16M]
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-



I fiddled with all kind of parameters, especially with tda9887 (pal, qss,
port1, port2) but with no result at all.

Now I did the following:
1) modprobe cx88xx tuner=38 card=9 audio_debug=1 && modprobe cx8800
2) rmmod tda9887
3) modprobe tda9887 debug=2     <--- ends noise

and then I start xawtv and zap between some stations.

Please find below  the kernel log output since loading 1)

Apr 30 21:10:00 bernie kernel: cx2388x v4l2 driver version 0.0.5 loaded
Apr 30 21:10:00 bernie kernel: ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI
16 (level, low) -> IRQ 177
Apr 30 21:10:00 bernie kernel: cx88[0]: subsystem: 107d:663c, board:
Leadtek PVR 2000 [card=9,insmod option]
Apr 30 21:10:00 bernie kernel: TV tuner 38 at 0x1fe, Radio tuner -1 at
0x1fe
Apr 30 21:10:00 bernie kernel: i2c-algo-bit.o: (0) scl=1, sda=1
Apr 30 21:10:00 bernie kernel: i2c-algo-bit.o: (1) scl=1, sda=0
Apr 30 21:10:00 bernie kernel: i2c-algo-bit.o: (2) scl=1, sda=1
Apr 30 21:10:00 bernie kernel: i2c-algo-bit.o: (3) scl=0, sda=1
Apr 30 21:10:00 bernie kernel: i2c-algo-bit.o: (4) scl=1, sda=1
Apr 30 21:10:00 bernie kernel: i2c-algo-bit.o: cx88[0] passed test.
Apr 30 21:10:00 bernie kernel: cx88[0]/0: found at 0000:00:0c.0, rev: 5,
irq: 177, latency: 32, mmio: 0xdd000000
Apr 30 21:10:00 bernie kernel:  : chip found  (at)  0xc0 (cx88[0])
Apr 30 21:10:00 bernie kernel:  : All bytes are equal. It is not a TEA5767
Apr 30 21:10:00 bernie kernel: tuner 0-0060: type set to 38 (Philips
PAL/SECAM multi (FM1216ME MK3))
Apr 30 21:10:00 bernie kernel: tda9885/6/7: chip found  (at)  0x86
Apr 30 21:10:00 bernie kernel: cx88[0]/0: registered device video0 [v4l2]
Apr 30 21:10:00 bernie kernel: cx88[0]/0: registered device vbi0
Apr 30 21:10:00 bernie kernel: cx88[0]/0: registered device radio0
Apr 30 21:10:00 bernie kernel: cx88[0]/0: set_audio_standard_BTSC (status:
known-good)
Apr 30 21:10:00 bernie kernel: cx88[0]/0: cx88: tvaudio thread started
Apr 30 21:10:01 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfe72 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:02 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfe32 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:03 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfe72 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:04 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfdb2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:06 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfeb2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:07 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfe32 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:08 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfef2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:09 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfe72 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:11 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfe32 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:13 bernie kernel: tda9885/6/7: chip found  (at)  0x86
Apr 30 21:10:13 bernie kernel: tda9885/6/7: Oops: no tvnorm entry found
Apr 30 21:10:13 bernie kernel: tda9885/6/7: writing: b=0xc0 c=0x10 e=0x00
Apr 30 21:10:13 bernie kernel: tda9885/6/7: write: byte B 0xc0
Apr 30 21:10:13 bernie kernel:   B0   video mode      : sound trap
Apr 30 21:10:13 bernie kernel:   B1   auto mute fm    : no
Apr 30 21:10:13 bernie kernel:   B2   carrier mode    : Intercarrier
Apr 30 21:10:13 bernie kernel:   B3-4 tv sound/radio  : AM/TV
Apr 30 21:10:13 bernie kernel:   B5   force mute audio: no
Apr 30 21:10:13 bernie kernel:   B6   output port 1   : high (inactive)
Apr 30 21:10:13 bernie kernel:   B7   output port 2   : high (inactive)
Apr 30 21:10:13 bernie kernel: tda9885/6/7: write: byte C 0x10
Apr 30 21:10:13 bernie kernel:   C0-4 top adjustment  : 0 dB
Apr 30 21:10:13 bernie kernel:   C5-6 de-emphasis     : no
Apr 30 21:10:13 bernie kernel:   C7   audio gain      : 0
Apr 30 21:10:13 bernie kernel: tda9885/6/7: write: byte E 0x00
Apr 30 21:10:13 bernie kernel:   E0-1 sound carrier   : 4.5 MHz
Apr 30 21:10:13 bernie kernel:   E6   l pll ganting   : 13
Apr 30 21:10:13 bernie kernel:   E2-4 video if        : 58.75 MHz
Apr 30 21:10:13 bernie kernel:   E5   tuner gain      : normal
Apr 30 21:10:13 bernie kernel:   E7   vif agc output  : pin3+pin22 port
Apr 30 21:10:13 bernie kernel: --
Apr 30 21:10:13 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfe72 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:14 bernie kernel: cx88[0]/0: AUD_STATUS: 0x72 [mono/no pilot]
ctl=BTSC_AUTO_STEREO
Apr 30 21:10:15 bernie kernel: cx88[0]/0: AUD_STATUS: 0x1f2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:16 bernie kernel: cx88[0]/0: AUD_STATUS: 0x232 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:17 bernie kernel: cx88[0]/0: AUD_STATUS: 0x1b2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:18 bernie kernel: cx88[0]/0: AUD_STATUS: 0x2b2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:19 bernie kernel: cx88[0]/0: AUD_STATUS: 0x332 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:20 bernie kernel: cx88[0]/0: AUD_STATUS: 0x372 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:21 bernie kernel: cx88[0]/0: AUD_STATUS: 0x2f2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:22 bernie kernel: cx88[0]/0: AUD_STATUS: 0x332 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:23 bernie kernel: cx88[0]/0: AUD_STATUS: 0x232 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:25 bernie kernel: cx88[0]/0: AUD_STATUS: 0x2b2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:26 bernie kernel: cx88[0]/0: AUD_STATUS: 0x232 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:27 bernie kernel: cx88[0]/0: AUD_STATUS: 0x272 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:28 bernie kernel: cx88[0]/0: AUD_STATUS: 0x1f2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:29 bernie kernel: cx88[0]/0: AUD_STATUS: 0x272 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:30 bernie kernel: cx88[0]/0: AUD_STATUS: 0x1f2 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:32 bernie kernel: cx88[0]/0: AUD_STATUS: 0x272 [mono/no
pilot] ctl=BTSC_AUTO_STEREO
Apr 30 21:10:32 bernie kernel: cx88[0]/0: set_audio_standard_A2 PAL-BG A2
(status: known-good)
Apr 30 21:10:32 bernie kernel: tda9885/6/7: switching to v4l2
Apr 30 21:10:32 bernie kernel: tda9885/6/7: configure for: PAL-BG
Apr 30 21:10:32 bernie kernel: tda9885/6/7: writing: b=0xd4 c=0x70 e=0x09
Apr 30 21:10:32 bernie kernel: tda9885/6/7: write: byte B 0xd4
Apr 30 21:10:32 bernie kernel:   B0   video mode      : sound trap
Apr 30 21:10:32 bernie kernel:   B1   auto mute fm    : no
Apr 30 21:10:32 bernie kernel:   B2   carrier mode    : QSS
Apr 30 21:10:32 bernie kernel:   B3-4 tv sound/radio  : FM/TV
Apr 30 21:10:32 bernie kernel:   B5   force mute audio: no
Apr 30 21:10:32 bernie kernel:   B6   output port 1   : high (inactive)
Apr 30 21:10:32 bernie kernel:   B7   output port 2   : high (inactive)
Apr 30 21:10:32 bernie kernel: tda9885/6/7: write: byte C 0x70
Apr 30 21:10:32 bernie kernel:   C0-4 top adjustment  : 0 dB
Apr 30 21:10:32 bernie kernel:   C5-6 de-emphasis     : 50
Apr 30 21:10:32 bernie kernel:   C7   audio gain      : 0
Apr 30 21:10:32 bernie kernel: tda9885/6/7: write: byte E 0x09
Apr 30 21:10:32 bernie kernel:   E0-1 sound carrier   : 5.5 MHz
Apr 30 21:10:32 bernie kernel:   E6   l pll ganting   : 13
Apr 30 21:10:32 bernie kernel:   E2-4 video if        : 38.9 MHz
Apr 30 21:10:32 bernie kernel:   E5   tuner gain      : normal
Apr 30 21:10:32 bernie kernel:   E7   vif agc output  : pin3+pin22 port
Apr 30 21:10:32 bernie kernel: --
Apr 30 21:10:32 bernie kernel: cx88[0]/0: set_audio_standard_A2 PAL-BG A2
(status: known-good)
Apr 30 21:10:32 bernie kernel: cx88[0]/0: AUD_STATUS: 0x2a [mono/pilot c2]
ctl=A2_AUTO_STEREO
Apr 30 21:10:33 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_AUTO_STEREO
Apr 30 21:10:34 bernie kernel: cx88[0]/0: AUD_STATUS: 0xffe0 [stereo/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:10:35 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_AUTO_STEREO
Apr 30 21:10:37 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:10:38 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_AUTO_STEREO
Apr 30 21:10:40 bernie kernel: cx88[0]/0: set_audio_standard_A2 PAL-BG A2
(status: known-good)
Apr 30 21:10:40 bernie kernel: cx88[0]/0: AUD_STATUS: 0xffe2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:10:41 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:10:42 bernie kernel: cx88[0]/0: AUD_STATUS: 0x26 [mono/pilot c1]
ctl=A2_AUTO_STEREO
Apr 30 21:10:42 bernie kernel: cx88[0]/0: cx88_set_stereo: mask 0x8bf, ctl
0x8c [status=0x26,ctl=0xb00c,vol=0x0]
Apr 30 21:10:43 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_AUTO_STEREO
Apr 30 21:10:43 bernie kernel: cx88[0]/0: cx88_set_stereo: mask 0x3f, ctl
0x8 [status=0xfffa,ctl=0xb08c,vol=0x0]
Apr 30 21:10:44 bernie kernel: cx88[0]/0: cx88_set_stereo: mask 0x3f, ctl
0x8 [status=0xfffa,ctl=0xb088,vol=0x0]
Apr 30 21:10:45 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff6 [mono/pilot
c1] ctl=A2_FORCE_MONO1
Apr 30 21:10:45 bernie kernel: cx88[0]/0: AUD_STATUS: 0x36 [mono/pilot c1]
ctl=A2_FORCE_MONO1
Apr 30 21:10:46 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_FORCE_MONO1
Apr 30 21:10:46 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_FORCE_MONO1
Apr 30 21:10:46 bernie kernel: cx88[0]/0: cx88_set_stereo: mask 0x8bf, ctl
0x8c [status=0xfff2,ctl=0xb088,vol=0x0]
Apr 30 21:10:47 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_AUTO_STEREO
Apr 30 21:10:48 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:10:49 bernie kernel: cx88[0]/0: AUD_STATUS: 0xffe6 [mono/pilot
c1] ctl=A2_AUTO_STEREO
Apr 30 21:10:50 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_AUTO_STEREO
Apr 30 21:10:51 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:10:53 bernie kernel: cx88[0]/0: AUD_STATUS: 0xffe6 [mono/pilot
c1] ctl=A2_AUTO_STEREO
Apr 30 21:10:54 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_AUTO_STEREO
Apr 30 21:10:56 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:10:57 bernie kernel: cx88[0]/0: AUD_STATUS: 0xffe6 [mono/pilot
c1] ctl=A2_AUTO_STEREO
Apr 30 21:10:58 bernie kernel: cx88[0]/0: AUD_STATUS: 0x3a [mono/pilot c2]
ctl=A2_AUTO_STEREO
Apr 30 21:10:59 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:11:00 bernie kernel: cx88[0]/0: AUD_STATUS: 0x34 [stereo/pilot
c1] ctl=A2_AUTO_STEREO
Apr 30 21:11:01 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfffa [mono/pilot
c2] ctl=A2_AUTO_STEREO
Apr 30 21:11:02 bernie kernel: cx88[0]/0: AUD_STATUS: 0x32 [mono/no pilot]
ctl=A2_AUTO_STEREO
Apr 30 21:11:03 bernie kernel: cx88[0]/0: AUD_STATUS: 0x3a [mono/pilot c2]
ctl=A2_AUTO_STEREO
Apr 30 21:11:04 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:11:05 bernie kernel: cx88[0]/0: AUD_STATUS: 0x3a [mono/pilot c2]
ctl=A2_AUTO_STEREO
Apr 30 21:11:06 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:11:07 bernie kernel: cx88[0]/0: AUD_STATUS: 0xffe6 [mono/pilot
c1] ctl=A2_AUTO_STEREO
Apr 30 21:11:08 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:11:09 bernie kernel: cx88[0]/0: AUD_STATUS: 0xffe6 [mono/pilot
c1] ctl=A2_AUTO_STEREO
Apr 30 21:11:10 bernie kernel: cx88[0]/0: AUD_STATUS: 0xfff2 [mono/no
pilot] ctl=A2_AUTO_STEREO
Apr 30 21:11:11 bernie kernel: cx88[0]/0: cx88: tvaudio thread exiting
Apr 30 21:11:11 bernie kernel: ACPI: PCI interrupt for device 0000:00:0c.0disabled

Also, with radio, I can tune into a station and the sound goes silent.
When not tuned in (eg start radio in the shell, tune to station and increase
the frequency half a megahertz), I hear the noise again.

Who can help me out solving this really annoying problem or should I have
to conclude that there might be a hardware defect ? (I can't try on a
windows machine because I don't have MS).
Please let me know if any other information might help solve it.

Regards,

Bernie

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list




-- Be yourself. -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list