


Code: Select all
Bus 005 Device 003: ID 045e:00f5 Microsoft Corp. LifeCam VX-3000


Thanks for helping but now I can't find sonixj in the kernel. So what I did was enabled all the v4l device drivers including gspca devices and recompiled.M wrote:I don't have that camera, but if you just paste 045e:00f5 in google you will found that you need sonixj module, I think it is gspca_sonixj so enable that in kernel, load module, see dmesg and verify that you have /dev/video0 or video1 etc. if you have other devices like tv card for example...

Code: Select all
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese
Code: Select all
usb 5-2: new full speed USB device using uhci_hcd and address 3
usb 5-2: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
gspca: main v2.6.0 registered
gspca: probing 045e:00f5
sonixj: Sonix chip id: 11
gspca: probe ok
gspca: probing 045e:00f5
gspca: probing 045e:00f5
usbcore: registered new interface driver sonixj
sonixj: registered
usbcore: registered new interface driver snd-usb-audio


Code: Select all
mplayer tv:// -tv driver=v4l2:device=/dev/video0
MPlayer SVN-r29699-4.4.1 (C) 2000-2009 MPlayer Team
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB camera
Capabilites: video capture read/write streaming
supported norms:
inputs: 0 = sonixj;
Current input: 0
Current format: unknown (0x4745504a)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout ??% ??,?% 0 0
VDec: vo config request - 640 x 480 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0xb7ffe0]BICUBIC scaler, from yuv422p to yuv420p using MMX2
[swscaler @ 0xb7ffe0]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0xb7ffe0]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0xb7ffe0]using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0xb7ffe0]640x480 -> 640x480
VO: [xv] 640x480 => 640x480 Planar YV12
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
v4l2: select timeout ??% ??,?% 0 0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:1 (0x133b7a8)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=6
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]EOI missing, emulating
v4l2: select timeout ??% ??,?% 0 0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=7
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=10
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=4
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=10
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=2
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=8
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=7
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
v4l2: select timeout ??% ??,?% 0 0
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
v4l2: ioctl set mute failed: Invalid argument
v4l2: 72 frames successfully processed, 915 frames dropped.
Exiting... (Quit)Code: Select all
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so cheese
Code: Select all
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv driver=v4l2:device=/dev/video0Code: Select all
-tv driver=v4l2:device=/dev/video0
MPlayer SVN-r29699-4.4.1 (C) 2000-2009 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB camera
Capabilites: video capture read/write streaming
supported norms:
inputs: 0 = sonixj;
Current input: 0
Current format: unknown (0x4745504a)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout ??% ??,?% 0 0
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
v4l2: select timeout ??% ??,?% 0 0
libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffff
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 6 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 6 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4l2: error dequeuing buf: Invalid argument
v4l2: ioctl set mute failed: Invalid argument
v4l2: 20 frames successfully processed, 247 frames dropped.
Exiting... (Quit)

Code: Select all
modinfo gspca_sonixj

Code: Select all
modinfo gspca_sonixjCode: Select all
modprobe -r gspca_sonixj
modprobe gspca_sonixj option=value
Code: Select all
modinfo gspca_sonixj
Password:
filename: /lib/modules/2.6.31-gentoo-r2/kernel/drivers/media/video/gspca/gspca_sonixj.ko
license: GPL
description: GSPCA/SONIX JPEG USB Camera Driver
author: Michel Xhaard <mxhaard@users.sourceforge.net>
alias: usb:v0C45p6143d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p613Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p613Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p613Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p613Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6138d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6130d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p612Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p612Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p612Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6128d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p610Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p610Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p610Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p610Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6100d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p60FEd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p60FCd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p60FBd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p60ECd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p60C0d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p607Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6040d*dc*dsc*dp*ic*isc*ip*
alias: usb:v06F8p3008d*dc*dsc*dp*ic*isc*ip*
alias: usb:v06F8p3004d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0471p0330d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0471p0328d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0471p0327d*dc*dsc*dp*ic*isc*ip*
alias: usb:v045Ep00F7d*dc*dsc*dp*ic*isc*ip*
alias: usb:v045Ep00F5d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0458p702Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v0458p7025d*dc*dsc*dp*ic*isc*ip*
depends: gspca_main,usbcore
vermagic: 2.6.31-gentoo-r2 SMP mod_unload modversions
Code: Select all
vermagic: 2.6.31-gentoo-r2 SMP mod_unload modversionsCode: Select all
make clean 



Code: Select all
emerge app-arch/deb2targz