[pvrusb2] bad behavior in v4l-dvb.git
Michael Krufky
mkrufky at m1k.net
Tue Jun 27 07:17:11 CDT 2006
Mike,
Mauro has requested that Linus pull the pvrusb2 driver from his git tree.
I tested the most recent version from the mercurial repository on
linuxtv.org. (This is the same code that was pushed to Linus)
Please check out the sample capture located at
http://linuxtv.org/~mkrufky/pvrusb2.mpeg
The picture is distorted and stretched horizontally past the limits of
the screen, (it seems to be too wide, by a factor of 2)
No errors show up in the kernel log, but I have noticed that the init
routine seems to be much less verbose than last time I had tested the
driver:
[4294701.582000] usb 3-3: new high speed USB device using ehci_hcd and
address 3
[4294701.721000] usb 3-3: reset high speed USB device using ehci_hcd and
address 3
[4294702.204000] tuner 1-0043: chip found @ 0x86 (pvrusb2_a)
[4294702.204000] tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
[4294702.215000] tuner 1-0061: chip found @ 0xc2 (pvrusb2_a)
[4294702.218000] cx25840 1-0044: cx25843-23 found @ 0x88 (pvrusb2_a)
[4294702.978000] cx25840 1-0044: loaded v4l-cx25840.fw firmware (13837
bytes)
[4294703.010000] wm8775 1-001b: chip found @ 0x36 (pvrusb2_a)
[4294703.021000] tveeprom 1-00a2: Hauppauge model 24012, rev C2A3,
serial# 8537782
[4294703.021000] tveeprom 1-00a2: tuner model is TCL MFNM05-4 (idx 103,
type 43)
[4294703.021000] tveeprom 1-00a2: TV standards NTSC(M) (eeprom 0x08)
[4294703.021000] tveeprom 1-00a2: audio processor is CX25843 (idx 37)
[4294703.021000] tveeprom 1-00a2: decoder processor is CX25843 (idx 30)
[4294703.021000] tveeprom 1-00a2: has radio, has IR remote
[4294703.021000] tuner 1-0061: type set to 43 (Philips NTSC MK3
(FM1236MK3 or FM1236/F))
[4294703.097000] tda9887 1-0043: Data bytes: b=0xd4 c=0x30 e=0x44
[4294703.097000] tuner 1-0061: Tuner mode: analog TV
[4294703.097000] tuner 1-0061: Frequency: 175.25 MHz
[4294703.097000] tuner 1-0061: Standard: 0x00001000
[4294703.099000] cx25840 1-0044: Video signal: not present
[4294703.099000] cx25840 1-0044: Detected format: NTSC-M
[4294703.099000] cx25840 1-0044: Specified standard: NTSC-M
[4294703.099000] cx25840 1-0044: Specified video input: Composite 7
[4294703.099000] cx25840 1-0044: Specified audioclock freq: 44100 Hz
[4294703.102000] cx25840 1-0044: Detected audio mode: forced mode
[4294703.102000] cx25840 1-0044: Detected audio standard: no detected
audio standard
[4294703.102000] cx25840 1-0044: Audio muted: yes
[4294703.102000] cx25840 1-0044: Audio microcontroller: running
[4294703.102000] cx25840 1-0044: Configured audio standard: automatic
detection
[4294703.102000] cx25840 1-0044: Configured audio system: BTSC
[4294703.102000] cx25840 1-0044: Specified audio input: Tuner (In8)
[4294703.102000] cx25840 1-0044: Preferred audio mode: stereo
[4294703.102000] wm8775 1-001b: Input: 2
[4294703.102000] pvrusb2: Device initialization completed successfully.
What happened to: pvrusb2[0]: registered device video1 [mpeg] ???
VIDIOC_LOG_STATUS seems to have revealed something, though:
Status Log:
[4295694.646000] pvrusb2: ================= START STATUS CARD #0
=================
[4295694.646000] tda9887 1-0043: Data bytes: b=0xd4 c=0x30 e=0x44
[4295694.646000] tuner 1-0061: Tuner mode: analog TV
[4295694.646000] tuner 1-0061: Frequency: 127.25 MHz
[4295694.646000] tuner 1-0061: Standard: 0x00001000
[4295694.647000] cx25840 1-0044: Video signal: present
[4295694.647000] cx25840 1-0044: Detected format: NTSC-M
[4295694.648000] cx25840 1-0044: Specified standard: NTSC-M
[4295694.648000] cx25840 1-0044: Specified video input: Composite 7
[4295694.648000] cx25840 1-0044: Specified audioclock freq: 44100 Hz
[4295694.652000] cx25840 1-0044: Detected audio mode: stereo
with SAP
[4295694.652000] cx25840 1-0044: Detected audio standard: BTSC
[4295694.652000] cx25840 1-0044: Audio muted: yes
[4295694.652000] cx25840 1-0044: Audio microcontroller: stopped
[4295694.652000] cx25840 1-0044: Configured audio standard: automatic
detection
[4295694.652000] cx25840 1-0044: Configured audio system: BTSC
[4295694.652000] cx25840 1-0044: Specified audio input: Tuner (In8)
[4295694.652000] cx25840 1-0044: Preferred audio mode: stereo
[4295694.652000] wm8775 1-001b: Input: 2 (muted)
[4295694.652000] pvrusb2: cx2341x config:
[4295694.652000] pvrusb2: Stream: MPEG-2 Program Stream
[4295694.652000] pvrusb2: Video: 384x288, 30 fps
[4295694.652000] pvrusb2: Video: MPEG-2, 4x3, Variable Bitrate,
6000000, Peak 8000000
[4295694.652000] pvrusb2: Video: GOP Size 12, 2 B-Frames, GOP
Closure, No 3:2 Pulldown
[4295694.652000] pvrusb2: Audio: 44.1 kHz, Layer II, 224 kbps,
Stereo, No Emphasis, No CRC
[4295694.652000] pvrusb2: Spatial Filter: Manual, Luma 1D
Horizontal, Chroma 1D Horizontal, 0
[4295694.652000] pvrusb2: Temporal Filter: Manual, 0
[4295694.652000] pvrusb2: Median Filter: Off, Luma [0, 255], Chroma
[0, 255]
[4295694.652000] pvrusb2: ================== END STATUS CARD #0
==================
Notice how the encoder resolution is set to 384x288... I am used to it
being 720x480, 30fps by default. Has something changed in regards to
the default encoder settings?
Cheers,
Mike Krufky
More information about the pvrusb2
mailing list