UVC webcam upside down image

I have a laptop with a buld-in webcam. This would normally be all well and good, but the damn thing has a problem with the picture being upside down…

If you have the same problem, here is the solution:

  1. Download the new uvcvideo from here and extract it.
  2. Extract the file (tar xjvf uvcvideo.tar.bz2)
  3. Get one of the patches: 1_mirrored, 1_notMirrored, 2_mirrored, 2_notMirrored (courtesy of arjos85)
  4. Save the patch in the folder ~/linux/drivers/media/video/uvc/uvc_video.c (~ is the path to the just downloaded and extracted driver)
  5. Then run: patch -p0 < [your_patch]
  6. Now build the module: make && make install
  7. load it with: modprobe uvcvideo

Now everything should be working correctly. Try it with Skype or Cheese!

Let me know if there were any problems…

Author: Chris A. Matenaers

Working in Digital Marketing, strong liberal world-views & privacy advocate. My hobbies are scuba-diving and coding. I'm also a huge Star Wars fan.

One thought on “UVC webcam upside down image”

  1. This isn't really the preferred method anymore!

    You better get your libv4l driver fixed, your laptop model added to the list of laptops that have their cam upside down installed… This will make the picture flip on a hardware level.

    There is a very friendly Linux Developer, Hans De Goede, who will happily assist you in doing so.

    Create two logs:
    lsusb > lsusb.log
    dmidecode > dmi.log

    and then send them to:
    Hans de Goede jwrdegoede@fedoraproject.org

    He will supply you with new libv4l driver and there are instructions for installation here: http://hansdegoede.livejournal.com/7622.html

Leave a Reply

Your email address will not be published. Required fields are marked *