I have a Hauppage hvr 900 (using analog) and am unable to capture any output.

I have video in xawtv (but also cannot record)

system F7, kernel 2.6.22 dvb-experimental

this is output from xawtv record

cmd: "movie" "start"
cmd: "capture" "off"
gd: stop
v4l2: buf 0: video-cap 0x0+221184, used 221184
v4l2: buf 1: video-cap 0x36000+221184, used 221184
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 32 bit TrueColor (LE: bgr-) (384x288): failed
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 24 bit TrueColor (LE: bgr) (384x288): failed
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 24 bit TrueColor (BE: rgb) (384x288): failed
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 24 bit TrueColor (LE: bgr) (384x288): failed
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 32 bit TrueColor (BE: -rgb) (384x288): failed
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 32 bit TrueColor (LE: bgr-) (384x288): failed
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 8 bit StaticGray (384x288): failed
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
v4l2: new capture params (384x288, YUYV, 221184 byte)
setformat: 16 bit YUV 4:2:2 (packed, YUYV) (384x288): ok
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
v4l2: new capture params (384x288, YUYV, 221184 byte)
convert-in : 384x288 16 bit YUV 4:2:2 (packed, YUYV) (size=221184)
convert-out: 384x288 32 bit TrueColor (LE: bgr-) (size=442368)
movie_init_writer start
dsp-open: trying: oss...
oss: bs=4096 rate=44100 channels=1 bits=8 (8bit mono)
dsp-open: ok: oss
writer_audio_thread start [pid=14388]
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 15 bit TrueColor (LE) (384x288): failed
ioctl: 
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=INTERLACED;fmt.pix.bytesperline=768;fmt.pix.sizeimage=221184;fmt.pix.colorspace=SMPTE170M;fmt.pix.priv=0):
ok
setformat: 15 bit TrueColor (BE) (384x288): failed
no way to get: 384x288 15 bit TrueColor (LE)


this is output of ffmpeg

FFmpeg version SVN-r9165, Copyright (c) 2000-2007 Fabrice Bellard, et al.
 configuration: --prefix=/usr --libdir=/usr/lib
--mandir=/usr/share/man --incdir=/usr/include/ffmpeg
--enable-libmp3lame --enable-libogg --enable-libvorbis
--enable-libfaad --enable-libfaadbin --enable-libfaac --enable-xvid
--enable-x264 --enable-liba52 --enable-liba52bin --enable-pp
--enable-shared --enable-swscaler --enable-x11grab --enable-pthreads
--enable-encoder=theora --enable-gpl --disable-debug
 libavutil version: 49.4.0
 libavcodec version: 51.40.4
 libavformat version: 51.12.1
 built on Jun  4 2007 22:25:27, gcc: 4.1.2 20070502 (Red Hat 4.1.2-12)
[video4linux2 @ 0x1f1e14][3]Capabilities: 5030011
Input #0, video4linux2, from '/dev/video0':
 Duration: N/A, bitrate: 92160 kb/s
 Stream #0.0: Video: rawvideo, yuv420p, 640x480, 92160 kb/s, 25.00 fps(r)
Input #1, audio_device, from '/dev/dsp':
video:0kB audio:10654kB global headers:0kB muxing overhead 3.662434%
Received signal 15: terminating.
 Duration: N/A, bitrate: N/A
 Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
Output #0, avi, to '/home/mike/test.avi':
 Stream #0.0, 1/90000: Video: mpeg4, yuv420p, 624x464, 1/25, q=2-31,
200 kb/s, 25.00 fps(c)
 Stream #0.1, 1/90000: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Stream mapping:
 Stream #0.0 -> #0.0
 Stream #1.0 -> #0.1
Press [q] to stop encodingframe=    0 fps=  0 q=0.0 size=      10kB
time=382.8 bitrate=   0.2kbits/s dup=0 drop=0
frame=    0 fps=  0 q=0.0 size=      10kB time=383.3 bitrate=
0.2kbits/s dup=0 drop=0


this is dmesg when key is inserted

