Hi

I have bought a Pinnacle PCTV USB2 tv-adapter and are having some troubles getting it to work.
I read on the net that the usbvision driver should work, but I get some errors...


First of all, I have Debian system (Sarge) with kernel 2.6.8.1. I have compiled modules for v4l and ic2.

I downloaded usbvision-0.9.7 and compiled it without any trouble. I modprobe the module with
modprobe usbvision CustomDevice="0x2304 0x0208 -1 7111 3 PAL 2 1 1 5 -1 -1 -1 -1 -1"


which seems fine, although cat /proc/kmesg gives
<6>usb 1-1: new high speed USB device using address 8
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: failed: error -90
<3>usbvision_audio_off: can't wirte reg
<6>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision[0]: registered video device /dev/video0
<6>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_probe: USBVISION Custom Device found
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_probe: interface 1. has non-ISO endpoint!
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_probe: Endpoint attribures 96
<6>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_probe: USBVISION Custom Device found
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_probe: interface 2. has non-ISO endpoint!
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_probe: Endpoint attribures 0
<6>usbcore: registered new driver USBVision Video Grabber
<6>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision USB Video Driver : 0.9.6 for Linux 2.4.19-2.4.21 + 2.6.x, compiled at Sep 17 2004, 20:53:17


Anyway...  I try to start mplayer
   mplayer tv:// -tv driver=v4l

Which returns (among other things)

Playing tv://.
Cache fill: 0.00% (0 bytes) TV detected! ;-)
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development
Selected device: USBVision USB Video
Capabilites: capture tuner overlay clipping
Device type: 43
Supported sizes: 64x48 => 320x240
Inputs: 3
0: Television: tuner audio tv camera (tuner:1, norm:pal)
1: Composite 1: audio camera (tuner:0, norm:pal)
2: S-Video: audio camera (tuner:0, norm:pal)
Using input 'Television'
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 64 x 48 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 64x48 => 64x48 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...


ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   0.0    1   0%  0%  0.0% 0 0 0%
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   0.0    2   0%  0%  0.0% 0 0 0%
ioctl mcapture failed: Invalid argument
V:   0.1    3   0%  0%  0.0% 0 0 0%
ioctl mcapture failed: Invalid argument
V:   0.1    4   0%  0%  0.0% 0 0 0%
...



If I quit mplayer I have to rmmod usbvision within a second ot two - or part of my kernel freezes (X and mouse and programs works, keyboard does not work, ssh (to my machine) works, cannot shut computer down with init 0).

The kernel message from when I was running mplayer is:
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_read_reg: faile d: error -71
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: fail ed: error -90
<3>usbvision_audio_mute: can't wirte reg
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: fail ed: error -90
<3>usbvision_audio_mute: can't wirte reg
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: fail ed: error -90
<3>usbvision_set_audio: can't write iopin register for audio switching
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: fail ed: error -90
<3>usbvision_set_input: ERROR=-90. USBVISION stopped - reconnect or reload drive r.
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_set_output fail ed: error -90
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: fail ed: error -90
<3>usbvision_set_audio: can't write iopin register for audio switching
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: fail ed: error -90
<3>usbvision_set_audio: can't write iopin register for audio switching
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: fail ed: error -90
<3>usbvision_set_input: ERROR=-90. USBVISION stopped - reconnect or reload drive r.
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_set_output fail ed: error -90
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_write_reg: fail ed: error -90
<3>usbvision_audio_on: can't wirte reg
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_isocIrq: usb_su bmit_urb failed: error -45
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_v4l_do_ioctl: V IDIOCMCAPTURE format 15 not supported
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_v4l_do_ioctl: V IDIOCMCAPTURE format 15 not supported
<3>/home/jvc/Download/usbvision-0.9.7/src/usbvision.c: usbvision_v4l_do_ioctl: V IDIOCMCAPTURE format 15 not supported
...


Hopy you can help me....

Best regards
Jørn Christensen


------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to