Comment 22 for bug 292086

Revision history for this message
Inox (inox) wrote :

My camera is still not working!!!

However you can follow my steps to get yours back to live...

This patch by Jani Monoses (https://bugs.launchpad.net/~jani):

xxd /lib/modules/2.6.27-11-generic/kernel/drivers/media/video/gspca/gspca_zc3xx.ko |sed '/^000a370:/ s/1b30/3b30/' |xxd -r | sponge /lib/modules/2.6.27-11-generic/kernel/drivers/media/video/gspca/gspca_zc3xx.ko

makes my Vimicro webcam create /dev/video1 (video0 is the video tuner in my case), but the received image parameters make camorama crash and Skype display some green floating boxes with just static around :(

That's why I decided to try kernel patch by Andy Whitcroft (https://bugs.launchpad.net/~apw).
I cannot simply apply his ready-to-use kernel, because of my other specific needs. So...

#apt-get update
#apt-get install kernel-package libncurses5-dev fakeroot bzip2
#apt-get install linux-source
#cd /usr/src
#bzip2 -d linux-source-2.6.27.tar.bz2
#tar xvf linux-source-2.6.27.tar
#ln -s linux-source-2.6.27 linux
#cd linux
#cp /boot/config-2.6.27-11-generic ./.config
#cat ../0001-UBUNTU-SAUCE-gspca-Let-gspca-handle-the-webcams-0.patch | patch -p1 --dry-run
#cat ../0002-UBUNTU-SAUCE-Fix-webcam-having-USB-ID-0ac8-303b.patch | patch -p1 --dry-run
#cat ../0001-UBUNTU-SAUCE-gspca-Let-gspca-handle-the-webcams-0.patch | patch -p1
#cat ../0002-UBUNTU-SAUCE-Fix-webcam-having-USB-ID-0ac8-303b.patch | patch -p1
#make menuconfig
Loaded .config file. Exited saving.
#make-kpkg clean
#fakeroot make-kpkg --initrd --append-to-version=-webcam+kernel kernel_image kernel_headers
Was REALLY, REALLY patient and got new shiny kernel in ready-to-use deb package as usual.
My machine boots properely and creates /dev/video1 for my 0ac8:303b (proper modules are loaded) but effect is the same as for Jani's patch :( just static and floating green, blue boxes. Camera LED turns on. Nothing else happens.

Any suggestions? Thank you in advance!