[pvrusb2] pvrusb2-mci-20070114 radio support - stereo?

Mike Isely isely at isely.net
Mon Jan 22 23:48:43 CST 2007


On Mon, 22 Jan 2007, Rick Macdonald wrote:

> Mike Isely wrote:
> > That dump is a mixture of ivtv and pvrusb2 related messages.  While we 
> > can pick that apart, it'd be better just to run that 'cat 
> > /sys/class/pvrusb2/*/debuginfo' command and THEN look at the log.
> 
> I was wondering if my setup is bothered by the internal PVR-150, so I
> took an old laptop (450MHz) that has 2.6.15. I reconfigured the kernel,
> installed mplayer and your latest driver, etc. It behaves exactly like
> my desktop. The radio is mono but the sound changes a little when I
> toggle ctl_audio_mode, but still mono. I could send you a recorded
> example if you like.
> 
> Here is the dump in case it's useful. I do this while the radio is
> playing. Is that right? The log has very little info. Is that because I
> don't have ivtv installed? Should I? The radio and tv seem to work
> without it on this laptop.
> 
> (sorry about the line wrap)
> 
> rickmvnote:~# cat /sys/class/pvrusb2/*/debuginfo
> big lock free; ctl lock free
> driver flags: initialized ok connected
> Subsystems enabled / configured: +ENC_FIRMWARE +ENC_CFG +DIG_RUN
> +USB_RUN +ENC_RUN
> Subsystems disabled / unconfigured:
> Attached I2C modules:
> MSP3445G-B8 @ 0x40 (handler: pvrusb2-audio v4l1) [v4l1_standard
> v4l1_volume v4l1_freq]
> i2c IR (Hauppauge) @ 0x18 [v4l2_standard v4l2_audiomode v4l2_bcsh
> v4l2_volume v4l2_freq v4l2_size v4l2_log]
> Philips NTSC MK3 (FM1236MK3 or FM1236/F) @ 0x61 (handler: pvrusb2-tuner)
> [v4l2_standard v4l2_audiomode v4l2_bcsh v4l2_volume v4l2_freq v4l2_size
> v4l2_log]
> tda9887 @ 0x43 (handler: pvrusb2-demod) [v4l2_standard v4l2_audiomode
> v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
> tveeprom @ 0x50 [v4l2_standard v4l2_audiomode v4l2_bcsh v4l2_volume
> v4l2_freq v4l2_size v4l2_log]
> saa7115 @ 0x21 (handler: pvrusb2-video-v4l (old routing)) [v4l2_standard
> v4l2_audiomode v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
> 
> 
> Jan 22 12:48:43 rickmvnote kernel: pvrusb2: =================  START
> STATUS CARD #0  =================
> Jan 22 12:48:43 rickmvnote kernel: tda9887 0-0043: Data bytes: b=0c c=90
> e=1d
> Jan 22 12:48:43 rickmvnote kernel: saa7115 0-0021: Audio frequency: 48 kHz
> Jan 22 12:48:43 rickmvnote kernel: saa7115 0-0021: Video signal:    bad
> Jan 22 12:48:43 rickmvnote kernel: saa7115 0-0021: Frequency:       60Hz
> Jan 22 12:48:43 rickmvnote kernel: saa7115 0-0021: Detected format:
> BW/No color
> Jan 22 12:48:43 rickmvnote kernel: pvrusb2: ==================  END
> STATUS CARD #0  ==================

There's a lot of stuff missing there.  Here's what I get from the log 
when I do that same thing:

Jan 22 23:42:06 londo kernel: [77899.332081] pvrusb2: =================  START STATUS CARD #0  =================
Jan 22 23:42:06 londo kernel: [77899.333376] msp3400 1-0040: MSP3445G-B8 rev1 = 0x0207 rev2 = 0x2d48
Jan 22 23:42:06 londo kernel: [77899.333380] msp3400 1-0040: Audio:    volume 62000
Jan 22 23:42:06 londo kernel: [77899.333384] msp3400 1-0040: Audio:    balance 0 bass 0 treble 0 loudness off
Jan 22 23:42:06 londo kernel: [77899.333387] msp3400 1-0040: Mode:     External input
Jan 22 23:42:06 londo kernel: [77899.333389] msp3400 1-0040: Audmode:  0x0001
Jan 22 23:42:06 londo kernel: [77899.333392] msp3400 1-0040: Routing:  0x00222221 (input) 0x00000044 (output)
Jan 22 23:42:06 londo kernel: [77899.333395] msp3400 1-0040: ACB:      0x0e00
Jan 22 23:42:06 londo kernel: [77899.333400] saa7115 1-0021: Audio frequency: 48000 Hz
Jan 22 23:42:06 londo kernel: [77899.335123] saa7115 1-0021: Input:           Composite 4
Jan 22 23:42:06 londo kernel: [77899.335126] saa7115 1-0021: Video signal:    bad
Jan 22 23:42:06 londo kernel: [77899.335128] saa7115 1-0021: Frequency:       60 Hz
Jan 22 23:42:06 londo kernel: [77899.335131] saa7115 1-0021: Detected format: BW/No color
Jan 22 23:42:06 londo kernel: [77899.335135] tda9887 1-0043: Data bytes: b=0x4c c=0x90 e=0x3d
Jan 22 23:42:06 londo kernel: [77899.335140] tuner 1-0061: Tuner mode:      radio
Jan 22 23:42:06 londo kernel: [77899.335142] tuner 1-0061: Frequency:       104.30 MHz
Jan 22 23:42:06 londo kernel: [77899.335145] tuner 1-0061: Standard:        0x00001000
Jan 22 23:42:06 londo kernel: [77899.335744] tuner 1-0061: Signal strength: 32768
Jan 22 23:42:06 londo kernel: [77899.336368] tuner 1-0061: Stereo:          yes
Jan 22 23:42:06 londo kernel: [77899.336372] pvrusb2: cx2341x config:
Jan 22 23:42:06 londo kernel: [77899.336375] pvrusb2: Stream: MPEG-2 Program Stream
Jan 22 23:42:06 londo kernel: [77899.336377] pvrusb2: Video:  720x480, 30 fps
Jan 22 23:42:06 londo kernel: [77899.336381] pvrusb2: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
Jan 22 23:42:06 londo kernel: [77899.336386] pvrusb2: Video:  GOP Size 12, 2 B-Frames, GOP Closure, No 3:2 Pulldown
Jan 22 23:42:06 londo kernel: [77899.336390] pvrusb2: Audio:  48 kHz, Layer II, 224 kbps, Stereo, No Emphasis, No CRC
Jan 22 23:42:06 londo kernel: [77899.336394] pvrusb2: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
Jan 22 23:42:06 londo kernel: [77899.336397] pvrusb2: Temporal Filter: Manual, 0
Jan 22 23:42:06 londo kernel: [77899.336400] pvrusb2: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
Jan 22 23:42:06 londo kernel: [77899.336403] pvrusb2: ==================  END STATUS CARD #0  ==================

Yet your debuginfo output shows that the "missing" chip drivers are in 
fact present and attached.  But there's no output in the log for the 
tuner or the audio chip.  I'm very puzzled by this.  Which kernel 
version was this and did you do anything to update the v4l modules 
within that kernel?  (I'm not yet asking that you do this, just trying 
to figure out why that log output is missing.)

  -Mike


-- 
                        |         Mike Isely          |     PGP fingerprint
     Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                        |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                        |                             |


More information about the pvrusb2 mailing list