uvcvideo camera in use fails after suspend-to-RAM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I've got an Asus Eee PC 901, which has a built-in camera from Genesys Logic, Inc. ( ID 05e3:0505 ). It uses the uvcvideo driver.
The uvcvideo driver doesn't play nicely with suspend. Now, this isn't normally a problem, because the module will get unloaded and reloaded automatically. But if the module (i.e. the camera) is in use at the time by some program (e.g. cheese, skype, mplayer, whatever), that won't happen. Instead, the program using the camera will exhibit erratic behavior and usually crash, and the camera itself will give no video to any program until a reboot. I can't even do a "sudo rmmod uvcvideo" after this happens, it just hangs.
1) Using ubuntu 8.04
2) sorry, don't know what package uvcvideo is in.
3) expected to resume from suspend and resume the video feed to the program, or, failing that, to be able to restart the program and have video work.
4) video would not work for any program until after a reboot.
There is a known issue with uvcvideo that causes various suspend failures. The solution is to cause the module to be unloaded when suspending and reloaded on resume.
Please try this work-around. From a terminal:
echo 'SUSPEND_ MODULES= "uvcvideo" ' | sudo tee /etc/pm/ config. d/modules_ unload