uvcvideo camera in use fails after suspend-to-RAM

Bug #254825 reported by Jacob D'Agostino
6
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.

Tags: cft-2.6.27
Revision history for this message
TJ (tj) wrote :

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

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Neil Munro (neilmunro-deactivatedaccount) wrote :

The Intrepid Ibex 8.10 Beta release was most recently announced - http://www.ubuntu.com/testing/intrepid/beta . It contains the 2.6.27 Ubuntu kernel. It would be great if you could test and verify if this is still an issue. The status is being set to Incomplete until we receive further feedback. Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
Andres Mujica (andres.mujica) wrote :

Hi Jacob, thanks for your report.

Did the workaround suggested by TJ work for you?

Have you tested with Intrepid fully updated or Jaunty alpha release?

Thanks for your input.

Regards,

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

*This is an automated response*

This bug report is being closed because we received no response to the previous request for information. Please reopen this if it is still an issue in the actively developed pre-release of Jaunty Jackalope 9.04 - http://cdimage.ubuntu.com/releases/jaunty . To reopen the bug report simply change the Status of the "linux" task back to "New".

Changed in linux:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.