Bug 20062 - No Auto-exposure for Chicony USB 2.0 Camera running uvcvideo
Summary: No Auto-exposure for Chicony USB 2.0 Camera running uvcvideo
Status: RESOLVED OBSOLETE
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: webcam (show other bugs)
Hardware: All Linux
: P1 high
Assignee: webcam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 04:37 UTC by Tommy
Modified: 2012-08-14 11:06 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.32-24-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (51.28 KB, text/bar)
2010-10-11 04:37 UTC, Tommy
Details
lspci -vvnn (35.32 KB, application/octet-stream)
2010-10-11 04:38 UTC, Tommy
Details
lsusb (693 bytes, application/octet-stream)
2010-10-11 04:39 UTC, Tommy
Details

Description Tommy 2010-10-11 04:37:23 UTC
Created attachment 33182 [details]
dmesg

~$ uname -a
Linux bahie-laptop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux

What I'm trying to find is a way to enable some sort of FrameRate issue which could solve my webcam's dark image problem. I know from test that by using lower frame rates, my picture brightens up. This same function is performed on Windows but with a different name 'Night Mode'. I have a Chicony USB2.0 camera builtin a Toshiba Notebook Qomsio F50. 

The webcam runs on the driver called 'uvcvideo' and I know this because I can see the driver loaded in v4l2cup. From my previous post, the poster told me that you camera or the driver isn't supported well and should file a bug here.

What I want is simply to lower the frame rate so that I could have a better picture for Skype video conference. GUVideo does lower framerate but it doesn't do anything from the 'root' which only changes setting for the single application, not the overall setting, like there is no overall global change in the camera setting properties.

The functions which I can change right now are [from v4l2ucp]
Brightness, Contrast, Saturation, Hue, Gamma, Power Line Frequency, Sharpness and Backlight Compensation.

From what I learned, it is the 'Auto-Exposure' setting which governs the webcams frame rate properties as mentioned here https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/657560
Comment 1 Tommy 2010-10-11 04:38:33 UTC
Created attachment 33192 [details]
lspci -vvnn
Comment 2 Tommy 2010-10-11 04:39:36 UTC
Created attachment 33202 [details]
lsusb
Comment 3 Tommy 2010-10-11 04:39:57 UTC
see attachment for the technical details
Comment 4 Tommy 2010-10-11 04:47:21 UTC
bahie@bahie-laptop:~$ v4l-info

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
	driver                  : "uvcvideo"
	card                    : "Chicony USB 2.0 Camera"
	bus_info                : "usb-0000:00:1a.7-6"
	version                 : 0.1.0
	capabilities            : 0x4000001 [VIDEO_CAPTURE,STREAMING]

standards

inputs
    VIDIOC_ENUMINPUT(0)
	index                   : 0
	name                    : "Camera 1"
	type                    : CAMERA
	audioset                : 0
	tuner                   : 0
	std                     : 0x0 []
	status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
	index                   : 0
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "YUV 4:2:2 (YUYV)"
	pixelformat             : 0x56595559 [YUYV]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
	type                    : VIDEO_CAPTURE
	fmt.pix.width           : 1280
	fmt.pix.height          : 800
	fmt.pix.pixelformat     : 0x56595559 [YUYV]
	fmt.pix.field           : NONE
	fmt.pix.bytesperline    : 2560
	fmt.pix.sizeimage       : 2048000
	fmt.pix.colorspace      : SRGB
	fmt.pix.priv            : 0

controls
    VIDIOC_QUERYCTRL(BASE+0)
	id                      : 9963776
	type                    : INTEGER
	name                    : "Brightness"
	minimum                 : -128
	maximum                 : 127
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+1)
	id                      : 9963777
	type                    : INTEGER
	name                    : "Contrast"
	minimum                 : 0
	maximum                 : 100
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+2)
	id                      : 9963778
	type                    : INTEGER
	name                    : "Saturation"
	minimum                 : 0
	maximum                 : 100
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+3)
	id                      : 9963779
	type                    : INTEGER
	name                    : "Hue"
	minimum                 : -20
	maximum                 : 20
	step                    : 1
	default_value           : 0
	flags                   : 0

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
	name                    : "Chicony USB 2.0 Camera"
	type                    : 0x1 [CAPTURE]
	channels                : 1
	audios                  : 0
	maxwidth                : 1280
	maxheight               : 1024
	minwidth                : 48
	minheight               : 32

channels
    VIDIOCGCHAN(0)
	channel                 : 0
	name                    : "Camera 1"
	tuners                  : 0
	flags                   : 0x0 []
	type                    : CAMERA
	norm                    : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
	brightness              : 32896
	hue                     : 32768
	colour                  : 0
	contrast                : 0
	whiteness               : 0
	depth                   : 16
	palette                 : YUYV

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
    VIDIOCGWIN
	x                       : 0
	y                       : 0
	width                   : 1280
	height                  : 800
	chromakey               : 0
	flags                   : 0

bahie@bahie-laptop:~$

Note You need to log in before you can comment on or make changes to this bug.