[pvrusb2] no audio with PAL and tda9887
Michael Roitzsch
mroi at users.sourceforge.net
Fri Dec 30 10:53:07 CST 2005
Hi list,
I seem to have one of the tda9887 devices, but I am not able to get
it working. I have been trying various driver snapshots including the
recent 20051226. This is on kernel 2.6.12. The problem is that I am
getting the picture just fine, but have no audio with either the
tuner or with the s-video or composite inputs. I have tried toggling
the port1 and port2 options for the tda9887 module with no effect.
I am attaching the dmesg output in the hope that someone can give me
clue what else I could try. Please note that I am in Germany, so I
have a PAL unit. Since the driver selects SECAM-L by default, my
first step is always to switch to PAL-BG with the sysfs interface.
After that, I can run xine on /dev/video0 and see a clear picture,
but no sound. I have verified that this is not a xine problem by
passing the output of /dev/video0 to ffmpeg and extracting the audio
to raw PCM. This gives an almost constant stream of zeroes with some
intermittent spikes of higher values. Are there any other settings in
sysfs that might be off or is it indeed a driver problem?
Thanks in advance for any help you can give me.
Michael
pvrusb2 pvr_init
pvrusb2 pvr2_hdw_create: hdw=cdbfa000
pvrusb2 Driver unit number is 0, name is pvrusb2_a
pvrusb2 subsys_stream_mask: 0x7800
pvrusb2 pvr_probe(pvr=cdd13360)
usbcore: registered new driver pvrusb2
/home/admin/Desktop/pvrusb2-mci-20051226/driver/pvrusb2-main.c:
Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : 20051226 (from
www.isely.net)
/home/admin/Desktop/pvrusb2-mci-20051226/driver/pvrusb2-main.c: Debug
mask is 4214975 (0x4050bf)
pvrusb2 pvr2_hdw_setup(hdw=cdbfa000) begin
pvrusb2 pvr2_upload_firmware1
pvrusb2 cpureset_assert(1)
pvrusb2 Upload done, releasing device's CPU
pvrusb2 cpureset_assert(0)
pvrusb2 Upload done (8192 bytes sent)
pvrusb2 pvr2_hdw_setup(hdw=cdbfa000) done, ok=1 init_ok=0
pvrusb2 Device firmware (re)load executed; it should now reset and
reconnect.
usb 4-4.1: USB disconnect, address 3
pvrusb2 pvr_disconnect(pvr=cdd13360) BEGIN
pvrusb2 pvr2_hdw_disconnect(hdw=cdbfa000)
pvrusb2 pvr2_hdw_remove_usb_stuff: hdw=cdbfa000
pvrusb2 render_useless
pvrusb2 pvr2_hdw_destroy: hdw=cdbfa000
pvrusb2 pvr_disconnect(pvr=cdd13360) DONE
usb 4-4.1: new high speed USB device using ehci_hcd and address 4
pvrusb2 pvr2_hdw_create: hdw=cdbfa000
pvrusb2 Driver unit number is 0, name is pvrusb2_a
pvrusb2 subsys_stream_mask: 0x7800
pvrusb2 pvr_probe(pvr=cd9d14e0)
pvrusb2 pvr2_hdw_setup(hdw=cdbfa000) begin
pvrusb2 Performing a device reset...
usb 4-4.1: reset high speed USB device using ehci_hcd and address 4
pvrusb2 i2c_attach [client=tveeprom @ 0x50 id=0xf2]
pvrusb2 attaching tveeprom I2C client
pvrusb2 i2c_attach [client=(tuner unset) @ 0x61 id=0x2]
pvrusb2 attaching tuner I2C client
tuner 3-0061: chip found @ 0xc2 (pvrusb2_a)
msp34xx: init: chip=MSP3415G-B8 +nicam +simple +simpler +radio
mode=simpler
msp34xxg: daemon started
pvrusb2 i2c_attach [client=MSP3415G-B8 @ 0x40 id=0x1]
pvrusb2 attaching msp3400 I2C client
saa7115 3-0021: saa7115 found @ 0x42 (pvrusb2_a)
pvrusb2 i2c_attach [client=saa7115 @ 0x21 id=0xf1]
pvrusb2 attaching saa7115 I2C client
tda9885/6/7: chip found @ 0x86
pvrusb2 i2c_attach [client=tda9887 @ 0x43 id=0xffffffff]
pvrusb2 attaching tda9887 I2C client
pvrusb2 pvr2_upload_firmware2
pvrusb2 Requesting uproc soft reset
pvrusb2 Requesting uproc hard reset
pvrusb2 upload of pvrusb2.f2 : 262144 / 262144
pvrusb2 Probing for ivtv video decoder driver
pvrusb2 Using ivtv video decoder driver
tveeprom: Hauppauge: model = 29039, rev = D157, serial# = 7922090
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = MSP3415 (type = 6)
pvrusb2 eeprom detected v4l tveeprom module
pvrusb2 eeprom direct call results:
pvrusb2 has_radio=1
pvrusb2 tuner_type=38
pvrusb2 tuner_formats=0x400e17
pvrusb2 audio_processor=6
pvrusb2 model=29039
pvrusb2 revision=9508183
pvrusb2 serial_number=7922090
pvrusb2 rev_str=D157
tuner 3-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
pvrusb2 Detected video standard SECAM-L (from eeprom)
pvrusb2 Detected video standard PAL-BG (from eeprom)
pvrusb2 Detected video standard PAL-I (from eeprom)
pvrusb2 Setting initial video standard to SECAM-L (detected from eeprom)
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 128 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 68 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Saturation" <-- 64 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Hue" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Volume" <-- 65535 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Balance" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Bass" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Treble" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Mute" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Sample rate" <-- 0 (48KHz)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Bitrate" <-- 3 (224kb/s)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio CRC" <-- 1 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Emphasis" <-- 0 (None)
pvrusb2 /*--TRACE_COMMIT--*/ "Variable video bitrate" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Average video bitrate" <-- 6000000
(<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Peak video bitrate" <-- 6000000
(<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Standard" <-- 1 (SECAM-L)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Source" <-- 0 (television)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Mode" <-- 1 (Stereo)
pvrusb2 /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 175250000
(<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Horizontal capture resolution" <-- 720
(<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Vertical capture resolution" <-- 480
(<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Interlace mode" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Layer" <-- 2 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Channel" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Channel Program ID" <-- 0 (<integer>)
pvrusb2 pvr2_stream_create: sp=cd9d1160
pvrusb2 pvr2_hdw_setup: video stream is cd9d1160
pvrusb2 pvr2_hdw_setup(hdw=cdbfa000) done, ok=1 init_ok=1
pvrusb2 Device initialization completed successfully.
pvrusb2 Registered pvrusb2 v4l device, minor=0
More information about the pvrusb2
mailing list