Web lists-archives.com

[Spca50x-devs] Fwd: ID 0ac8:301b Z-Star Microelectroics Corp. ZC0301 WebCam






---------- Forwarded message ----------
From: Nazareno <yochule@xxxxxxxxx>
Date: 02-ene-2008 18:32
Subject: Re: [Spca50x-devs] ID 0ac8:301b Z-Star Microelectroics Corp. ZC0301 WebCam
To: "Serge A. Suchkov" <Serge.A.S@xxxxxxxxx>

i uninstalled the gspca generic driver (by synaptics) and download again the michaels latest driver (gspcav1-20071224) and re installed it. later i reboot the pc and unplugged the usb conection. when the system restart, i did a dmesg:

chuleymar@losotro:~$ dmesg | tail -n 20
[   88.021438] Bluetooth: Core ver 2.11
[   88.021593] NET: Registered protocol family 31
[   88.021596] Bluetooth: HCI device and connection manager initialized
[   88.021601] Bluetooth: HCI socket layer initialized
[   88.043721] Bluetooth: L2CAP ver 2.8
[   88.043728] Bluetooth: L2CAP socket layer initialized
[   88.142220] Bluetooth: RFCOMM socket layer initialized
[   88.142340] Bluetooth: RFCOMM TTY layer initialized
[   88.142343] Bluetooth: RFCOMM ver 1.8
[   88.950120] PPP generic driver version 2.4.2
[   89.434016] agpgart: Found an AGP 3.0 compliant device at 0000:00: 00.0.
[   89.434037] agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
[   89.434129] agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[  102.701181] NET: Registered protocol family 17
[  102.787898] NET: Registered protocol family 10
[  102.788116] lo: Disabled Privacy Extensions
[  102.788305] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  112.824696] nas0: no IPv6 routers present
[  177.247287 ] br2684_create: register_netdev failed
[  223.575316] NET: Registered protocol family 24
chuleymar@losotro:~$

i plug the cam to the usb port:
chuleymar@losotro:~$ dmesg | tail -n 20
[   88.950120] PPP generic driver version 2.4.2
[   89.434016] agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
[   89.434037] agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
[   89.434129] agpgart: Putting AGP V3 device at 0000:01: 00.0 into 8x mode
[  102.701181] NET: Registered protocol family 17
[  102.787898] NET: Registered protocol family 10
[  102.788116] lo: Disabled Privacy Extensions
[  102.788305] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  112.824696] nas0: no IPv6 routers present
[  177.247287] br2684_create: register_netdev failed
[  223.575316] NET: Registered protocol family 24
[  402.009582] usb 1-1: new full speed USB device using uhci_hcd and address 2
[  402.207569] usb 1-1: configuration #1 chosen from 1 choice
[  402.312331] Linux video capture interface: v2.00
[  402.365099] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: USB GSPCA camera found.(ZC3XX)
[  402.365114] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: [spca5xx_probe:4275] Camera type JPEG
[  403.038829] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/Vimicro/zc3xx.h: [zc3xx_config:597]  Sensor UNKNOW_0 force Tas5130
[  403.042854] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: [spca5xx_getcapability:1249] maxw 640 maxh 480 minw 160 minh 120
[  403.043325] usbcore: registered new interface driver gspca
[  403.043410] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: gspca driver 01.00.20 registered
chuleymar@losotro:~$

i run the spcaview:
chuleymar@losotro:~/imagenes_y_cosas/camara/spcaview-20061208$ spcaview
 Spcaview version: 1.1.7 date: 06:11:2006 (C) mxhaard@xxxxxxxx
Initializing SDL.
SDL initialized.
bpp 3 format 15
Using video device /dev/video0.
Initializing v4l.
**************** PROBING CAMERA *********************
Camera found: Z-star Vimicro zc0301p
Bridge found: ZC301-2
Bridge find ZC301-2 number 13
StreamId: JPEG Camera
quality 1 autoexpo 1 Timeframe 0 lightfreq 50
Bridge find ZC301-2 number 13
Available Resolutions width 640  heigth 480 native 
Available Resolutions width 352  heigth 288 decoded 
Available Resolutions width 320  heigth 240 native *
Available Resolutions width 176  heigth 144 decoded 
unable to probe size !!
*****************************************************
 grabbing method default MMAP asked
VIDIOCGMBUF size 2457632  frames 2  offets[0]=0 offsets[1]=1228816
VIDIOCGPICT
brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0
depth=12 palette=4
VIDIOCSPICT
brightness=32768 hue=0 color=0 contrast=32768 whiteness=0
depth=24 palette=15

and do a dmesg:
chuleymar@losotro:~/imagenes_y_cosas/camara/spcaview-20061208$ dmesg | tail -n 20
[   89.434129] agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[  102.701181] NET: Registered protocol family 17
[  102.787898] NET: Registered protocol family 10
[  102.788116] lo: Disabled Privacy Extensions
[  102.788305] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  112.824696] nas0: no IPv6 routers present
[  177.247287] br2684_create: register_netdev failed
[  223.575316] NET: Registered protocol family 24
[  402.009582] usb 1-1: new full speed USB device using uhci_hcd and address 2
[  402.207569] usb 1-1: configuration #1 chosen from 1 choice
[  402.312331] Linux video capture interface: v2.00
[  402.365099] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: USB GSPCA camera found.(ZC3XX)
[  402.365114] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: [spca5xx_probe:4275] Camera type JPEG
[  403.038829] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/Vimicro/zc3xx.h: [zc3xx_config:597]  Sensor UNKNOW_0 force Tas5130
[  403.042854] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: [spca5xx_getcapability:1249] maxw 640 maxh 480 minw 160 minh 120
[  403.043325] usbcore: registered new interface driver gspca
[  403.043410] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: gspca driver 01.00.20 registered
[  488.460918] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: [gspca_set_isoc_ep:945] ISO EndPoint found 0x81 AlternateSet 7
[  489.166547] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: [spca5xx_do_ioctl:2124] Bridge ZC301-2
[  489.166727] /home/chuleymar/imagenes_y_cosas/camara/gspcav1-20071224/gspca_core.c: [spca5xx_do_ioctl:2124] Bridge ZC301-2
chuleymar@losotro:~/imagenes_y_cosas/camara/spcaview-20061208

and close the spcaview:
Used 97860ms for 2416 images => 40ms/image 24fps.
Quiting SDL.
Decoded frames:2416 Average decode time: 2.000000
unmapping
closing
closed
Destroy Picture thread ...
Quiting....
chuleymar@losotro:~/imagenes_y_cosas/camara/spcaview-20061208$

i will read the link you send me to the usb traffic snoop later...

thanks you again
regards
chule
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs