Page 12 of 28 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 277

Thread: [HOW-TO] Upside-down image from UVC webcam

  1. #111
    Join Date
    Mar 2008
    Beans
    7

    Re: [HOW-TO] Upside-down image from UVC webcam

    Quote Originally Posted by tsl View Post
    Hi All,


    I have an Asus U6S running Intrepid Ibex (kernel 2.6.27-7-generic).

    From lsusb my webcam is a 04f2:b036 Chicony Electronics Co., Ltd

    Here is how I got my webcam working properly:

    - sudo apt-get install subversion
    - svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
    patched the file with not mirrored patch #2
    - make uvcvideo
    - modified Makefile with the INSTALL_MOD_DIR := ubuntu/media/usbvideo
    - sudo modprobe -r uvcvideo
    - sudo make install
    - sudo depmod -ae
    - sudo modprobe uvcvideo

    Everything working well!

    Thanks!
    Hello all!
    Work for me too!

    Thanks!
    Last edited by nhudan; April 28th, 2009 at 05:32 PM.

  2. #112
    Join Date
    Jul 2007
    Beans
    1

    Re: [HOW-TO] Upside-down image from UVC webcam

    Quote Originally Posted by JimC111 View Post
    For Jaunty 9.04 beta (tested on 2.6.28-11-generic, but should work with 2.6.12 and later)

    1) Download Linux UVC (not the obsolete ones from subversion!) from http://linuxtv.org/repo/
    2) Modify v4l/uvc_video.c by hand according to instructions on the first post in this thread
    3) Build and install UVC
    Code:
    make
    sudo make install
    sudo make unload
    sudo modprobe uvcvideo
    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.

  3. #113
    Join Date
    Apr 2006
    Beans
    1

    Re: [HOW-TO] Upside-down image from UVC webcam

    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.

  4. #114
    Join Date
    Apr 2009
    Beans
    5

    Re: [HOW-TO] Upside-down image from UVC webcam

    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 :/

  5. #115
    Join Date
    Mar 2009
    Beans
    3

    Re: [HOW-TO] Upside-down image from UVC webcam

    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.

  6. #116
    Join Date
    May 2009
    Beans
    1

    Re: [HOW-TO] Upside-down image from UVC webcam

    Great solution. It worked on my netbook (asus n50vc series) and Ubuntu 9.04 (following last instructions of lasantarosa.

    Thanks a lot.

  7. #117
    Join Date
    Dec 2005
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: [HOW-TO] Upside-down image from UVC webcam

    Summary of steps that I can see:

    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
    Replacing the path/to/patchetc with the proper file.

    Any improvements necessary? Should you avoid hg clone since it takes forever (unlike git hehe)?

  8. #118
    Join Date
    May 2008
    Beans
    2

    Re: [HOW-TO] Upside-down image from UVC webcam

    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

  9. #119
    Join Date
    Aug 2005
    Beans
    12

    Re: [HOW-TO] Upside-down image from UVC webcam

    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/

  10. #120
    Join Date
    May 2009
    Beans
    1

    Re: [HOW-TO] Upside-down image from UVC webcam

    Thanks for your watered down vers: snwbrdr464

    Did it (word for word - copy and paste into terminal) on my ASUS N10J with 9.04 All working well.

    Camera now the right way up and working in Skype & Cheese.

    Thanks again,

    com_h


    Quote Originally Posted by snwbrdr464 View Post
    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

Page 12 of 28 FirstFirst ... 2101112131422 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •