camera on Lenovo Thinkpad X121e

I installed 12.1 on the above hw. No problems, but the built-in camera (a Chicony: 04f2:b2b9) does not appear in the list of
UVC cameras and is not accessible with luvcview. Neither is a Logitech 3000 business camera hooked up via USB which works well on another system (11.4 desktop) and appears in
UVC list.

I use version 0.2.1 of luvcview.

The error message sais that format 22 cannot be written (whatever this is).

Any ideas? Thanks, bg

I found this installation report concerning Debian on a ThinkPas X121e. It mentioned a different webcam device

$ lsusb  | grep cam
Bus 002 Device 002: ID 5986:01a6 Acer, Inc Lenovo Integrated Webcam

Maybe they can come with different webcam models perhaps? Anyway, it might be useful to see output of

/usr/sbin/hwinfo --usb

Make sure you have enabled your webcam - is there a switch or activation key?
Also, check for the existence of /dev/video* with

ls -l /dev/video*

Please post the output of these commands.

I use version 0.2.1 of luvcview.

The error message sais that format 22 cannot be written (whatever this is).

That means nothing to me. Can you cut and paste exact error?

thanks for your help and interest. Here is what I found:
lsusb output:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 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 002 Device 002: ID 04f2:b2b9 Chicony Electronics Co., Ltd
Bus 003 Device 002: ID 06a2:0033 Topro Technology, Inc. USB Mouse
Bus 003 Device 003: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
03: USB 00.0: 10a00 Hub

limiting output to the Chicony device:

07: USB 00.0: 0000 Unclassified device
[Created at usb.122]
Unique ID: +rmv.tV0KZyAEor0
Parent ID: pBe4.3f5c44ENLJ9
SysFS ID: /devices/pci0000:00/0000:00:13.2/usb2/2-5/2-5:1.0
SysFS BusID: 2-5:1.0
Hardware Class: unknown
Model: “Chicony Electronics Integrated Camera”
Hotplug: USB
Vendor: usb 0x04f2 “Chicony Electronics Co., Ltd”
Device: usb 0xb2b9 “Integrated Camera”
Revision: “41.64”
Driver: “uvcvideo”
Driver Modules: “uvcvideo”
Device File: /dev/input/event9
Device Files: /dev/input/event9, /dev/input/by-id/usb-Image_Processor_Integrated_Camera-event-if00, /dev/input/by-path/pci-0000:00:13.2-usb-0:5:1.0-event
Device Number: char 13:73
Speed: 480 Mbps
Module Alias: “usb:v04F2pB2B9d4164dcEFdsc02dp01ic0Eisc01ip00”
Driver Info #0:
Driver Status: uvcvideo is active
Driver Activation Cmd: “modprobe uvcvideo”
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #4 (Hub)

And here is what luvcview says:
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video0
Unable to set format: 22.
Init v4L2 failed !! exit fatal

I hope this will provide some clues, Bernd

Hwinfo suggests it is a uvc compatible webcam. But as you note it does not show up in the compatibility lists.

Does ‘dmesg’ or ‘/var/log/messages’ yield an errors wrt the uvc driver loading ? Is the uvc driver loaded ?

ie what is the output of:

lsmod | grep uvc

You may need to get help on the uvc mailing list. Instructions as to how you can join that list are here:

I guess uvcvideo is not loaded properly. Here is a condensed output from /var/log/messages:

Jan 9 11:42:41 linux-fzn8 kernel: 18.775479] uvcvideo: Found UVC 1.00 device Integrated Camera (04f2:b2b9)

Jan 9 11:42:41 linux-fzn8 kernel: 18.777300] input: Integrated Camera as /devices/pci0000:00/0000:00:13.2/usb2/2-5/2-5:1.0/input/input5
Jan 9 11:42:41 linux-fzn8 kernel: 18.777428] usbcore: registered new interface driver uvcvideo
Jan 9 11:42:41 linux-fzn8 kernel: 18.777432] USB Video Class driver (1.1.1)

Jan 9 11:42:41 linux-fzn8 kernel: 18.812411] ACPI: Video Device [VGA1] (multi-head: yes rom: no post: no)

Jan 9 11:43:30 linux-fzn8 kernel: 69.146151] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 3: -110 (exp. 2).

And here is the output of the lsmod + modinfo command:

linux-fzn8:~ # lsmod | grep uvc
uvcvideo 71364 0
videodev 94691 1 uvcvideo

linux-fzn8:~ # /sbin/modinfo uvcvideo
filename: /lib/modules/3.1.0-1.2-desktop/kernel/drivers/media/video/uvc/uvcvideo.ko
version: 1.1.1
license: GPL
description: USB Video Class driver
author: Laurent Pinchart <>

I hope this will aid in the analysis. Thanks again, Bernd

That does point to a problem. Best IMHO for the UVC mailing list developers to solve.

with a different uvc compatible webcam, this is what I get:

oldcpu@corei7:~> lsmod | grep uvc
uvcvideo               69865  0 
videodev               81032  1 uvcvideo
v4l1_compat            17057  2 uvcvideo,videodev
usbcore               210466  8 uvcvideo,snd_usb_audio,snd_usbmidi_lib,usbhid,xhci_hcd,uhci_hcd,ehci_hcd

I obtain a massive output from that command. Too long to post here.

Its good information, but its well beyond my technical level to help. Your best bet is to go to the developers, which you can do via the mailing list as noted in my quote here:

Good luck with the help on the mailing list.

this is what I’ll do. Hope that I can pass back to you any useful info I might obtain, Bernd

The developers need users like you to help improve driver support, so you’re contributing in the best possible way by doing this. Good work. :slight_smile:

Heureka! I misinterpreted a few things! Actually, 12.1/KDE does recognize the camera properly. Go to

device info ->usb-devices ->EHCI Host Controller ->Integrated Camera
(Geräteinfo->USB-Geräte->EHCI Controller)

Then, make sure that the phonon back-end is configured properly:

HW ->multimedia ->phonon ->Video -> Capture Communication | Capture Recording
in the system settings menu.

Then, apps like Skype will work. I believe that by default the pseudo device /device/video0 is on top of the capture device list and that that caused the error.
I did not get the test program luvcview to work properly. It complains

video /dev/video0
Unable to set format 22’.
Init v4L2 failed !! exit fatal

and I could not get it to use the top entry of the device list (the integrated camera). I’ll let you know, if and when I find out.