Comment 16 for bug 515109

Revision history for this message
Daniele Cruciani (daniele-smartango) wrote :

I copy here author replay:
Alan Stern:
"
The problem is caused by the fact that the camera is issuing a wakeup
request. Naturally, that causes the suspend to fail. (Earlier kernel
versions would mistakenly discard the wakeup request, so they didn't
experience the problem.)

I don't know why a camera should ask for a wakeup, but you can prevent
it from doing so by doing:

        echo disabled >/sys/bus/usb/devices/.../power/wakeup

where the "..." is the camera's USB device name (1-6 if I read the
device listing correctly). The best way to handle this will be to add
a udev rule to do it automatically when the camera is first detected.
The rule can be added to the udev distribution to help other people
with similar hardware.

Until that happens, you can always do it by hand.

Alan Stern
"

Ok, it works for me (tough I found another problem in resume,
maybe in nvidia ... Bug #518753 )