rrubio
(usa Debian)
Enviado em 05/03/2008 - 02:00h: Webcam com Chip Z-Star.
olá gente,
não estou conseguindo instalar minha webcam. a "marca" dela é mymax, abaixo está a saída do lsusb dela:
Bus 001 Device 004: ID 0ac8:307b Z-Star Microelectronics Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0ac8 Z-Star Microelectronics Corp.
idProduct 0x307b
bcdDevice 1.00
iManufacturer 1 Vimicro Corp.
iProduct 2 PC Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 193
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 160mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0080 1x 128 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c0 1x 192 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0180 1x 384 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0300 1x 768 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0380 1x 896 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
será q alguem pode ajudar?
valeu
gesousa
(usa Ubuntu)
Enviado em 05/03/2008 - 04:32h:
Essa webcam -> ID 0ac8:307b, foi adicionada no ultimo driver da gspcav 1.0.20, infelismente, não há versão para o driver atual compilado pro ubuntu, sendo necessario vc compilar ele do arquivo fonte:
rrubio
(usa Debian)
Enviado em 05/03/2008 - 11:19h:
ja foi add? valeu msm gesouza. hj mesmo (ou amanha, dependendo da correria) eu posto algo dizendo como q foi.
[]'s
cwlinux
(usa Ubuntu)
Enviado em 21/10/2008 - 21:01h: Id 0ac8:307b
Olá All;
Ainda com problemas em minha tentativa de instalar o driver gspca para minha web cam com chipset z-star com o id 0ac8:307b, aparentemente o driver foi compilado e instalado corretamente, vejam a saida do dmesg.
[ 60.635280] gspca: main v2.2.0 registered
[ 60.684786] gspca: probing 0ac8:307b
[ 62.331379] zc3xx: probe 2wr ov vga 0x0000
[ 62.450191] zc3xx: probe 3wr vga 1 0x4001
[ 62.539113] zc3xx: probe 3wr vga type 29
[ 62.543046] zc3xx: probe sensor -> 29
[ 62.543054] zc3xx: Find Sensor GC0305
[ 62.545132] gspca: probe ok
[ 62.545167] usbcore: registered new interface driver zc3xx
[ 62.545172] zc3xx: registered
Porem logo a seguir surgiu um probelma que não deixa o driver subir.
[ 62.601781] gspca: disagrees about version of symbol video_devdata
[ 62.601791] gspca: Unknown symbol video_devdata
[ 62.602259] gspca: disagrees about version of symbol video_unregister_device
[ 62.602264] gspca: Unknown symbol video_unregister_device
[ 62.602442] gspca: disagrees about version of symbol video_device_alloc
[ 62.602445] gspca: Unknown symbol video_device_alloc
[ 62.602505] gspca: disagrees about version of symbol video_register_device
[ 62.602508] gspca: Unknown symbol video_register_device
[ 62.602820] gspca: disagrees about version of symbol video_usercopy
[ 62.602824] gspca: Unknown symbol video_usercopy
[ 62.602883] gspca: disagrees about version of symbol video_device_release
[ 62.602886] gspca: Unknown symbol video_device_release
Pelo que entendi, existe uma diferença de versão entre o gspca e o devdata entre outros.
Alguma sugestão para resolver isso ?
Abs
CW
gesousa
(usa Ubuntu)
Enviado em 21/10/2008 - 21:17h:
qual a versão do seu kernel ?
uname -r
qual a versão do seu ubuntu?
pelo que parece este erro só aparece quando se usa um kernel antigo, tente baixar o ultimo kernel e compilar em cima dele o driver.
Há algumas formas de se fazer citados no buglist do ubuntu:
cwlinux
(usa Ubuntu)
Enviado em 24/10/2008 - 22:13h: WebCam Z Star - Ainda...
Olá ...
estou aqui de volta, como as tentativas anteriores não resolvia o problema do driver, resolvi fazer uma instalação limpa do 8.10 Intrepid Beta. Como resultado obtive exito com o driver gspca para a camera com o id 0ac8:307b, novamente a saida do dmesg. ( kernel 2.6.27-7 ).
Linux video capture interface: v2.00
[ 20.746151] gspca: main v2.2.0 registered
[ 20.754984] gspca: probing 0ac8:307b
zc3xx: probe 2wr ov vga 0x0000
[ 22.558288] zc3xx: probe 3wr vga 1 0x4001
[ 22.648310] zc3xx: probe 3wr vga type 29
[ 22.652297] zc3xx: probe sensor -> 29
[ 22.652304] zc3xx: Find Sensor GC0305
[ 22.655805] gspca: probe ok
[ 22.655896] usbcore: registered new interface driver zc3xx
[ 22.656110] zc3xx: registered
Beleza... vou no camorama e ...
unable capture image !
Vou no skype e nada acontece, ou melhor, antes não acontecia nada mesmo, agora pelo menos aparece um monte de riscos coloridos xaqualhando na tela de teste do skype. Já é uma evolução. :-)
alguem tem mais alguma sugestão a respeito disso ?
Fte 73
CW
gesousa
(usa Ubuntu)
Enviado em 25/10/2008 - 00:07h:
tenta isso:
sudo gedit /etc/modprobe.d/options
options gspca force_rgb=1
esta no link do tutorial que passei antes.
há e veja se o dispositivo tem acesso para oi usuario.
chmod 777 /dev/video0
por ultimo verefica se o driver zc0301 não foi carregado.
lsmod |grep zc0301
se foi retire ele.
sudo modprobe -r zc0301
cwlinux
(usa Ubuntu)
Enviado em 25/10/2008 - 17:31h: WebCam Z Star - A Missão !
Olá Sousa;
Segui seus passos, mas acabou ficando na mesma, acrescentei os parametros no arquivo options em /etc/modprobe.d e troquei as permissões de /dev/video0. Verifiquei a existencia do modulo zc0301, não esta carregado.
Ai, em outro tópico, vi um colega reclamando do Camorama e que havia instalado o Cheese, e havia funcionado. Então acrecentei o cheese e de fato a camera funcionou, até tirei umas fotos para testar. No skype esta na mesma com um monte de risco para todos os lados coloridos.
Ai meu filho por aqui comentou " Coloca o AMSN e vê se funciona... Viola !!! configurei e a danada rolou de primeira. Ai reparei o seguinte:
No Amsn o driver aparece corretamente como zc03xx, mas em device aparece como PC Camera V4L2 e o modulo carregado é 0 V4L1, será que isso pode fazer diferença aos outros softwares ? Por hora estou feliz com ela funcionando no Amsn, vou pesquisando aos poucos e acabo resolvendo o restante.
Agradeço as dicas e paciência.
fte 73
CW
gesousa
(usa Ubuntu)
Enviado em 25/10/2008 - 17:55h:
o Camorama, xawtv suportam somente o driver antigo V4Lv1 que a versão 1 do video 4 linux, o cheese e o amsn usam o padrão V4Lv2 que a versão 2 do video for linux, as duas versões do api são incompatives entre si, o que me leva a crer que o suporte a este dispositivo é somente de aplicações para V4Lv2, é o mesmo caso de muitas webcam com o driver UVC, ele também só dá suporte as dispositivos par V4Lv2...
cwlinux
(usa Ubuntu)
Enviado em 26/10/2008 - 09:39h: V4L2 X V4L1
Olá Sousa;
Tai uma consideração interessante, acredito também nisso, o remédio é aguardar as atualizações dos softwares e miauuu.
Nada muito a se fazer no momento. :-)
De qualquer maneira, nada é perdido, no passado estava acostumado a instalar e compilar softwares no Slackware, dificilmente tinha algum problema relacionado a hardware, como aqui no Ubuntu que uso desde a versão 6.06, as tarefas de detecção de hardware sempre foi facilitada, nunca precisei mexer com estas coisas em ambiente Debian Like, dai a dificuldade. Aprendi muito nestes dias com essa webcam... :-)
Abraços e mais uma vez agradeço o esforço e paciência aqui com o velho. :-)