Пробую подключить камеру A4Tech. Камера подключена к USB напрямую. Кроме
нее подключены usb-хаб и usb-мышь. Вот что о ней говорит система:

[EMAIL PROTECTED]:~$ lsusb 
Bus 001 Device 006: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301
WebCam
Bus 001 Device 002: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub [ednet]
Bus 001 Device 004: ID 03ee:6441 Mitsumi 
Bus 001 Device 003: ID 0dda:2027 Integrated Circuit Solution, Inc. 
Bus 001 Device 001: ID 0000:0000  
[EMAIL PROTECTED]:~$ 

Также вывод dmesg:

[  304.274315] usb 1-1.3: new full speed USB device using uhci_hcd and
address 5
[  304.438423] usb 1-1.3: configuration #1 chosen from 1 choice
[  304.751043] zc0301: V4L2 driver for ZC0301[P] Image Processor and
Control Chip v1:1.05
[  304.755889] usb 1-1.3: ZC0301[P] Image Processor and Control Chip
detected (vid/pid 0x0AC8/0x301B)
[  304.848065] usb 1-1.3: PB-0330 image sensor detected
[  305.327817] usb 1-1.3: Initialization succeeded
[  305.328955] usb 1-1.3: V4L2 device registered as /dev/video1
[  305.329160] usbcore: registered new interface driver zc0301
[  305.417357] usbcore: registered new interface driver gspca
[  305.417545] ubuntu/media/gspcav1/gspca_core.c: gspca driver 01.00.12
registered
[ 1621.945098] usb 1-1.3: USB disconnect, address 5
[ 1621.945301] usb 1-1.3: Disconnecting ZC0301[P] PC Camera...
[ 1621.945309] usb 1-1.3: V4L2 device /dev/video1 deregistered
[ 1644.355052] usb 1-2: new full speed USB device using uhci_hcd and
address 6
[ 1644.551408] usb 1-2: configuration #1 chosen from 1 choice
[ 1644.554419] usb 1-2: ZC0301[P] Image Processor and Control Chip
detected (vid/pid 0x0AC8/0x301B)
[ 1644.629209] usb 1-2: PB-0330 image sensor detected
[ 1645.033012] usb 1-2: Initialization succeeded
[ 1645.033095] usb 1-2: V4L2 device registered as /dev/video1

Вот что в устройствах:

[EMAIL PROTECTED]:~$ ls /dev/* | grep video
/dev/video0
/dev/video1
[EMAIL PROTECTED]:~$ 

Судя по
https://wiki.ubuntu.com/HardwareSupportComponentsMultimediaWebCamerasA4Tech?highlight=%28webcam%29

(что-то похожее) работало нормально.
camorama, xawtv устройство не открывают. Пробовал через Mplayer:
mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video1
получил:

[EMAIL PROTECTED]:~$ mplayer tv:// -tv
driver=v4l:width=640:height=480:device=/dev/video1
MPlayer 2:1.0~rc1-0ubuntu9 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Model: 8, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
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: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
ioctl get capabilites failed: Invalid argument


MPlayer interrupted by signal 11 in module: demux_open
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in
DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We
can't and
  won't help unless you provide this information when reporting a
possible bug.
[EMAIL PROTECTED]:~$ 

Попробовал с драйвером "v4l2": 
mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video1

тоже не получилось

[EMAIL PROTECTED]:~$ mplayer tv:// -tv
driver=v4l2:width=640:height=480:device=/dev/video1
MPlayer 2:1.0~rc1-0ubuntu9 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Model: 8, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
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 <[EMAIL PROTECTED]>
 comment: first try, more to come ;-)
v4l2: ioctl get standard failed: Invalid argument
Selected device: ZC0301[P] PC Camera
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = Camera;
 Current input: 0
 Current format: unknown (0x4745504a)
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
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
FPS not specified in the header or invalid, use the -fps option.
No stream found.

v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting... (End of file)
[EMAIL PROTECTED]:~$ mplayer tv:// -tv
driver=v4l2:width=640:height=480:device=/dev/video1



Помогите пожалуйста, если кто знает как подключать такие веб-камеры, и в
чем может быть загвоздка


-- 
ubuntu-ru mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
  • Подключение ... Коржевин Дмитрий Константинов ич

Дати відповідь електронним листом