Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: [SOLVED] Webcam image turned 180 degrees (upside down)?

  1. #1
    Join Date
    Apr 2006
    Beans
    35
    Distro
    Ubuntu 8.04 Hardy Heron

    Question [SOLVED] Webcam image turned 180 degrees (upside down)?

    Hello,
    I have an ASUS S96S with a fresh install of 8.04. everything worked automatically (including function keys for brightness, sound volume etc..) but the intergrated webcam produces a picture upside down. This makes it unuseable with Skype (main purpose of having the webcam) and Camorama. "Chesse" has an effect option to turn the image 180 degrees but that doesn't solve the problem.
    The webcam appears as "Syntek USB Video Camera " dev/video01 "
    Do you have any idea where I could start?
    Thank you
    Alain
    100% Ubuntu since May 2006

  2. #2
    Join Date
    Dec 2007
    Location
    BUE @ Argentina
    Beans
    1,225
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: Webcam image turned 180 degrees (upside down)?

    Quote Originally Posted by alek01 View Post
    Do you have any idea where I could start?
    Hi, a good idea to start is searching the forums
    http://ubuntuforums.org/search.php?searchid=47358656

    Try looking this thread:
    http://ubuntuforums.org/search.php?searchid=47358656

    Good luck!
    /**HP Pavilion DV6646us laptop: AMD 1.9 GHz Turion 64 X2 / 2Gb RAM / 160Gb HDD / NVIDIA GeForce Go 7150M / 15.4" WXGA / BroadCom BCM4328 wireless / Built-in webcam **/
    -- Kubuntu 9.04, CentOs 5.2, Mikrotik RouterOS 3.3 User -- Argentina LoCo Team

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Beans
    661
    Distro
    Ubuntu Development Release

    Lightbulb Re: Webcam image turned 180 degrees (upside down)?

    Quote Originally Posted by alek01 View Post
    ...but the intergrated webcam produces a picture upside down.
    It isn't unknown for the manufacturers to install the camera upside-down. Windows drivers often compensate by flipping the image but Linux drivers, of course, do things properly and expect the hardware to do the same.

    What driver is managing the camera? It might have a module option to flip the picture.

  4. #4
    Join Date
    Apr 2006
    Beans
    35
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Webcam image turned 180 degrees (upside down)?

    Thks for the info. My driver is the Syntek (the webcam manufacturer for ASUS). I don't know how to open the driver or make changes to the output. Physically turning the webcam is not possible 'cause it is neatly seaed into the frame of the screen.
    I wentt o see the previous message'slinks so I'm sure my driver is instaled OK.
    What should I do next?
    Thks again,
    Alain
    100% Ubuntu since May 2006

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Beans
    661
    Distro
    Ubuntu Development Release

    Re: Webcam image turned 180 degrees (upside down)?

    Copy the results of these commands so we can see what the device is:
    Code:
    lsusb
    
    udevinfo --query=all --name=/dev/video0 --attribute-walk
    Even if you did open the case, it is unlikely the camera can be rotated since the image sensor is on a circuit board and that will be custom-fitted and very very unlikely to fit any other way.

  6. #6
    Join Date
    May 2007
    Location
    San Francisco, California
    Beans
    5,857
    Distro
    Ubuntu Development Release

    Re: Webcam image turned 180 degrees (upside down)?

    Try using Ekiga see if the cam works/detected. You may have to work with the settings > Open Ekiga > Edit > Preferences > Devices > Video Devices > try changing some of the settings. (try both V4L and V4L2)

    To test your webcam you can do this:
    There are 6 icons on the left side of the main Ekiga window. Push the 4th button from the top (a grey round webcam). If eveything is ok, you'll see the output of the webcam. If not, you'll see the Ekiga logo bouncing slowly.

    If Ekiga doesn't work post results of the command > lsusb

  7. #7
    Join Date
    Apr 2006
    Beans
    35
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Webcam image turned 180 degrees (upside down)?

    Thanks for your help. Here are t he results of the commands: I see the mention of the stk11xx_driver but don't know how to modify/open it.
    Thks again
    ******************
    alain@asus-tux:~$ lsusb
    Bus 007 Device 005: ID 174f:6a51
    Bus 007 Device 001: ID 0000:0000
    Bus 006 Device 001: ID 0000:0000
    Bus 005 Device 001: ID 0000:0000
    Bus 004 Device 003: ID 047d:105e Kensington
    Bus 004 Device 002: ID 03f0:3402 Hewlett-Packard
    Bus 004 Device 001: ID 0000:0000
    Bus 003 Device 004: ID 04b4:0101 Cypress Semiconductor Corp.
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000
    alain@asus-tux:~$ udevinfo --query=all --name=/dev/video0 --attribute-walk

    Udevinfo starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.

    looking at device '/devices/pci0000:00/0000:00:1d.7/usb7/7-6/7-6:1.0/video4linux/video0':
    KERNEL=="video0"
    SUBSYSTEM=="video4linux"
    DRIVER==""
    ATTR{dev}=="81:0"
    ATTR{name}=="Syntek USB Video Camera"
    ATTR{release}=="5"
    ATTR{fps}=="25"
    ATTR{brightness}=="7FFF"
    ATTR{contrast}=="7FFF"
    ATTR{whitebalance}=="7FFF"
    ATTR{colour}=="7FFF"
    ATTR{hflip}=="0"
    ATTR{vflip}=="0"

    looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb7/7-6/7-6:1.0/video4linux':
    KERNELS=="video4linux"
    SUBSYSTEMS==""
    DRIVERS==""

    looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb7/7-6/7-6:1.0':
    KERNELS=="7-6:1.0"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb_stk11xx_driver"
    ATTRS{bInterfaceNumber}=="00"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{bNumEndpoints}=="02"
    ATTRS{bInterfaceClass}=="ff"
    ATTRS{bInterfaceSubClass}=="ff"
    ATTRS{bInterfaceProtocol}=="ff"
    ATTRS{modalias}=="usb:v174Fp6A51d0005dc00dsc00dp00 icFFiscFFipFF"

    looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb7/7-6':
    KERNELS=="7-6"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{dev}=="189:772"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="80"
    ATTRS{bMaxPower}=="500mA"
    ATTRS{urbnum}=="19833"
    ATTRS{idVendor}=="174f"
    ATTRS{idProduct}=="6a51"
    ATTRS{bcdDevice}=="0005"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="7"
    ATTRS{devnum}=="5"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Syntek"
    ATTRS{product}=="USB2.0"
    ATTRS{serial}=="?????????????????????????????????? ????????????????????????????????Syntek ?USB2.0 ?Audio "

    looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb7':
    KERNELS=="usb7"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{dev}=="189:768"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}==" 0mA"
    ATTRS{urbnum}=="75"
    ATTRS{idVendor}=="0000"
    ATTRS{idProduct}=="0000"
    ATTRS{bcdDevice}=="0206"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="01"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="7"
    ATTRS{devnum}=="1"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="6"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 2.6.24-19-generic ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:00:1d.7"
    ATTRS{authorized_default}=="1"

    looking at parent device '/devices/pci0000:00/0000:00:1d.7':
    KERNELS=="0000:00:1d.7"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x8086"
    ATTRS{device}=="0x2836"
    ATTRS{subsystem_vendor}=="0x1043"
    ATTRS{subsystem_device}=="0x8263"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="18"
    ATTRS{local_cpus}=="ff"
    ATTRS{modalias}=="pci:v00008086d00002836sv00001043 sd00008263bc0Csc03i20"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""

    looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
    *******************************

  8. #8
    Join Date
    Nov 2006
    Location
    UK
    Beans
    661
    Distro
    Ubuntu Development Release

    Lightbulb Re: Webcam image turned 180 degrees (upside down)?

    Thanks, that helps a lot! For information, the driver that manages the camera is stk11xx. It has the vflip option so let's try it. (You can check all the options the driver offers using the command "modinfo stk11xx").

    Unload the driver and then re-load it with the vflip option:
    Code:
    sudo modprobe -r stk11xx
    sudo modprobe stk11xx vflip=1
    Now try your applications. If that has solved the issue you can add the option to the system settings so the driver always uses it when it loads:
    Code:
    echo "options stk11xx vflip=1" | sudo tee -a /etc/modprobe.d/options

  9. #9
    Join Date
    Apr 2006
    Beans
    35
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Webcam image turned 180 degrees (upside down)?

    Thanks a million! PROBLEM SOLVED
    You are fanstistic. It works perfect now.
    I understand what you've done.
    I've been happilly exclusively on Ubuntu one year or so, but thiw new computer had this problem. Now I can continue my opensource delight...
    BTW, I love your true observation about intutive interface and true connection...
    All the best
    Alain
    100% Ubuntu since May 2006

  10. #10
    Join Date
    Jan 2007
    Location
    Stockholm, Sweden
    Beans
    18
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: [SOLVED] Webcam image turned 180 degrees (upside down)?

    I have a similar problem with my camera and I want to adjust the horizontal orientation plus the brightness and contrast. I tried doing what is described in the previous posts but my camera's driver seems to be the uvcvideo driver. I checked the modinfo uvcvideo command but the only parameter I get is trace.

    Could u give me some further help?

Page 1 of 3 123 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
  •