usb 5-5: new high speed USB device using ehci_hcd and address 6
DEV: registering device: ID = '5-5'
bus usb: add device 5-5
usb: Matched Device 5-5 with Driver usb
usb: Probing driver usb with device 5-5
DEV: registering device: ID = 'usbdev5.6_ep00'
usb 5-5: configuration #1 chosen from 1 choice
DEV: registering device: ID = '5-5:1.0'
bus usb: add device 5-5:1.0
usb: Matched Device 5-5:1.0 with Driver usbserial_generic
usb: Probing driver usbserial_generic with device 5-5:1.0
usb: Matched Device 5-5:1.0 with Driver em28xx
usb: Probing driver em28xx with device 5-5:1.0
em28xx new video device (2040:6502): interface 0, class 255
em28xx: device is attached to a USB 2.0 bus
em28xx: you're using the experimental/unstable tree from mcentral.de
em28xx: there's also a stable tree available but which is limited to
em28xx: linux <=2.6.19.2
em28xx: it's fine to use this driver but keep in mind that it will move
em28xx: to http://mcentral.de/hg/~mrec/v4l-dvb-kernel as soon as it's
em28xx: proved to be stable
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
DEV: registering device: ID = 'i2c-1'
DEV: registering device: ID = '1-0050'
bus i2c: add device 1-0050
bound device '1-0050' to driver 'tveeprom'
attach_inform: eeprom detected.
em28xx #0: i2c eeprom 00: 1a eb 67 95 40 20 02 65 d0 12 5c 03 82 1e 6a 18
em28xx #0: i2c eeprom 10: 00 00 24 57 66 07 01 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b e0 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 6e 02 20 10 01 01 01 00 00 00 00
em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 18 03 34 00 30 00
em28xx #0: i2c eeprom 70: 32 00 37 00 38 00 33 00 32 00 35 00 37 00 39 00
em28xx #0: i2c eeprom 80: 00 00 1e 03 57 00 69 00 6e 00 54 00 56 00 20 00
em28xx #0: i2c eeprom 90: 48 00 56 00 52 00 2d 00 39 00 30 00 30 00 00 00
em28xx #0: i2c eeprom a0: 84 12 00 00 05 50 1a 7f d4 78 23 fa fd d0 28 89
em28xx #0: i2c eeprom b0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 03 d9
em28xx #0: i2c eeprom c0: 13 f0 74 02 01 00 01 79 5b 00 00 00 00 00 00 00
em28xx #0: i2c eeprom d0: 84 12 00 00 05 50 1a 7f d4 78 23 fa fd d0 28 89
em28xx #0: i2c eeprom e0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 03 d9
em28xx #0: i2c eeprom f0: 13 f0 74 02 01 00 01 79 5b 00 00 00 00 00 00 00
EEPROM ID= 0x9567eb1a
Vendor/Product ID= 2040:6502
AC97 audio (5 sample rates)
500mA max power
Table at 0x24, strings=0x1e82, 0x186a, 0x0000
tveeprom 1-0050: Hauppauge model 65018, rev B2C0, serial# 1300739
tveeprom 1-0050: tuner model is Xceive XC3028 (idx 120, type 71)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) PAL(D/D1/K) ATSC/DVB
Digital (eeprom 0xd4)
tveeprom 1-0050: audio processor is None (idx 0)
tveeprom 1-0050: has radio
setting new tuner type now 71!
tuner 1-0061: chip found @ 0xc2 (em28xx #0)
DEV: registering device: ID = '1-0061'
bus i2c: add device 1-0061
bound device '1-0061' to driver 'tuner'
attach inform (default): detected I2C address c2
/home/mike/v4l-dvb-experimental/v4l/tuner-core.c: setting tuner callback
tuner 0x61: Configuration acknowledged
/home/mike/v4l-dvb-experimental/v4l/tuner-core.c: setting tuner callback
/home/mike/v4l-dvb-experimental/v4l/xc3028-tuner.c: attach request!
/home/mike/v4l-dvb-experimental/v4l/tuner-core.c: xc3028 tuner
successfully loaded
DEV: registering device: ID = '1-005c'
bus i2c: add device 1-005c
bound device '1-005c' to driver 'tvp5150'
attach_inform: tvp5150 detected.
em28xx #0: found i2c device @ 0xa0 [eeprom]
em28xx #0: found i2c device @ 0xb8 [tvp5150a]
em28xx #0: found i2c device @ 0xc2 [tuner (analog)]
em28xx #0: found i2c device @ 0xe0 [???]
tvp5150 1-005c: tvp5150am1 detected.
Loading base firmware: xc3028_init0.i2c.fw
DEV: registering device: ID = 'i2c-1'
DEV: Unregistering device. ID = 'i2c-1'
Loading default analogue TV settings: xc3028_BG_PAL_A2_A.i2c.fw
DEV: registering device: ID = 'i2c-1'
DEV: Unregistering device. ID = 'i2c-1'
xc3028-tuner.c: firmware 2.7
ANALOG TV REQUEST
CLASS: registering class device: ID = 'video0'
class_uevent - name = video0
CLASS: registering class device: ID = 'vbi0'
class_uevent - name = vbi0
em28xx #0: V4L2 VBI device registered as /dev/vbi0
em28xx #0: V4L2 device registered as /dev/video0
em28xx-audio.c: probing for em28x1 non standard usbaudio
em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
DEV: registering device: ID = 'pcmC1D0c'
DEV: registering device: ID = 'dsp1'
DEV: registering device: ID = 'audio1'
DEV: registering device: ID = 'controlC1'
DEV: registering device: ID = 'mixer1'
em28xx #0: Found Hauppauge WinTV HVR Rev. 1.2
bound device '5-5:1.0' to driver 'em28xx'
usb: Bound Device 5-5:1.0 to Driver em28xx
DEV: registering device: ID = 'usbdev5.6_ep81'
DEV: registering device: ID = 'usbdev5.6_ep82'
DEV: registering device: ID = 'usbdev5.6_ep83'
DEV: registering device: ID = 'usbdev5.6_ep84'
bound device '5-5' to driver 'usb'
usb: Bound Device 5-5 to Driver usb

this is /etc/modules.conf

options em28xx  i2c_scan=1 device_mode=1

any ideas appreciated

_______________________________________________
Em28xx mailing list
[email protected]
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to