Great... We're getting somewhere... > lsmod | grep cx25840 cx25840 36656 0 v4l2_common 24576 7 tuner,cx25840,pvrusb2,cx8800,ivtv,cx2341x,bttv videodev 49024 8 tuner,cx25840,pvrusb2,cx8800,cx88xx,ivtv,bttv,v4l2_common i2c_core 31892 13 s5h1411,tda18271,tda8290,tuner,cx25840,pvrusb2,cx88xx,ivtv,bttv,i2c_algo_bit,v4l2_common,tveeprom,lirc_i2c
> cat /sys/pvrusb2/*/debuginfo Driver state info: driver: <ok> <init> <connected> <no decoder> <mode=analog> pipeline: <idle> <configok> worker: <decode:quiescent> <encode:virgin> <encode:waitok> <usb:stop> <pathway:ok> state: error Hardware supported inputs: television, dtv, composite, s-video Bytes streamed=0 URBs: queued=0 idle=0 ready=0 processed=0 failed=0 Attached I2C modules: Hauppauge PVR150 @ 0x71 [v4l2_standard v4l2_audiomode v4l2_bcsh v4l2_volume v4l2_freq v4l2_crop v4l2_size v4l2_log] cx25840' @ 0x44 [v4l2_standard v4l2_audiomode v4l2_bcsh v4l2_volume v4l2_freq v4l2_crop v4l2_size v4l2_log] tuner' @ 0x42 (handler: pvrusb2-tuner) [v4l2_standard v4l2_audiomode v4l2_bcsh v4l2_volume v4l2_freq v4l2_crop v4l2_size v4l2_log] > dmesg [ 5749.265605] pvrusb2: ================= START STATUS CARD #0 ================= [ 5749.270713] cx25840' 0-0044: Video signal: not present [ 5749.270726] cx25840' 0-0044: Detected format: NTSC-M [ 5749.270730] cx25840' 0-0044: Specified standard: automatic detection [ 5749.270736] cx25840' 0-0044: Specified video input: Composite 7 [ 5749.270741] cx25840' 0-0044: Specified audioclock freq: 48000 Hz [ 5749.278114] cx25840' 0-0044: Detected audio mode: mono [ 5749.278126] cx25840' 0-0044: Detected audio standard: not defined [ 5749.278131] cx25840' 0-0044: Audio muted: no [ 5749.278135] cx25840' 0-0044: Audio microcontroller: stopped [ 5749.278140] cx25840' 0-0044: Configured audio standard: automatic detection [ 5749.278146] cx25840' 0-0044: Configured audio system: BTSC [ 5749.278150] cx25840' 0-0044: Specified audio input: Tuner (In8) [ 5749.278155] cx25840' 0-0044: Preferred audio mode: stereo [ 5749.291654] pvrusb2: cx2341x config: [ 5749.291668] pvrusb2: Stream: MPEG-2 Program Stream [ 5749.291674] pvrusb2: VBI Format: No VBI [ 5749.291678] pvrusb2: Video: 720x480, 30 fps [ 5749.291684] pvrusb2: Video: MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000 [ 5749.291691] pvrusb2: Video: GOP Size 15, 2 B-Frames, GOP Closure [ 5749.291697] pvrusb2: Audio: 48 kHz, MPEG-1/2 Layer II, 224 kbps, Stereo, No Emphasis, No CRC [ 5749.291705] pvrusb2: Spatial Filter: Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0 [ 5749.291710] pvrusb2: Temporal Filter: Manual, 8 [ 5749.291715] pvrusb2: Median Filter: Off, Luma [0, 255], Chroma [0, 255] [ 5749.291721] pvrusb2_a driver: <ok> <init> <connected> <no decoder> <mode=analog> [ 5749.291727] pvrusb2_a pipeline: <idle> <configok> [ 5749.291732] pvrusb2_a worker: <decode:quiescent> <encode:virgin> <encode:waitok> <usb:stop> <pathway:ok> [ 5749.291737] pvrusb2_a state: error [ 5749.291742] pvrusb2_a Hardware supported inputs: television, dtv, composite, s-video [ 5749.291749] pvrusb2_a Bytes streamed=0 URBs: queued=0 idle=0 ready=0 processed=0 failed=0 [ 5749.291754] pvrusb2: ================== END STATUS CARD #0 ================== Mike, ami I missing "ghandler: pvrusb2-cx2584x-v4l"? On Tue, Jan 6, 2009 at 9:19 PM, Mike Isely <[email protected]> wrote: > On Tue, 6 Jan 2009, fivenote wrote: > >> OK... keeping things simple... :-) >> >> as root... >> >> * mythbackend off >> >> * plug in HVR-1950, creates /dev/video0 >> >> * enum_val shows all inputs - no narrowing >> >> * set cur_val to composite and attache video player to hvr-1950 >> >> * cat /dev/video0 > /tmp/foo >> stderr... >> cat: /dev/video0: Input/output error >> /tmp/foo... >> empty >> /var/log/syslog... >> Jan 6 21:00:39 vao1420 kernel: [ 3031.735288] pvrusb2: >> WARNING: No decoder present > > Bingo. Why I didn't ask you to look at the log before is beyond me :-( > D'Oh. > > That warning is happening because the video digitizer / decoder > chip-level driver has not attached itself to the pvrusb2 driver. This > is one of those other bits of v4l-dvb needed for the pvrusb2 driver to > operate, and in this case that driver is apparently missing. The driver > is the cx25840 module, which handles the cx25843 chip in your device. > This is the part that converts the incoming analog video signal into a > frame buffer (which is then passed to the cx23417 chip for compression > into an mpeg stream). Without control of that chip, the video pipeline > can't run. The driver is detecting this, spitting out the message and > killing the stream. I don't think anyone's hit that behavior before, > which is why I didn't expect it. But the system log tells all. > > But wait - in your other reply you posted a large log snippet and the > cx25840 messages were all there. If you do an "lsmod" do you see the > name cx25840 in the resulting list? Another thing you can try: In the > sysfs interface there's a node called "debuginfo". If you read that > (i.e. 'cat /sys/pvrusb2/*/debuginfo') you'll get a dump of the list of > attached chip-level drivers. Within that list you should hopefully see > something like this: > > handler: pvrusb2-cx2584x-v4l > > Do you see that? Also, when you cat out debuginfo, this implicitly > triggers a request to all those drivers to dump their states into the > system log. So if you follow that cat command with a dmesg you should > see information reported directly by each driver. > > I wonder if cx25840 might be failing due to missing firmware?... > > -Mike > > > -- > > Mike Isely > isely @ pobox (dot) com > PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8 > _______________________________________________ > pvrusb2 mailing list > [email protected] > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2 > -- ~~~~~~~~~~~~~~~~~~~~ VAO - [email protected] ~~~~~~~~~~~~~~~~~~~~ _______________________________________________ pvrusb2 mailing list [email protected] http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
