[pvrusb2] New Snapshot Report ....getting closer

Barry Jett bjett80 at hotmail.com
Sat Mar 25 10:53:23 CST 2006


Hello all,

This is just a report .... I know work is in progress on the driver to 
support the 2400 device.

Finally had a chance to try the new 20060318 snapshot on my 2040:2400 device 
after recovering
from a hard drive crash ( how old are your backups ? ).

Debian Etch - clean compile but modprobe complains 'invalid module format' 
.... probably my fault
for not compiling the 'debian' way.


Ubuntu Breezy - clean compile and modprobe .  Firmware extracts nicely from 
cd with
  "./fwextract.pl --driverDIR /media/cdrom0/DriverD2 " giving me :
   v4l-pvrusb2-24xxx-01.fw      8192 bytes
   v4l-cx2341x-enc.fw         262144 bytes
   v4l-cx25840.fw                 13837 bytes

   ... very helpful message "Device model is: Hauppauge PVR USB2 Model 
24xxx" confirms I've got
   the right firmware.  For Ubuntu, firmware goes to /lib/hotplug/firmware

I turn on the pvrusb2 , modprobe pvrusb2 and dmesg reports all is well as 
far as I can tell.

I try a cat /dev/video0 > test.mpg for 5 seconds ... which gives me an empty 
file.  Dmesg reports:

(note the "Warning : No decoder present")

[4299040.210000] pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_setup (setup) 
id=f609e480
[4299040.210000] pvrusb2: /*--TRACE_STREAM--*/ enable
[4299040.210000] pvrusb2: subsys mask changing 0x1f:0xffffffff from 0x1 to 
0x1f
[4299040.210000] pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_configure
[4299040.263000] pvrusb2: /*---TRACE_CTL----*/ decoder enable
[4299040.263000] pvrusb2: WARNING: No decoder present
[4299040.263000] pvrusb2: /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(1)
[4299040.263000] pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_start
[4299040.273000] pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_start id=f609e480
[4299050.704000] pvrusb2: /*--TRACE_STREAM--*/ disable
[4299050.704000] pvrusb2: subsys mask changing 0x1e:0x0 from 0x1f to 0x1
[4299050.704000] pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_stop
[4299050.706000] pvrusb2: /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(0)
[4299050.706000] pvrusb2: /*---TRACE_CTL----*/ decoder disable
[4299050.706000] pvrusb2: WARNING: No decoder present
[4299050.706000] pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_setup (tear-down) 
id=f609e480
[4299050.706000] pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_stop id=f609e480

Any tricks I'm missing ?

And what does that LED tell me .... firmware loaded, or mpeg streaming, or 
... ?

Barry


[dmesg from initial module load follows]

