Comment 37 for bug 443278

Revision history for this message
Axel G. Rossberg (axel-rossberg) wrote :

Simple unplugging camera - unloading module - plugging camera did not work for me, at least not reproducibly.

But the following did seem to always work:

(1) unplug

(2) sudo modprobe -fr pwc videodev v4l2_compat_ioctl32;

(3) plug (camera light stays on, and cheese would report "no device found" if we would start it, but we don't)

(3) do modprobe -fr pwc videodev v4l2_compat_ioctl32;sleep 2;sudo modprobe pwc (now camera light turns off after 2 sec)

(4) cheese!

(ok, that's not exactly a bug fix)

-- dmesg starting from step (3) follows --

[ 4541.073181] usb 2-1.3: new full speed USB device using ehci_hcd and address 37
[ 4543.216032] Linux video capture interface: v2.00
[ 4543.218184] pwc: Philips webcam module version 10.0.13 loaded.
[ 4543.218186] pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
[ 4543.218188] pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
[ 4543.218190] pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
[ 4543.460587] 37:2:1: endpoint lacks sample rate attribute bit, cannot set.
[ 4543.462150] 37:2:2: endpoint lacks sample rate attribute bit, cannot set.
[ 4543.463206] 37:2:3: endpoint lacks sample rate attribute bit, cannot set.
[ 4543.464428] 37:2:4: endpoint lacks sample rate attribute bit, cannot set.
[ 4543.681308] pwc: Logitech QuickCam Pro 3000 USB webcam detected.
[ 4543.681416] pwc: Registered as video0.
[ 4543.693180] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/input/input92
[ 4543.693323] usbcore: registered new interface driver Philips webcam
[ 4544.694261] pwc: Failed to set video mode QSIF@10 fps; return code = -110
[ 4545.695272] pwc: Failed to set video mode QSIF@10 fps; return code = -110
[ 4545.696149] 37:2:1: endpoint lacks sample rate attribute bit, cannot set.
[ 4545.703386] 37:2:1: endpoint lacks sample rate attribute bit, cannot set.
[ 4552.264175] usbcore: deregistering interface driver Philips webcam
[ 4552.324204] pwc: Philips webcam module removed.
[ 4554.475224] Linux video capture interface: v2.00
[ 4554.477166] pwc: Philips webcam module version 10.0.13 loaded.
[ 4554.477168] pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
[ 4554.477169] pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
[ 4554.477171] pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
[ 4554.477196] pwc: Logitech QuickCam Pro 3000 USB webcam detected.
[ 4554.477260] pwc: Registered as video0.
[ 4554.973264] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/input/input93
[ 4554.973377] usbcore: registered new interface driver Philips webcam