Trouble with a webcam automatcally adjusting the brightness

porton

New Member
Joined
Apr 2, 2019
Messages
4
Reaction score
1
Credits
0
I've bought SIGMA HD WEBCAM (8mp, USB).

Works right after connecting to Ubuntu Linux 18.10. (Some minor Skype config required.)

It seems to automatically adjust the brightness (as the brightness "jumps" as I move before the camera) and does it wrong (cheked in Skype and Cheese). It makes me to look almost like a black man even if I turn on the room lamp.

Any way to make this too smart cam to show me right? Any soft to configure it?

From dmesg output:

[1863606.898678] usb 1-6: new high-speed USB device number 14 using xhci_hcd
[1863607.099495] usb 1-6: New USB device found, idVendor=1908, idProduct=2311, bcdDevice= 1.00
[1863607.099501] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1863607.099505] usb 1-6: Product: USB2.0 PC CAMERA
[1863607.099509] usb 1-6: Manufacturer: Generic
[1863607.160246] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2311)
[1863607.161147] uvcvideo 1-6:1.0: Entity type for entity Processing 2 was not initialized!
[1863607.161148] uvcvideo 1-6:1.0: Entity type for entity Camera 1 was not initialized!
[1863607.161219] input: USB2.0 PC CAMERA: USB2.0 PC CAM as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input22
[1863607.161282] usbcore: registered new interface driver uvcvideo
[1863607.161282] USB Video Class driver (1.1.1)
 


sudo uvcdynctrl -s 'Backlight Compensation' 10

more or less solves the problem (I am no more a black man), but it is just a hack: when I move before the camera, the brightness yet "jumps" sometimes.

Any proper way to configure it?
 
G'day @porton and welcome to linux.org :)

I am not an expert in webcams, but can you give us the output of

Code:
sudo lsmod | grep video

Cheers

Chris Turner
wizardfromoz
 
$ sudo lsmod | grep video
uvcvideo 98304 0
videobuf2_vmalloc 16384 2 gspca_main,uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 24576 2 gspca_main,uvcvideo
videobuf2_common 45056 3 gspca_main,videobuf2_v4l2,uvcvideo
videodev 188416 5 gspca_main,gspca_t613,videobuf2_v4l2,uvcvideo,videobuf2_common
media 40960 2 videodev,uvcvideo
video 45056 1 nouveau
 
Well (thanks for that BTW) the uvcvideo is the generic, and all looks usual - Have you tried this under Nvidia rather than nouveau?

Also, what software were you running when you appeared like a black man? A player, or other? Or just the Skype and Cheese, I see now. mplayer?

To check all formats supported by the camera

Code:
sudo apt install v4l-utils

#and then

v4l2-ctl --list-formats

You should have at least Motion JPEG and YUYV in the output.

After that, I am out of ideas :)

Cheers

Wizard
 
Well (thanks for that BTW) the uvcvideo is the generic, and all looks usual - Have you tried this under Nvidia rather than nouveau?

Also, what software were you running when you appeared like a black man? A player, or other? Or just the Skype and Cheese, I see now. mplayer?

To check all formats supported by the camera

Code:
sudo apt install v4l-utils

#and then

v4l2-ctl --list-formats

You should have at least Motion JPEG and YUYV in the output.

After that, I am out of ideas :)

Cheers

Wizard

I won't change my entire system from Nouveau to Nvidia just to experiment with the camera (especially because the problem seems unrelated with the display).

I looked like a black man in Cheese. The problem is (mostly) already resolved however.
 
That's fine, @porton ... YOU are the driver behind the wheel that is the vehicle known as your computer. Your calls.

Just a note that if you haven't already, you can install Timeshift, and take a screenshot of your system, then do something major like change the graphics, and if anything goes south for the winter, just restore from Timeshift to roll back.

You can read about Timeshift here, and ask any questions there, if you wish.

Cheers

Wizard
 

Members online


Latest posts

Top