Image on webcam is upside-down

Bug #204527 reported by Bazilio
This bug report is a duplicate of:  Bug #224559: Image on webcam is upside-down. Edit Remove
8
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.22 (Baltix)
New
Undecided
Unassigned
linux-ubuntu-modules-2.6.22 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I am russian, so sorry for my english.

My system is Kubuntu 7.10
bazilio@ASUSG1S:~$ lsb_release -rd
Description: Ubuntu 7.10
Release: 7.10

I use Asus G1S laptop and i have a problem with my webcam.
It works out of box, but image is upside-down.
In kopete settings it works, but upside-down
In skype it works, but upside-down.

I know that it old bug, but nobody can solve it.

Some info:
bazilio@ASUSG1S:~$ lsmod | grep video
video 18060 0
uvcvideo 57480 0
compat_ioctl32 2304 1 uvcvideo
videodev 29312 1 uvcvideo
v4l1_compat 15364 2 uvcvideo,videodev
v4l2_common 18432 2 uvcvideo,videodev
usbcore 138632 7 xpad,uvcvideo,hci_usb,usbhid,ehci_hcd,uhci_hcd

String with "syntek" about my webcam:
bazilio@ASUSG1S:~$ lsusb
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 003: ID 0b05:1726 ASUSTek Computer, Inc. Laptop OLED Display
Bus 006 Device 002: ID 174f:5a35 Syntek
Bus 006 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 005 Device 002: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000

In windows system it works perfect, webcam detects as D-Max_GD-5A35, device PID code: USB\VID_174F&PID_5A35

In linux it detects as Sonix Technoogy Co., Ltd USB 2.0 Camera

P.S. sorry, if i wrote in wrong place.

Revision history for this message
Guilherme Blanco (guilhermeblanco) wrote :

This is bug that is coming since 7.04, was present in 7.10 too and continues in 8.04 Beta.
I tried a fresh install here of Kubuntu 8.04 Beta KDE4 and the problem is still present.

blanco@blanco-laptop:~$ lsmod | grep video
uvcvideo 58116 0
compat_ioctl32 2304 1 uvcvideo
videodev 29440 1 uvcvideo
v4l1_compat 15492 2 uvcvideo,videodev
v4l2_common 18304 2 uvcvideo,videodev
video 20112 0
output 4736 1 video
usbcore 146028 6 hci_usb,uvcvideo,usbhid,ehci_hcd,uhci_hcd
blanco@blanco-laptop:~$ lsusb
Bus 007 Device 001: ID 0000:0000
Bus 003 Device 003: ID 0b05:1726 ASUSTek Computer, Inc.
Bus 003 Device 002: ID 174f:5a35
Bus 003 Device 001: ID 0000:0000
Bus 006 Device 002: ID 0b05:1712 ASUSTek Computer, Inc.
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
blanco@blanco-laptop:~$

I also tried to adjust the camera through luvcview, without success too.
That was described in http://asusg1s.wikidot.com

Also, until now I could not get my bluetooth up in 8.04 (was working in 7.10)...

Revision history for this message
Bert Van Vreckem (bert-vanvreckem) wrote :

I have the same problem with a Syntek webcam (in a Packard Bell EasyNote MX66-205). The device ID in my case is 174f:a821.

Here' s a workaround:

1/ Temporarily flip the image (until reboot):

$ echo 1 > /sys/class/video4linux/video0/vflip

Or you can try:

$ sudo rmmod stkxx11
$ sudo modprobe stkxx11 vflip=1

2/ Permanent solution:

 (1) sudoedit /etc/modprobe.d/stk11d
 (2) paste the following line in that file:

      options stk11xx vflip=1

 (3) reload the kernel module

     sudo rmmod stkxx11; sudo modprobe stk11xx

Hope this helps!

References:
http://www.sonyjose.in/blog/?p=51
http://epixstudios.co.uk/blog/2008/02/05/packard-bell-syntek-webcam-success/

Revision history for this message
Bert Van Vreckem (bert-vanvreckem) wrote :

Oops, I found a bunch of typos in my last comment. I misspelled the driver module name a few times. Here's a corrected version, please ignore the previous one. Apologies for the inconvenience...

1/ Temporarily flip the image (until reboot):

$ echo 1 > /sys/class/video4linux/video0/vflip

Or you can try:

$ sudo rmmod stk11xx
$ sudo modprobe stk11xx vflip=1

2/ Permanent solution:

 (1) sudoedit /etc/modprobe.d/stk11xx
 (2) paste the following line in that file:

      options stk11xx vflip=1

 (3) reload the kernel module

     sudo rmmod stk11xx; sudo modprobe stk11xx

Revision history for this message
Bazilio (bazilio-recast1) wrote :

bertvv, thank you for reply.
but my webcam uses uvcvideo instead of stk11xx
and sudo modprobe stk11xx vflip=1 does nothing.

Revision history for this message
Bert Van Vreckem (bert-vanvreckem) wrote :

Okay. Does the first part of method 1 work ("echo 1 > ..." etc.)?

