Red Hat Bugzilla – Bug 478544
Yanking gspca-based USB webcam when in use results in khubd eating CPU
Last modified: 2009-01-08 10:00:36 EST
Description of problem:
I have a pac207-based webcam using the gspca driver:
usb 5-1: new full speed USB device using ohci_hcd and address 8
usb 5-1: device descriptor read/64, error -62
usb 5-1: configuration #1 chosen from 1 choice
gspca: probing 093a:2468
pac207: Pixart Sensor ID 0x27 Chips ID 0x00
pac207: Pixart PAC207BCA Image Processor and Control Chip detected (vid/pid 0x093A:0x2468)
gspca: probe ok
usb 5-1: New USB device found, idVendor=093a, idProduct=2468
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: CIF Single Chip
usb 5-1: Manufacturer: Pixart Imaging Inc.
If I pull the plug on it when it's in use (e.g. with Cheese), khubd starts spinning until I close the application that opened the camera.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Attach camera.
2. Start Cheese, wait for live view to start.
3. Pull camera plug.
4. Observe CPU usage.
5. Close Cheese.
This is fixed in rawhide, not seen in kernel-2.6.28-3.fc11.i686.