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

Rick Macdonald rickm at timshel.ca
Sun Jan 21 16:18:34 CST 2007


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.
>   
OH! I didn't catch that detail before!

rickm at timshel:~$ date
Sun Jan 21 15:10:52 MST 2007

rickm at timshel:~$ mpeg2desc -a0 < /dev/radio0 | mpg123 -
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 0.61; written and copyright by Michael Hipp and others
        free software (LGPL/GPL) without any warranty but with best wishes
Playing MPEG stream 1 of 1: standard input ...
MPEG 1.0 layer II, 224 kbits/s, 48000 Hz stereo

timshel:~# date
Sun Jan 21 15:11:20 MST 2007
timshel:~# 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:
tveeprom @ 0x50 [v4l2_standard v4l2_audiomode v4l2_bcsh v4l2_volume 
v4l2_freq v4l2_size v4l2_log]
MSP3445G-B8 @ 0x40 (handler: pvrusb2-audio v4l2) [v4l2_standard 
v4l2_audiomode v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
saa7115 @ 0x21 (handler: pvrusb2-video-v4l) [v4l2_standard 
v4l2_audiomode v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
tda9887 @ 0x43 (handler: pvrusb2-tuner) [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]
timshel:~#

Jan 21 15:11:21 timshel kernel: pvrusb2: =================  START STATUS 
CARD #0  =================
Jan 21 15:11:21 timshel kernel: msp3400 1-0040: MSP3445G-B8 rev1 = 
0x0207 rev2 = 0x2d48
Jan 21 15:11:21 timshel kernel: msp3400 1-0040: Audio:    volume 62000
Jan 21 15:11:21 timshel kernel: msp3400 1-0040: Audio:    balance 0 bass 
0 treble 0 loudness off
Jan 21 15:11:21 timshel kernel: msp3400 1-0040: Mode:     External input
Jan 21 15:11:21 timshel kernel: msp3400 1-0040: Audmode:  0x0001
Jan 21 15:11:21 timshel kernel: msp3400 1-0040: Routing:  0x00222221 
(input) 0x00000044 (output)
Jan 21 15:11:21 timshel kernel: msp3400 1-0040: ACB:      0x0e00
Jan 21 15:11:21 timshel kernel: saa7115 1-0021: Audio frequency: 48000 Hz
Jan 21 15:11:21 timshel kernel: saa7115 1-0021: Input:           Composite 4
Jan 21 15:11:21 timshel kernel: saa7115 1-0021: Video signal:    bad
Jan 21 15:11:21 timshel kernel: saa7115 1-0021: Frequency:       60 Hz
Jan 21 15:11:21 timshel kernel: saa7115 1-0021: Detected format: BW/No color
Jan 21 15:11:21 timshel kernel: tda9887 1-0043: Data bytes: b=0x4c 
c=0x90 e=0x3d
Jan 21 15:11:21 timshel kernel: tuner 1-0061: Tuner mode:      radio
Jan 21 15:11:21 timshel kernel: tuner 1-0061: Frequency:       98.70 MHz
Jan 21 15:11:21 timshel kernel: tuner 1-0061: Standard:        0x00001000
Jan 21 15:11:21 timshel kernel: tuner 1-0061: Signal strength: 8192
Jan 21 15:11:21 timshel kernel: tuner 1-0061: Stereo:          no
Jan 21 15:11:21 timshel kernel: pvrusb2: cx2341x config:
Jan 21 15:11:21 timshel kernel: pvrusb2: Stream: MPEG-2 Program Stream
Jan 21 15:11:21 timshel kernel: pvrusb2: Video:  720x480, 30 fps
Jan 21 15:11:21 timshel kernel: pvrusb2: Video:  MPEG-2, 4x3, Variable 
Bitrate, 6000000, Peak 8000000
Jan 21 15:11:21 timshel kernel: pvrusb2: Video:  GOP Size 12, 2 
B-Frames, GOP Closure, No 3:2 Pulldown
Jan 21 15:11:21 timshel kernel: pvrusb2: Audio:  48 kHz, Layer II, 224 
kbps, Stereo, No Emphasis, No CRC
Jan 21 15:11:21 timshel kernel: pvrusb2: Spatial Filter:  Manual, Luma 
1D Horizontal, Chroma 1D Horizontal, 0
Jan 21 15:11:21 timshel kernel: pvrusb2: Temporal Filter: Manual, 0
Jan 21 15:11:21 timshel kernel: pvrusb2: Median Filter:   Off, Luma [0, 
255], Chroma [0, 255]
Jan 21 15:11:21 timshel kernel: pvrusb2: ==================  END STATUS 
CARD #0  ==================

>>> When I tested, the way I determined I was getting stereo was by flipping 
>>> the audio mode back and forth while listening (that control works now).  
>>> I could definitely hear the sound "spread" when I switched to stereo 
>>> mode.
>>>   
>>>       
>> I tried this just now, and the sound does change, but neither is Stereo. 
>> When I tell it stereo, the volume drops a bit and seems thinner. It 
>> almost as if it was giving me just left or right through both sides, but 
>> this is hard to tell until I can catch some music or commercial with 
>> definite separation, and that's long enough to switch back and forth a 
>> few times.
>>     
>
> Well I'd like to hear more about what you think you are hearing.  I can 
> tell you that with every stereo FM receiver I have ever used that 
> "stereo" usually does sound somewhat lower in volume and "thinner".  I 
> am definitely hearing the sound as being more "spread" when stereo is 
> enabled.  But being unable to create a controlled test for this, it is 
> rather difficult to really know what is going on.
>
> One thing you could try is running the audio through a 3D expander (many 
> sound cards have this ability).  If the L and R are really different 
> then expanding the audio will emphasize that difference.
>   
I have an FM stereo walkman connected to a stereo input. I can switch 
between it and the pvrusb2 and the PVR-150. The difference is dramatic. 
The stereo separation on this station's music (classic rock) and even 
its commercials is very obvious. The usb2 is not stereo for me yet. I'm 
not sure what to make of the difference for the usb2 when I toggle 
stereo/mono modes. I'll play with it some more, but there's no way it's 
stereo.

...RickM...




More information about the pvrusb2 mailing list