Public bug reported: My webcam Z-Star 305b was supposed to work out of the box, but it doesn't work in gutsy, hard or intrepid.
I've read lots of threads and tried some suggestions, but unsuccessfully. At present, I'm using intrepid i386 with kernel 2.6.27-9-generic. lsmod |grep gspca output is: gspca_zc3xx 55936 0 gspca_main 29312 1 gspca_zc3xx videodev 41344 1 gspca_main usbcore 148848 9 gspca_zc3xx,gspca_main,usblp,usbhid,usb_storage,libusual,ehci_hcd,uhci_hcd lsusb output is: Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 003: ID 0e8f:0003 GreenAsia Inc. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 0ac8:305b Z-Star Microelectronics Corp. ZC0305 WebCam Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub I've tried the suggestions as follow: 1. Compiling gspca-source from the official repository. My outputs were: r...@paulo-desktop:/home/paulo# m-a prepare Getting source for kernel version: 2.6.27-9-generic Cabeçalhos de kernel disponíveis em /usr/src/linux-headers-2.6.27-9-generic Criando ligação simbólica ... apt-get install build-essential E: Não foi possível obter trava /var/lib/dpkg/lock - open (11 Recurso temporariamente indisponível) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? Feito ! r...@paulo-desktop:/home/paulo# m-a a-i gspca Informações sobre 1 pacotes atualizadas Getting source for kernel version: 2.6.27-9-generic Cabeçalhos de kernel disponíveis em /usr/src/linux Criando ligação simbólica ... Não foi possível criar a ligação simbólica /usr/src/linux ! apt-get install build-essential E: Não foi possível obter trava /var/lib/dpkg/lock - open (11 Recurso temporariamente indisponível) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? Feito ! unpack Extracting the package tarball, /usr/src/gspca.tar.bz2, please wait... "/usr/share/modass/overrides/gspca-source" build KVERS=2.6.27-9-generic KSRC=/usr/src/linux-headers-2.6.27-9-generic KDREV=2.6.27-9.19 kdist_image This was the log file output: /usr/src/modules/gspca/gspca_core.c:2769: error: implicit declaration of │ function ‘video_device_create_file’ │ /usr/src/modules/gspca/gspca_core.c:2780: error: implicit declaration of │ function ‘video_device_remove_file’ │ /usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_probe’: │ /usr/src/modules/gspca/gspca_core.c:4301: error: incompatible types in │ assignment │ make[4]: ** [/usr/src/modules/gspca/gspca_core.o] Erro 1 │ make[3]: ** [_module_/usr/src/modules/gspca] Erro 2 │ make[3]: Saindo do diretório `/usr/src/linux-headers-2.6.27-9-generic' │ make[2]: ** [default] Erro 2 │ make[2]: Saindo do diretório `/usr/src/modules/gspca' │ make[1]: ** [binary-modules] Erro 2 │ make[1]: Saindo do diretório `/usr/src/modules/gspca' │ make: ** [kdist_build] Erro 2 2. Downloading and installing gspcav* from the developer's website (I've tried all versions with the same error messages): r...@paulo-desktop:/usr/src/gspcav1-20071224# ./gspca_build REMOVE the old module if present ERROR: Module gspca does not exist in /proc/modules CLEAN gspca source tree rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \ .gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \ *.symvers *.err COMPILE gspca Please Wait ....!! INSTALL gspca in the kernel binary tree mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/ rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/ install: impossível fazer stat em `gspca.ko': Arquivo ou diretório inexistente make: ** [install] Erro 1 LOAD gspca in memory FATAL: Module gspca not found. PRINT COMPILATION MESSAGES if ERRORS look kgspca.err make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/gspcav1-20071224 CC=cc modules make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.27-9-generic' CC [M] /usr/src/gspcav1-20071224/gspca_core.o /usr/src/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: Arquivo ou diretório inexistente /usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’: /usr/src/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’ /usr/src/gspcav1-20071224/gspca_core.c: At top level: /usr/src/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer /usr/src/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type /usr/src/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer /usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’: /usr/src/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’ /usr/src/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’ /usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’: /usr/src/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment make[2]: ** [/usr/src/gspcav1-20071224/gspca_core.o] Erro 1 make[1]: ** [_module_/usr/src/gspcav1-20071224] Erro 2 make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.27-9-generic' make: ** [default] Erro 2 3. Lastly, I tried the 'LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so' trick available in another bug report. In this case, the output were: pa...@paulo-desktop:~$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama (camorama:10580): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated libv4l2: error dequeuing buf: Erro de entrada/saída What else could I do to have my webcam ok? I've also tried cheese, camstream and camE. I know I'm not a linux expert, but I'm not a newbie too. Am I doing anything wrong? I would appreciate any help, because I'm completely lost. :-( Thanks in advance! ** Affects: gspca (Ubuntu) Importance: Undecided Status: New -- Webcam Z-Star 305b doesn't work in Ubuntu https://bugs.launchpad.net/bugs/308825 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs