you say :
2. Modify the uvc_video.c by hand according to instructions on the first post in this thread......
How do i modify the file the you say here ???
In the first post are only paches ???
Those paches worked fine until 8.10 ...now on 9.04 the image is again upside down
my cam is:
Bus 002 Device 002: ID 04f2:b012 Chicony Electronics Co., Ltd 1.3 MPixel UVC webcam
Can someone please post the modified file here ????
colossus
Last edited by colossus_r; April 30th, 2009 at 12:04 AM.
I didn't understood neither :S
PS: I think you can modify the title to put [All Variants] instead of [Kubuntu] because it has nothing to do with KDE.
same problem with errors with 9.04 - can`t follow the instructions, could somebody explain the steps for (k)ubuntu 9.04. my webcam is now broken :/
Thanks so much for these patches, also work with kernel 2.6.30.
Should 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
Should output that it patched it.
Now you can build the module with
make && make install
And load it with
modprobe uvcvideo
regards
Last edited by lasantarosa; May 11th, 2009 at 08:45 PM.
Great solution. It worked on my netbook (asus n50vc series) and Ubuntu 9.04 (following last instructions of lasantarosa.
Thanks a lot.
Summary of steps that I can see:
Replacing the path/to/patchetc with the proper file.Code:sudo aptitude install mercurial hg clone http://linuxtv.org/hg/~pinchartl/uvcvideo/ # wait like three hours it feels like cd uvcvideo/linux/drivers/media/video/uvc/ patch < /path/to/patch_solution1_mirrored.txt make sudo make install sudo make unload sudo modprobe uvcvideo
Any improvements necessary? Should you avoid hg clone since it takes forever (unlike git hehe)?
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
good luck it wasn't too fun figuring this out junx helped quite a bit
Hi,
This doesn't work for me properly. I've compiled and patched uvcvideo.
Method 1
With method 1 on resolutions at or below 176 x 144 this works fine, the image is displayed and it is up the correct way. If I go above 176 x 144(max for my cam is 1600 x 1200(according to cheese)) the cam window just remains black. I have tested with a couple of other programs and all seem to have the same result.
Method 2
Method 2 is the same as method 1 except that on the higher resolutions the picture is displayed but it is upside down(as it would be as if I never applied the patch)
Can anyone help me please?
Output of lsusb:
Bus 002 Device 002: ID 04f2:b106 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 147e:1000
Bus 005 Device 002: ID 0b05:1751 ASUSTek Computer, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
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
I'm using uvcvideo from http://linuxtv.org/hg/~pinchartl/uvcvideo/
Bookmarks