If so, you could try to replace stk11xx by uvcvideo in method 2 and see how that works. I tried to find documentation on the available options of the uvcvideo kernel module, but couldn't find much. So, I don't know if the vflip option is available for your driver.

Maybe you should contact the developers of the uvcvideo driver at http://developer.berlios.de/projects/linux-uvc/

Revision history for this message
Bazilio (bazilio-recast1) wrote :

No, ("echo 1 > ..." etc.) not work

bazilio@bazilio-laptop:~$ ls /sys/class/video4linux/video0/
dev device name power subsystem uevent

there is no "vflip"

There is my bug with no reaction:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=13439&group_id=5681

http://linux-uvc.berlios.de/#footnote-3
There written:
"This camera module is known to be mounted upside-down in some notebooks. There is currently no documented way to rotate the image at the device level. If you don't mind holding your computer upside-down, the camera should work fine."

But other people can do (echo 1 > /sys/class/video4linux/video0/vflip) and all ok. Why I cant't? Where is my vflip?
Maybe bug in video4linux?

Revision history for this message
Bert Van Vreckem (bert-vanvreckem) wrote :

This depends on the driver/kernel module, in your case uvcvideo (in my case stk11xx). The developers of uvcvideo apparently haven't implemented this option, those working on the driver I use have. I guess you're stuck...

Revision history for this message
Bazilio (bazilio-recast1) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 9.04 with linux-image-2.6.28-2-ub-generic?

Changed in linux-ubuntu-modules-2.6.22:
status: New → Incomplete
Revision history for this message
Bazilio (bazilio-recast1) wrote :

Now i'm using Kubuntu 8.04.1. I do not have the opportunity to install the system from Alternate install CD. Is there a Live CD, so I can try the system without installing? I use my laptop for work and do not want to risk.

Revision history for this message
joiner (gaffajoiner) wrote : Re: [Bug 204527] Re: Image on webcam is upside-down

Go hear and download it, i got one on disk sent by them, it a great
program, trying to learn how to use it properly

http://www.kubuntu.org/

From: "Bazilio" <email address hidden>
Sent: Thursday, December 04, 2008 10:53 AM
To: <email address hidden>
Subject: [Bug 204527] Re: Image on webcam is upside-down

> Now i'm using Kubuntu 8.04.1. I do not have the opportunity to install
> the system from Alternate install CD. Is there a Live CD, so I can try
> the system without installing? I use my laptop for work and do not want
> to risk.
>
> --
> Image on webcam is upside-down
> https://bugs.launchpad.net/bugs/204527
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux-ubuntu-modules-2.6.22” source package in Ubuntu:
> Incomplete
> Status in “linux-ubuntu-modules-2.6.22” source package in Baltix: New
>
> Bug description:
> I am russian, so sorry for my english.
>
> My system is Kubuntu 7.10
> bazilio@ASUSG1S:~$ lsb_release -rd
> Description: Ubuntu 7.10
> Release: 7.10
>
> I use Asus G1S laptop and i have a problem with my webcam.
> It works out of box, but image is upside-down.
> In kopete settings it works, but upside-down
> In skype it works, but upside-down.
>
> I know that it old bug, but nobody can solve it.
>
> Some info:
> bazilio@ASUSG1S:~$ lsmod | grep video
> video 18060 0
> uvcvideo 57480 0
> compat_ioctl32 2304 1 uvcvideo
> videodev 29312 1 uvcvideo
> v4l1_compat 15364 2 uvcvideo,videodev
> v4l2_common 18432 2 uvcvideo,videodev
> usbcore 138632 7
> xpad,uvcvideo,hci_usb,usbhid,ehci_hcd,uhci_hcd
>
> String with "syntek" about my webcam:
> bazilio@ASUSG1S:~$ lsusb
> Bus 007 Device 001: ID 0000:0000
> Bus 006 Device 003: ID 0b05:1726 ASUSTek Computer, Inc. Laptop OLED
> Display
> Bus 006 Device 002: ID 174f:5a35 Syntek
> Bus 006 Device 001: ID 0000:0000
> Bus 003 Device 002: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
> Bus 003 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
> Bus 002 Device 001: ID 0000:0000
> Bus 005 Device 002: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth
> 2.0+EDR adapter
> Bus 005 Device 001: ID 0000:0000
> Bus 004 Device 001: ID 0000:0000
>
> In windows system it works perfect, webcam detects as D-Max_GD-5A35,
> device PID code: USB\VID_174F&PID_5A35
>
> In linux it detects as Sonix Technoogy Co., Ltd USB 2.0 Camera
>
> P.S. sorry, if i wrote in wrong place.
>

Revision history for this message
Andres Mujica (andres.mujica) wrote :

Hi, i'm marking this as dupe from bug #224559

Thanks for your report.

Revision history for this message
Kapil Soni (kapilsoni2006) wrote :

Hi

I am Kapil Soni. I have installed ubuntu 11.4 version, which is going great but I am facing the same problem. When I use the webcam it shows me upside down. And I am really very upset with this. Can you please solve this bug.

Regards
Kapil Soni

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.