I have tried this solution either with the "mirrored" or the "NOTmirrored" patch_solution1 and in every case I obtain the same result, wich mean a functional driver but with the image upside down (a mirrored image).Originally Posted by snwbrdr464
this is what worked for me:
first of all if you do not have the program mercurial installed you need that it uses hg to run so that's the program-name you would check:
aptitude install mercurial
then just do these in a terminal and it should work just fine:
hg clone http://linuxtv.org/hg/~pinchartl/uvcvideo/
cd uvcvideo/linux/drivers/media/video/uvc/
patch < ~/path/to/patch_solution1_mirrored.txt
cd ~/uvcvideo/
make
sudo make install
sudo make unload
sudo modprobe uvcvideo
I noticed when applying the patch an error message concerning the line 371. Could it be possible that in both cases the patch does not work and that by the "make" command I create the "standard" driver?
How could I solve this difficulty?
I use Ubuntu 9.04 (In fact LinuxMint 7 Gloria) and my laptop is a Packard-Bell EasyNote BG48-AU-190FR with a Chicony 1.3M webcam having the following identification : 04f2:b012 Chicony Electronics Co., Ltd 1.3 MPixel UVC webcam
Please any help would be really appreciated!!! Thanks by advance for all your efforts to help me
I have also tried to follow the instructions given by Lantarosa as following :but I am unable to find inside the patch an information about the path. So I am unable to modify it. Where is located the information that should be modified to work with 9.04Should also work for normal ubuntu 9.04, just download the new uvcvideo from here and extract it:
http://linuxtv.org/hg/~pinchartl/uvcvideo/
e.g. tar xjvf uvcvideo.tar.bz2 if you got the bz2 archive.
Save the patch in the folder where you extracted uvcvideo to and change the path in the patch to:
linux/drivers/media/video/uvc/uvc_video.c
Then just execute
patch -p0 < patch_solution1_mirrored.txt
Last edited by jack_capvil; August 3rd, 2009 at 08:32 PM.
BUMP!
I too am having the same error when trying to patch:
patch < patch_solution1_mirrored.txt
patching file uvc_video.c
Hunk #1 FAILED at 371.
1 out of 1 hunk FAILED -- saving rejects to file uvc_video.c.rej
I'm using Linux Mint 7 "Gloria" (Kernel: 2.6.28-14-generic amd64)...
Please help.
lsusb: Bus 001 Device 002: ID 174f:5a35 Syntek 1.3MPixel Web Cam - Asus G1s
Hi there,
Same problem here, can't do tha patch thing,
THanks in advance!
O, yah. I too have this error at371 line %)
Asus x55sr Ubuntu 9.04 ( 2.6.28-14-generic)
04f2:b012 Chicony Electronics Co.
Hi,
I've noticed that you and a few others are still trying to fix this with a kernel patch. As I've explained in a comment in this thread before, that is really not the right way to fix this.
The correct way to fix this is to let libv4l the v4l format conversion library of which I'm the author, do the flipping. Ubuntu has been shipping this library for 2 releases now, and the new 0.6.0 release has a table with DMI identification strings for many Asus laptop models which are known to have an upside down webcam and will correct this automatically without any kernel patching necessary.
If you can send me the necessary information for your laptop I'll happily add that to libv4l for the 0.6.1 release, and I'll send you detailed instructions how to get and install the latest libv4l so that you can fix this quick and easy without needing to patch the kernel.
See this post for what information I need and howto get it:
http://lists.berlios.de/pipermail/li...ne/004886.html
Please send this information in a mail to:
Hans de Goede <jwrdegoede@fedoraproject.org>
Regards,
Hans
p.s.
Please do not copy and paste the dmidecode output, but use the redirection operator '>' as given as example in the mailinglist post and attach the resulting file to the mail. The dmidecode output may contain trailing whitespace which I need and this whitespace may get lost using copy and paste.
sended.Originally Posted by HansdeGoede
... and nevertheless that with this line №371.? %))
Last edited by Grimarr; August 10th, 2009 at 08:17 PM.
Hello, sorry but my english is not very well.
I've tried to follow the steps, but when I run "make uvcvideo" the computer reports this:
Any idea about the problem??? thanksdaniel@daniel-poratil:~/trunk$ sudo make uvcvideo
Building USB Video Class driver...
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.28-14-generic'
CC [M] /home/daniel/trunk/uvc_driver.o
CC [M] /home/daniel/trunk/uvc_queue.o
CC [M] /home/daniel/trunk/uvc_v4l2.o
/home/daniel/trunk/uvc_v4l2.c: En la función ‘uvc_v4l2_do_ioctl’:
/home/daniel/trunk/uvc_v4l2.c:986: aviso: se pasa el argumento 1 de ‘v4l_compat_translate_ioctl’ desde un tipo de puntero incompatible
/home/daniel/trunk/uvc_v4l2.c:986: aviso: el paso del argumento 2 de ‘v4l_compat_translate_ioctl’ crea un entero desde un puntero sin una conversión
/home/daniel/trunk/uvc_v4l2.c:986: aviso: el paso del argumento 3 de ‘v4l_compat_translate_ioctl’ crea un puntero desde un entero sin una conversión
/home/daniel/trunk/uvc_v4l2.c:986: error: demasiados argumentos para la función ‘v4l_compat_translate_ioctl’
make[2]: *** [/home/daniel/trunk/uvc_v4l2.o] Error 1
make[1]: *** [_module_/home/daniel/trunk] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.28-14-generic'
make: *** [uvcvideo] Error 2
daniel@daniel-poratil:~/trunk$
Maybe, you will be helped by reinstallation v4l and accompanying libraries. At least it has helped me with a similar case of %)
Last edited by Grimarr; August 12th, 2009 at 03:42 AM.
Bookmarks