WinTV USB does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I purchased the Hauppauge WinTV USB (USA) tv tuner, however, I am unable to get
it to work with Linux.  (It works fine on a Windows system, so I know the
WinTV box is good).

I am using SuSE 7.2 with the 2.4.20 kernel on a Dell Inspiron 8000 laptop.

I successfully installed the usbvision 0.3.3-test4
(from http://www.emuit.com/webcam.html), xawtv 3.82, and tv-fonts 1.0 code.

Prior to installing usbvision, I had to configure my kernel to include I2C
support, I2C bit-banging interfaces, Video for Liunux, BT848 Video For Linux,
and USB Zoran/Nogatech USBVision video support, as described in the usbvision
readme file.

When I installed usbvision, I had to duplicate the device_data line for 4D00
into 4D20, as the WinTV USB (USA) tuner identifies itself with 4D20, and not
the 4D00 as indicated in the usbvision.h file.

-------------------------------------------------------------------------
The following text is from /var/log/messages when I plug in the WinTV USB box:

Jan  2 18:12:34 puny kernel: usbvision_power_on
Jan  2 18:12:34 puny kernel: i2c-algo-usb.o: hw routines for usbvision #0 
registered.
Jan  2 18:12:35 puny kernel: i2c-algo-usb.o: needed 3 retries for 72
Jan  2 18:12:35 puny kernel: i2c-algo-usb: NAK from device adr 0x24 msg #0
Jan  2 18:12:35 puny kernel: saa7111_read 0x11
Jan  2 18:12:35 puny kernel: saa7111_attach: chip version 11
Jan  2 18:12:35 puny kernel: saa7111: init
Jan  2 18:12:35 puny kernel: usbvision: device 0: i2c attach [saa7111]
Jan  2 18:12:35 puny kernel: i2c-core.o: client [saa7111] registered to 
adapter [usbvision #0](pos. 0).
Jan  2 18:12:35 puny kernel: tuner: probing usbvision #0 i2c adapter 
[id=0x10005]
Jan  2 18:12:35 puny kernel: i2c-algo-usb.o: needed 3 retries for 192
Jan  2 18:12:35 puny kernel: i2c-algo-usb: NAK from device adr 0x60 msg #0
Jan  2 18:12:35 puny kernel: tuner: chip found @ 0xc2
Jan  2 18:12:35 puny kernel: usbvision: device 0: i2c attach [Temic PAL (4002 
FH5)]
Jan  2 18:12:35 puny kernel: i2c-core.o: client [Temic PAL (4002 FH5)] 
registered to adapter [usbvision #0](pos. 1).
Jan  2 18:12:35 puny kernel: i2c-algo-usb.o: needed 3 retries for 196
Jan  2 18:12:35 puny kernel: i2c-algo-usb: NAK from device adr 0x62 msg #0
Jan  2 18:12:35 puny kernel: i2c-algo-usb.o: needed 3 retries for 198
Jan  2 18:12:35 puny kernel: i2c-algo-usb: NAK from device adr 0x63 msg #0
Jan  2 18:12:36 puny kernel: i2c-algo-usb.o: needed 3 retries for 200
Jan  2 18:12:36 puny kernel: i2c-algo-usb: NAK from device adr 0x64 msg #0
Jan  2 18:12:36 puny kernel: i2c-algo-usb.o: needed 3 retries for 202
Jan  2 18:12:36 puny kernel: i2c-algo-usb: NAK from device adr 0x65 msg #0
Jan  2 18:12:36 puny kernel: i2c-algo-usb.o: needed 3 retries for 204
Jan  2 18:12:36 puny kernel: i2c-algo-usb: NAK from device adr 0x66 msg #0
Jan  2 18:12:36 puny kernel: i2c-algo-usb.o: needed 3 retries for 206
Jan  2 18:12:36 puny kernel: i2c-algo-usb: NAK from device adr 0x67 msg #0
Jan  2 18:12:36 puny kernel: i2c-algo-usb.o: needed 3 retries for 208
Jan  2 18:12:36 puny kernel: i2c-algo-usb: NAK from device adr 0x68 msg #0
Jan  2 18:12:37 puny kernel: i2c-algo-usb.o: needed 3 retries for 210
Jan  2 18:12:37 puny kernel: i2c-algo-usb: NAK from device adr 0x69 msg #0
Jan  2 18:12:37 puny kernel: i2c-algo-usb.o: needed 3 retries for 212
Jan  2 18:12:37 puny kernel: i2c-algo-usb: NAK from device adr 0x6a msg #0
Jan  2 18:12:37 puny kernel: i2c-algo-usb.o: needed 3 retries for 214
Jan  2 18:12:37 puny kernel: i2c-algo-usb: NAK from device adr 0x6b msg #0
Jan  2 18:12:37 puny kernel: i2c-algo-usb.o: needed 3 retries for 216
Jan  2 18:12:37 puny kernel: i2c-algo-usb: NAK from device adr 0x6c msg #0
Jan  2 18:12:37 puny kernel: i2c-algo-usb.o: needed 3 retries for 218
Jan  2 18:12:37 puny kernel: i2c-algo-usb: NAK from device adr 0x6d msg #0
Jan  2 18:12:38 puny kernel: i2c-algo-usb.o: needed 3 retries for 220
Jan  2 18:12:38 puny kernel: i2c-algo-usb: NAK from device adr 0x6e msg #0
Jan  2 18:12:38 puny kernel: i2c-algo-usb.o: needed 3 retries for 222
Jan  2 18:12:38 puny kernel: i2c-algo-usb: NAK from device adr 0x6f msg #0
Jan  2 18:12:38 puny kernel: i2c-core.o: adapter usbvision #0 registered as 
adapter 0.
Jan  2 18:12:38 puny kernel: usbvision: device 0: i2c detach [saa7111]
Jan  2 18:12:38 puny kernel: i2c-core.o: client [saa7111] unregistered.
Jan  2 18:12:38 puny kernel: usbvision: device 0: i2c detach [Temic PAL (4002 
FH5)]
Jan  2 18:12:38 puny kernel: i2c-core.o: client [Temic PAL (4002 FH5)] 
unregistered.
Jan  2 18:12:38 puny kernel: i2c-core.o: adapter unregistered: usbvision #0
Jan  2 18:12:38 puny kernel: i2c-algo-usb.o: adapter unregistered: usbvision #0
Jan  2 18:12:38 puny kernel: usbvision_power_off

-------------------------------------------------------------------------
The following is a log when I run the "xawtv -debug 1 -noxv" command:

This is xawtv-3.82, running on Linux/i686 (2.4.20-1)
visual: id=0x21 class=4 (TrueColor), depth=16
visual: id=0x22 class=5 (DirectColor), depth=16
visual: id=0x23 class=4 (TrueColor), depth=16
visual: id=0x24 class=5 (DirectColor), depth=16
x11: color depth: 16 bits, 2 bytes - pixmap: 2 bytes
x11: color masks: red=0x0000f800 green=0x000007e0 blue=0x0000001f
x11: server byte order: little endian
x11: client byte order: little endian
check if the X-Server is local ... **** ok
x11 socket: me=localhost, server=localhost
main: dga extention...
DGA version 2.0
main: xinerama extention...
main: xvideo extention [video]...
main: xvideo extention [image]...
main: init main window...
main: install signal handlers...
main thread [pid=25513]
main: open grabber device...
x11: 1600x1200, 16 bit/pixel, 3584 byte/scanline, DGA
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1600x1200, depth=16, bpp=16, bpl=3584, base=0xe0000000
/dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
/dev/video0 [v4l]: configuration done
got sigchild
waitpid: No child processes
vid-open: trying: v4l2-old... 
vid-open: failed: v4l2-old
vid-open: trying: v4l2... 
vid-open: failed: v4l2
vid-open: trying: v4l... 
v4l: open: /dev/video0 (USBVision USB Video)
  capabilities:  capture tuner overlay clipping
  size    : 64x48 => 384x288
  channels: 3
    Television: 1 tuner audio  tv 
    Composite 1: 0 audio  camera 
    S-Video: 0 audio  camera 
  audios  : 1
    3 (TV): muted=no 
  tuner   : Television 0-4294967295 PAL NTSC SECAM
  fbuffer : base=0x0xe0000000 size=1600x1200 depth=16 bpl=3584
  picture : brightness=32768 hue=32768 colour=32768 contrast=49152
  picture : whiteness=26880 depth=24 palette=rgb24
  mbuf: size=884736 frames=2
  v4l: using mapped buffers for capture
vid-open: ok: v4l
v4l: 1600x1200, 16 bit/pixel, 3584 byte/scanline
main: checking wm...
wmhooks: gnome layer
main: creating windows ...
main: init frequency tables ...
freq: reading /usr/local/share/xawtv/Index.map
main: read config file ...
freq: newtab 0
freq: reading /usr/local/share/xawtv/ntsc-bcast.list
fullscreen mode configured (1024x768), VidMode extention enabled
main: checking for vidmode extention ...
VidMode  version 2.1
  available video mode(s): 1600x1200 1280x1024 1024x768 800x600 640x480
main: checking for lirc ...
xawtv: could not connect to socket
xawtv: Permission denied
lirc: no infrared remote support available
main: checking for joystick ...
main: checking for midi ...
main: adding kbd hooks ...
main: mapping main window ...
main: initialize hardware ...
main: parse channels from config file ...
xt: handle_pending:  start ...
gd: init
blit: init
blit: gl: DRI=Yes
blit: gl: texture max size: 2048
blit: resize 384x288
gd: config 384x288 win=160004d
v4l: setformat
v4l: capture probe 24 bit TrueColor (BE: rgb)...	failed
setformat: 24 bit TrueColor (BE: rgb) (384x288): failed
v4l: setformat
v4l: capture probe 16 bit TrueColor (LE)...	v4l: timeout (got SIGALRM), 
hardware/driver problems?
ioctl: VIDIOCSYNC(int=0): Interrupted system call
failed
setformat: 16 bit TrueColor (LE) (384x288): failed
v4l: setformat
v4l: capture probe 16 bit TrueColor (BE)...	failed
setformat: 16 bit TrueColor (BE) (384x288): failed
v4l: setformat
setformat: 24 bit TrueColor (BE: rgb) (384x288): failed
v4l: setformat
v4l: capture probe 24 bit TrueColor (LE: bgr)...	ioctl: 
VIDIOCMCAPTURE(frame=0;height=48;width=64;format=4): Device or resource busy
failed
setformat: 24 bit TrueColor (LE: bgr) (384x288): failed
v4l: setformat
v4l: capture probe 32 bit TrueColor (BE: -rgb)...	failed
setformat: 32 bit TrueColor (BE: -rgb) (384x288): failed
v4l: setformat
v4l: capture probe 32 bit TrueColor (LE: bgr-)...	ioctl: 
VIDIOCMCAPTURE(frame=0;height=48;width=64;format=5): Device or resource busy
failed
setformat: 32 bit TrueColor (LE: bgr-) (384x288): failed
v4l: setformat
v4l: capture probe 8 bit StaticGray...	ioctl: VIDIOCMCAPTURE(frame=0;height=48;
width=64;format=1): Invalid argument
failed
setformat: 8 bit StaticGray (384x288): failed
v4l: setformat
v4l: capture probe 16 bit YUV 4:2:2 (packed)...	ioctl: 
VIDIOCMCAPTURE(frame=0;height=48;width=64;format=7): Invalid argument
failed
setformat: 16 bit YUV 4:2:2 (packed) (384x288): failed
v4l: setformat
v4l: capture probe 16 bit YUV 4:2:2 (planar)...	ioctl: 
VIDIOCMCAPTURE(frame=0;height=48;width=64;format=13): Invalid argument
failed
setformat: 16 bit YUV 4:2:2 (planar) (384x288): failed
v4l: setformat
v4l: capture probe 12 bit YUV 4:2:0 (planar)...	ioctl: 
VIDIOCMCAPTURE(frame=0;height=48;width=64;format=15): Invalid argument
failed
setformat: 12 bit YUV 4:2:0 (planar) (384x288): failed
v4l: setformat
v4l: capture probe none...	failed
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
v4l: setformat
setformat: none (384x288): failed
grabdisplay: using "none"
xt: handle_pending:  ... done
cmd: "setfreqtab" "us-bcast"
freq: newtab 0
cmd: "capture" "overlay"
cmd: "setchannel" "4"
v4l: overlay off
v4l: freq: 67.250
main: known station tuned, not changing
main: enter main event loop... 
clip: final - 0 clips
v4l: overlay win=384x288+6+878, 0 clips
expose count=0
keypad: timeout

-------------------------------------------------------------------------
I also tried some other software.  Here are the results:

scantv:          Displays the following errors:
                   vbi: open failed [/dev/vbi]
                   open /dev/vbi: No such device

tvtime:          Repeatedly displays the following errors:
                   videoinput: Can't wait for frame 0: Invalid argument
                   videoinput: Can't wait for frame 1: Invalid argument

kwintv 0.8.9:    When I run the ScanWizard, it finds no channels.

kwintv 0.8.11:   Crashes, as it says that it cannot find any fonts.

-------------------------------------------------------------------------
Due to the above errors, I believe that the problem lies in the usbvision
driver, but I have been unable to resolve this problem.

I tried modprobing the usbvision driver with all of the different parameter
values, but none of them made any difference in the results.

I emailed the usbvision's authors (joerg@xxxxxxxxxxxxxxxx and
dwainegarden@xxxxxxxxxx), but there has been no response.

Thanks in advance for any help you can provide.

Brian Lomasky
Email:  lomaskyNOSPAM@xxxxxxxxxxxxx

(Remove the NOSPAM from the email address)






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux