Tuesday, May 6, 2008

Chicony 04f2:b012 Webcam UVC Hack

Since on the Asus W7S, the cam is installed upside down, I did a small hack for the Linux UVC driver to flip the Chicony webcam's image vertically. At the moment it is very hacky, but works fine. This really shouldn't be in the kernel, but I would rather have the cam work than not.

Based on SVN Rev 207 of the UVC driver: http://www.uhacc.org/~dfu/uvc-hack.tar.gz
If you want to see what I did: http://www.uhacc.org/~dfu/uvc-hack.patch

I will post more findings later.

Labels: , , , ,

5 Comments:

Blogger ourcach said...

Tanks for the hack... tryed and works great. good job

July 10, 2008 at 4:35 AM  
Blogger CristianTM said...

Thank you VERY MUCH for this hack!

I was just going to start to write a hack.. But tought I should check google again if nobody found a sollution ;)

July 14, 2008 at 3:19 PM  
Blogger YaKs said...

I am trying to compile the hack with the latest Ubuntu 8.10 and I get the following error
CC [M] /home/jose/Escritorio/trunk/uvc_driver.o
/home/jose/Escritorio/trunk/uvc_driver.c: En la función ‘uvc_register_video’:
/home/jose/Escritorio/trunk/uvc_driver.c:1449: error: tipos incompatibles en la asignación
/home/jose/Escritorio/trunk/uvc_driver.c:1450: error: ‘struct video_device’ no tiene un miembro llamado ‘type’
/home/jose/Escritorio/trunk/uvc_driver.c:1451: error: ‘struct video_device’ no tiene un miembro llamado ‘type2’
make[2]: *** [/home/jose/Escritorio/trunk/uvc_driver.o] Error 1

could you help me out with this?
it will be your patch added to the uvc driver? did u already send it to them?

many thanks and congrats!
Jose

November 6, 2008 at 4:15 AM  
Blogger Unknown said...

Any help to apply this patch ?
thanks :)

November 30, 2008 at 4:02 AM  
Blogger Unknown said...

Hi,
can you please post installation instructions? It would be greatly appreciated.
Merry Xmas

December 25, 2008 at 9:27 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home