Comment 19 for bug 1163268

Revision history for this message
Stuart Langridge (sil) wrote : Re: Lenovo U300s webcam stopped working, somewhere around mid-March 2013

I can.

Camera working fine; tail -f /var/log/syslog
...
press F9

May 10 18:48:24 faith kernel: [120905.804404] usb 1-1.1: USB disconnect, device number 3
May 10 18:48:25 faith colord: device removed: sysfs-Vimicro_Corp.-Lenovo_EasyCamera

so the kernel notices that the camera drops off the USB bus. Nothing else is printed.

xev did, at this point, detect the keypress as well:

KeyPress event, serial 42, synthetic NO, window 0x3600001,
    root 0xa6, subw 0x3600002, time 121022566, (41,52), root:(1028,747),
    state 0x10, keycode 220 (keysym 0x1008ff8f, XF86WebCam), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 42, synthetic NO, window 0x3600001,
    root 0xa6, subw 0x3600002, time 121022566, (41,52), root:(1028,747),
    state 0x10, keycode 220 (keysym 0x1008ff8f, XF86WebCam), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

I then press F9 again. (Note: it's not really F9. It is the camera key. If I press Fn + CameraKey, I get F9.) Syslog shows:

May 10 18:48:27 faith kernel: [120908.712364] usb 1-1.1: new high-speed USB device number 4 using ehci-pci
May 10 18:48:27 faith kernel: [120908.818498] usb 1-1.1: New USB device found, idVendor=0ac8, idProduct=3580
May 10 18:48:27 faith kernel: [120908.818512] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 10 18:48:27 faith kernel: [120908.818518] usb 1-1.1: Product: Lenovo EasyCamera
May 10 18:48:27 faith kernel: [120908.818524] usb 1-1.1: Manufacturer: Vimicro Corp.
May 10 18:48:27 faith kernel: [120908.818530] usb 1-1.1: SerialNumber: MI1320_SOC
May 10 18:48:27 faith kernel: [120908.819533] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (0ac8:3580)
May 10 18:48:27 faith kernel: [120908.820923] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input19
May 10 18:48:28 faith mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
May 10 18:48:28 faith mtp-probe: bus: 1, device: 4 was not an MTP device
May 10 18:48:28 faith kernel: [120908.974063] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.974402] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.974777] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.975223] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.975557] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.975909] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.976301] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.976669] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.977042] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.977439] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.977787] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.978169] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.978793] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.979051] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.980644] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.980953] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.981161] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.981537] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.981914] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.982299] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.982653] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.983026] uvcvideo: Failed to query (GET_DEF) UVC control 13 on unit 1: -32 (exp. 8).
May 10 18:48:28 faith kernel: [120908.983398] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.983774] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.984676] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.984907] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.985309] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.985678] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.986042] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.986428] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.986805] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.987166] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.987534] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith kernel: [120908.987905] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 1: -32 (exp. 2).
May 10 18:48:28 faith colord: Device added: sysfs-Vimicro_Corp.-Lenovo_EasyCamera

No idea what the uvcvideo errors are all about. Confirmed that the camera works again at this point, anyway, by starting Cheese.