[4294700.571000] pvrusb2: pvr_init
[4294700.638000] pvrusb2: pvr2_hdw_create: hdw=f78ca000, type "WinTV PVR 
USB2 Model Category 24xxxx"
[4294700.638000] pvrusb2: Driver unit number is 0, name is pvrusb2_a
[4294700.638000] pvrusb2: subsys_stream_mask: 0x1e
[4294700.641000] pvrusb2: pvr_probe(pvr=f7a41380)
[4294700.641000] usbcore: registered new driver pvrusb2
[4294700.641000] /usr/src/pvrusb2-mci-20060318/driver/pvrusb2-main.c: 
Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : 20060318 (from www.isely.net)
[4294700.641000] /usr/src/pvrusb2-mci-20060318/driver/pvrusb2-main.c: Debug 
mask is 16834943 (0x100e17f)
[4294700.641000] pvrusb2: pvr2_hdw_setup(hdw=f78ca000) begin
[4294700.641000] pvrusb2: Probe of device endpoint 1 succeeded
[4294700.641000] pvrusb2: Performing a device reset...
[4294700.790000] pvrusb2: i2c_attach [client=(tuner unset) @ 0x61 
ctxt=f7a99c80]
[4294700.790000] tuner 0-0061: chip found @ 0xc2 (pvrusb2_a)
[4294700.804000] pvrusb2: i2c_attach [client=tda9887 @ 0x43 ctxt=f7a99c40]
[4294700.804000] pvrusb2: pvr2_upload_firmware2
[4294700.906000] pvrusb2: Located encoder firmware: v4l-cx2341x-enc.fw; 
uploading...
[4294700.906000] pvrusb2: Requesting uproc soft reset
[4294700.926000] pvrusb2: Requesting uproc hard reset
[4294701.153000] pvrusb2: upload of v4l-cx2341x-enc.fw : 262144 / 262144
[4294701.153000] pvrusb2: Value for eeprom addr from controller was 0xa2
[4294701.153000] pvrusb2: Examining 4096 byte eeprom at location 0x51 using 
16 bit addressing
[4294701.161000] pvrusb2: eeprom detected v4l tveeprom module
[4294701.161000] pvrusb2: eeprom direct call results:
[4294701.161000] pvrusb2: has_radio=1
[4294701.161000] pvrusb2: tuner_type=-1819044973
[4294701.161000] pvrusb2: tuner_formats=0x1000
[4294701.161000] pvrusb2: audio_processor=5
[4294701.161000] pvrusb2: model=24012
[4294701.161000] pvrusb2: revision=9250899
[4294701.161000] pvrusb2: serial_number=8536201
[4294701.161000] pvrusb2: rev_str=C2A3
[4294701.161000] pvrusb2: Detected video standard NTSC-M (from eeprom)
[4294701.161000] pvrusb2: Setting initial video standard to NTSC-M (detected 
from eeprom)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Brightness" <-- 128 
(<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Contrast" <-- 68 (<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Saturation" <-- 64 
(<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Volume" <-- 65535 
(<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Audio Bitrate" <-- 3 
(224kb/s)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Audio CRC" <-- 1 (<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Average video bitrate" <-- 
6000000 (<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Peak video bitrate" <-- 
6000000 (<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Audio Mode" <-- 1 (Stereo)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 
175250000 (<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Horizontal capture 
resolution" <-- 720 (<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Vertical capture resolution" 
<-- 480 (<integer>)
[4294701.161000] pvrusb2: /*--TRACE_COMMIT--*/ "Audio Layer" <-- 2 
(<integer>)
[4294701.161000] pvrusb2: i2c 0x61 tuner handler set up
[4294701.161000] pvrusb2: Probed: ctxt=f7a99c80 ctl_mask=0x22f (tuner unset) 
@ 0x61 (handler: pvrusb2-tuner) [v4l2_standard v4l2_bcsh v4l2_volume 
v4l2_freq v4l2_size v4l2_log]
[4294701.161000] pvrusb2: i2c 0x43 tda9887 V4L2 handler set up
[4294701.161000] pvrusb2: Probed: ctxt=f7a99c40 ctl_mask=0x22f tda9887 @ 
0x43 (handler: pvrusb2-demod) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq 
v4l2_size v4l2_log]
[4294701.161000] pvrusb2: i2c tuner set_type(-1819044973)
[4294701.161000] pvrusb2: i2c demod set_config(0x0)
[4294701.162000] pvrusb2: i2c v4l2 set_standard(0)
[4294701.162000] pvrusb2: i2c v4l2 set_bcsh b=128 c=68 s=64 h=0
[4294701.162000] pvrusb2: i2c v4l2 set_volume(vol=65535 bal=0 bas=0 treb=0 
mute=0)
[4294701.162000] pvrusb2: i2c v4l2 set_freq(175250000)
[4294701.162000] pvrusb2: i2c v4l2 set_size(720x480)
[4294701.162000] pvrusb2: i2c v4l2 LOG_STATUS not available
[4294701.162000] pvrusb2: pvr2_stream_create: sp=f7b49b80
[4294701.162000] pvrusb2: pvr2_hdw_setup: video stream is f7b49b80
[4294701.162000] pvrusb2: pvr2_hdw_setup(hdw=f78ca000) done, ok=1 init_ok=1
[4294701.162000] pvrusb2: Device initialization completed successfully.
[4294701.162000] pvrusb2: pvr2_hdw_setup(hdw=f78ca000) end
[4294701.162000] pvrusb2: registered device video0 [mpeg]




More information about the pvrusb2 mailing list