Bug 18108 - Не работает веб-камера A4tech PK-35N (gspca)
: Не работает веб-камера A4tech PK-35N (gspca)
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/kernel-image-std-def)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2008-12-05 16:11 by
Modified: 2009-07-15 17:01 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-12-05 16:11:23
Эта камера использует gspca, в ядре 2.6.25-alt9 она работает.

В 2.6.25-alt9
$ dmesg | grep -i "zc\|cam"
usb 3-1: Product: PC Camera
/usr/src/RPM/BUILD/kernel-source-gspca-1.00.18/gspca_core.c: USB GSPCA camera
found.(ZC3XX)
/usr/src/RPM/BUILD/kernel-source-gspca-1.00.18/gspca_core.c:
[spca5xx_probe:4098] Camera type JPEG
/usr/src/RPM/BUILD/kernel-source-gspca-1.00.18/Vimicro/zc3xx.h:
[zc3xx_config:515] Sensor ID:11
/usr/src/RPM/BUILD/kernel-source-gspca-1.00.18/Vimicro/zc3xx.h:
[zc3xx_config:607] Find Sensor MI0360
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
usbcore: registered new interface driver zc0301

$ lsmod | grep gspca
gspca                 663888  0
videodev               36992  2 zc0301,gspca
usbcore               150896  8
usb_storage,zc0301,usbhid,gspca,libusual,ohci_hcd,ehci_hcd


В 2.6.27-alt4
$ dmesg | grep -i "zc\|cam"
$ lsmod | grep gspca
$ sudo modprobe gspca_zc3xx
$ lsmod | grep gspca
gspca_zc3xx            51456  0
gspca_main             24576  1 gspca_zc3xx
videodev               37248  2 gspca_main,zc0301
usbcore               145264  9
gspca_zc3xx,gspca_main,usbhid,usb_storage,zc0301,libusual,ehci_hcd,ohci_hcd
$ dmesg | grep -i "zc\|cam"
usbcore: registered new interface driver zc3xx
zc3xx: registere
$ cat /dev/video0
cat: /dev/video0: Нет такого файла или каталога
------- Comment #1 From 2008-12-06 12:06:35 -------
Последовательный dmesg после подключения камеры:
usb 3-1: new full speed USB device using ohci_hcd and address 8
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: ZC0301[P] Image Processor and Control Chip detected (vid/pid
0x0AC8:0x303B)
usb 3-1: No supported image sensor detected
usb 3-1: New USB device found, idVendor=0ac8, idProduct=303b
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: PC Camera
usb 3-1: Manufacturer: Vimicro Corp.
------- Comment #2 From 2008-12-06 12:22:13 -------
В ядре 2.6.27-alt5:
usb 3-1: new full speed USB device using ohci_hcd and address 3
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: New USB device found, idVendor=0ac8, idProduct=303b
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: PC Camera
usb 3-1: Manufacturer: Vimicro Corp.
Linux video capture interface: v2.00
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
usb 3-1: ZC0301[P] Image Processor and Control Chip detected (vid/pid
0x0AC8:0x303B)
usb 3-1: No supported image sensor detected
usbcore: registered new interface driver zc0301
------- Comment #3 From 2009-01-11 15:07:50 -------
Проверьте на свежем ядре, там новый v4l
------- Comment #4 From 2009-01-14 15:07:02 -------
Файл-устройство /dev/video не создаётся.
dmesg:
usb 3-1: USB disconnect, address 2
usb 3-1: new full speed USB device using ohci_hcd and address 4
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: ZC0301[P] Image Processor and Control Chip detected (vid/pid
0x0AC8:0x303B)
usb 3-1: No supported image sensor detected
usb 3-1: New USB device found, idVendor=0ac8, idProduct=303b
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: PC Camera
usb 3-1: Manufacturer: Vimicro Corp
$ lsmod | grep video
videodev               42880  1 zc0301
v4l1_compat            17796  1 videodev
video                  20368  6
output                  6912  1 video
$ lsmod | grep gspca
------- Comment #5 From 2009-01-18 07:08:29 -------
Аналогичная ситуация:

bash-3.2$ /usr/sbin/lsusb
Bus 002 Device 003: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 Webcam

bash-3.2# lsmod | grep gspca
gspca_zc3xx            52096  0 
gspca_main             26368  1 gspca_zc3xx
videodev               42880  2 gspca_main,zc0301
usbcore               145264  9
gspca_zc3xx,gspca_main,usbhid,zc0301,usb_storage,libusual,ohci_hcd,ehci_hcd

bash-3.2# dmesg | grep -i "zc\|cam"
usb 2-3: Product: PC Camera
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
usb 2-3: ZC0301[P] Image Processor and Control Chip detected (vid/pid
0x0AC8:0x303B)
usbcore: registered new interface driver zc0301
usb 2-3: ZC0301[P] Image Processor and Control Chip detected (vid/pid
0x0AC8:0x303B)
usb 2-3: Product: PC Camera
usbcore: registered new interface driver zc3xx
zc3xx: registered
usb 3-3: ZC0301[P] Image Processor and Control Chip detected (vid/pid
0x0AC8:0x303B)
usb 3-3: Product: PC Camera

bash-3.2$ ls /dev/video0
ls: невозможно получить доступ к /dev/video0: Нет такого файла или каталога

bash-3.2$ uname -a
Linux rsc_30658 2.6.27-std-def-alt9 #1 SMP Tue Jan 13 14:46:40 UTC 2009 i686
GNU/Linux

Устройство /dev/video0 не создаётся
------- Comment #6 From 2009-06-17 15:12:52 -------
Стоит проверить на текущих ядрах.
------- Comment #7 From 2009-06-18 06:48:33 -------
$ uname -r
2.6.29-std-def-alt3
$ dmesg
usb 3-1: USB disconnect, address 2
usb 3-1: new low speed USB device using ohci_hcd and address 16
usb 3-1: New USB device found, idVendor=09da, idProduct=000a
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: PS/2+USB Mouse
usb 3-1: Manufacturer: A4Tech
usb 3-1: configuration #1 chosen from 1 choice
input: A4Tech PS/2+USB Mouse as
/devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0/input/input14
a4tech 0003:09DA:000A.0004: input,hidraw2: USB HID v1.10 Mouse [A4Tech PS/2+USB
Mouse] on usb-0000:00:04.0-1/input0
$ lsmod | grep gspca
$ cat /dev/video0
cat: /dev/video0: Нет такого файла или каталога
------- Comment #8 From 2009-06-18 06:52:58 -------
Извиняюсь, dmesg был для мыши.
Вот для камеры:

gspca: main v2.4.0 registered
usbcore: registered new interface driver zc3xx
zc3xx: registered
usbcore: deregistering interface driver zc3xx
zc3xx: deregistered
gspca: main deregistered
usb 3-3: new full speed USB device using ohci_hcd and address 17
usb 3-3: New USB device found, idVendor=0ac8, idProduct=303b
usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-3: Product: PC Camera
usb 3-3: Manufacturer: Vimicro Corp.
usb 3-3: configuration #1 chosen from 1 choice

Остальное всё также.
------- Comment #9 From 2009-07-12 15:56:30 -------
видеокамера заработала.
ядро 2.6.30-std-def-alt3

http://forum.altlinux.org/index.php/topic,1303.msg51105.html#msg51105
------- Comment #10 From 2009-07-15 17:01:11 -------
Действительно, на 2.6.30-std-def-alt3 теперь работает из коробки