Arquivo da tag: Hack

Derek’s hack to fix W7S flipped WebCam

I was going to use some of my vacation time to try to fix the vertical flip (upside down) bug in Chicony Electronics WebCam (04f2:b012) in W7S laptop, but decided to take a look on Google again if anyone has already found a fix for that… And I found it!!!

Derek Bruce wrote a small hack to uvcvideo that fixes this anoying bug at kernel module level. Is a very simple sollution, but works very well!!!

Just aply this patch to uvcvideo (content also avaliable at the end of this post). You can download latest uvcvideo from here, or checkout the latest svn version using the following command:

svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk uvc-video

Important note: Default Makefile will put uvcvideo kernel module on the wrong path for Ubuntu, and you may need to change this line on Makefile:

INSTALL_MOD_DIR := kernel/ubuntu/media/usbvideo

to:

INSTALL_MOD_DIR := ubuntu/media/usbvideo

Download the patch file to the uvcvideo source folder, and aply it using the following command:

patch -i uvc-hack.patch

Compile and install the driver using make:

make
sudo make install

Just reload the kernel module:

modprobe -r uvcvideo
modprobe uvcvideo

And that’s all… your don’t need to flip the notebook anymore to talk with another people! 😉

Thanks a lot, Derek, for this nice patch!!!

Continuar lendo

Anúncios
Etiquetado , , , , , , , , , ,
Anúncios