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

Проблемы с работой Logitech, Inc. OrbiCam под Debian Lenny & Squeeze



Имеется встроенная веб-камера в ноуте:
$ lsusb
Bus 005 Device 002: ID 046d:0896 Logitech, Inc. OrbiCam

Когда устанавливал ее под lenny, оказалось необходимым установить пакет
gspca для обеспечения ее работоспобности - и все первое время нормально
работало. На новых ядрах gspaca включена в ядро.
Далее- я не заметил когда и почему это произошло, она "отвалилась". Толи
когда ставил новые ядра с бэпортов (30-ку и 32-е), толи как настраивал
это: http://wiki.debian.org/skype

Сейчас камера упорно не хочет работать:
> ~$ mplayer tv://
> MPlayer SVN-r31918 (C) 2000-2010 MPlayer Team
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
> 
> 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: Camera
>  Capabilities:  video capture  read/write  streaming
>  supported norms:
>  inputs: 0 = vc032x;
>  Current input: 0
>  Current format: unknown (0x55595659)
> 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
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> [VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
> s3fb: Couldn't map S3 registers: Operation not permitted
> Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
> [vdpau] Error when calling vdp_device_create_x11: 1
> ==========================================================================
> Cannot find codec matching selected -vo and video format 0x55595659.
> ==========================================================================
> 
> v4l2: ioctl set mute failed: Invalid argument
> v4l2: 0 frames successfully processed, 1 frames dropped.
> 
> Exiting... (End of file)



Если же запускать таким образом:
> $ export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so ; mplayer tv://
> MPlayer SVN-r31918 (C) 2000-2010 MPlayer Team
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
> 
> 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: Camera
>  Capabilities:  video capture  read/write  streaming
>  supported norms:
>  inputs: 0 = vc032x;
>  Current input: 0
>  Current format: unknown (0x55595659)
> 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
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> [VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
> s3fb: Couldn't map S3 registers: Operation not permitted
> Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
> [vdpau] Error when calling vdp_device_create_x11: 1
> ==========================================================================
> Opening video decoder: [raw] RAW Uncompressed Video
> 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...
> V:   0.0   2/  2 ??% ??% ??,?% 0 0 
> v4l2: select timeout
> libv4l2: error dequeuing buf: Invalid argument
> 
> v4l2: ioctl set mute failed: Invalid argument
> v4l2: 19 frames successfully processed, 113 frames dropped.
> 
> Exiting... (Quit)


открывается такое окошко:
http://s1.ipicture.ru/uploads/20110331/M6aJPXV7.png

И вместо изображения бегает что-то зеленое.

Модули v4l есть:
> ~$ lsmod | grep v4l
> v4l1_compat            11442  1 videodev
> v4l2_compat_ioctl32     8474  1 videodev

В системе имеются, в частности, след. пакеты:
> $ aptitude search v4l
> ....................                                
> i A libv4l-0                                 - Collection of video4linux support libraries       
> ................................
> i   v4l-utils                                - Collection of command 
> ......................


Имеются также модули gspca:
> $ lsmod | grep gspca
> gspca_vc032x           21428  0 
> gspca_main             18727  1 gspca_vc032x
> videodev               29993  1 gspca_main
> usbcore               122386  8 btusb,gspca_vc032x,gspca_main,usbhid,usb_storage,uhci_hcd,ehci_hcd


Соглано докам (в файле
/usr/share/doc/linux-doc-2.6.32/Documentation/video4linux/gspca.txt.gz),
gspca_vc032x как раз тот самый модуль, который нужен камере.

В чем все-таки может быть проблема?


Reply to: