I have openSUSE installed both in my desktop (32-bit) and laptop (64-bit). My desktop is five years old gateway (P4) and laptop is HP DV 2500t. In both of them them sleep/hibernate works fine. Just want to share what configuration I did. Thought it might help.
I put a config file into “/etc/pm/config.d/” with,
Putting the modules to unload in the SUSPEND_MODULES=" " of the config file would be the official way.
I was having the issue that my network was not resuming correctly every time, putting it in the sleep.d hook script solved that.
As for having a problem with the rare hang when resuming… check the /var/log/pm-suspend log. Again it’s good to have a copy of a version when suspend/resume has gone well and hold that against a version when it messed up. This also goes for /var/log/messages.
On 10.3 the Xorg video driver was giving me freeze type of issues when suspending/resuming. I got that sorted by installing Xorg 7.3 (as 10.3 is ships with Xorg 7.2), but that was using an Intel graphics card.
Any hint’s/hunches on what is causing your freeze up?
It could be new Kernel update. This freeze issue started around a week ago. Hibernation used to work fine even with out **SUSPEND_MODULES=" "**in the config file. I had KDE 3.5 and gnome installed. I reinstalled again, this time only with KDE 3.5 to see whether it makes any deference. But the issue is still there. Most of the time it works fine but freeze up randomly. Specially it happens if trying to hibernate after watching some video online. Always the freeze up it happens when the system is done saving the compressed image file to the disk or done reading the image file. After that it just doesn’t do anything. The log file shows the suspend or thaw process is completed.
Note: AGP support will only work with chipsets, which are supported by the nvidia kernel module. Otherwise AGP support will be disabled! Check this with “cat /proc/driver/nvidia/agp/status”. If there is no line “Status: Enabled”, then AGP support is not available. The graphics card will work without AGP, but performance will be bad.
doesn’t make that sound like a good idea!
I did create the “modeles” file and added the line for suspending ath_pci but it didn’t make any difference that I can tell.
It’s hard if not impossible to sell people the idea of putting linux on a laptop if things like suspend don’t work. Everyone I know uses that feature (suspend) all the time.
True, your best bet here is to be selective on what laptop you buy. There are enough out there supporting suspend (and Linux in general) pretty good. I’ve been quite happy with the Dell Latitude series as they haven’t given me any headaches over this…
Always also be careful with the video chipset as Intel, in my experiance, is still the safest (don’t read performance here) option.