Hello Marius,<br><br>Thanks for the reply. Some additional details inline.<br><br>Cheers,<br><br>Michele<br><br><div><span class="gmail_quote">On 10/19/07, <b class="gmail_sendername">Marius Gedminas</b> <<a href="mailto:marius@pov.lt">
marius@pov.lt</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">[snip] Suspend issues are rather hardware-specific and it's nearly
<br>impossible to give general advice.</blockquote><div><br>Sorry, I forgot. Here's the laptop specs. Compaq Evo N610c. 1Gbyte RAM, 30Gb HD (1GiB swap, 20GiB /home 9GiB /) Pentium 4 Mobility, ATI Radeon Mobility 7500.
<br></div><br><div><br>[snip!] </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Hibernate instead is something I use quite a lot and at present the only way
<br>> to suspend is to issue a<br>> sudo s2disk<br>> from the terminal or from TTY?<br><br>It seems that you use uswsusp instead of Gutsy's default<br>suspend/hibernation infrastructure, which is acpi-support. Why?
</blockquote><div><br>If I try to suspend or hibernate from the GUI, I end up with a locked screen. Enter the password and a message tells me that suspend or hibernate failed and to check the help.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> When resuming, all the USB ports have gone and I have to issue<br>> sudo modprobe -r -v ehci_hcd && sudo modprobe -v ehci_hcd<br>> to make them restart.<br><br>But everything works after that?</blockquote>
<div><br>yes. Everything is ok after that.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm not familiar with uswsusp. It is likely that there's some
<br>configuration file that would tell it to remove and reinsert the<br>ehci_hcd module.<br><br>If you used Ubuntu's standard acpi-support, that configuration file<br>would be /etc/default/acpi-support (the MODULES setting). Hm, I see a
<br>comment there mentioning that USB drivers are automatically unloaded if<br>you use acpi-support.<br><br>> Is there a way to get Gutsy to hibernate/resume properly?<br><br>As far as I understand, you already found a way that works, it's just
<br>rather inconvenient. I don't know if you can integrate uswsusp with<br>Gutsy's GUIs that control suspend/hibernation. In your place I'd try to<br>get acpi-support to work instead.</blockquote><div><br>That is exactly why I wrote the email in the first place ;-)
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you want to continue using s2disk, and want GNOME Power Manager's<br>menus use it instead of acpi-support, I think you can get that if you
<br>remove the acpi-support package (but this may break other features, e.g.<br>brightness or volume control keys) or edit the<br>/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux script to<br>try s2disk before /etc/acpi/hibernate.sh (I do not recommend editing
<br>system files managed by apt-get either; upgrades will silently overwrite<br>them).</blockquote><div><br>I have learnt to live without the GUI (I have removed the power down button from the panel) and yes, I'd rather not touch the system files as I am too scared to make some serious damage :-) (I already suffer having to recompile the WLAN module at every upgrade).
<br><br><br></div></div>