On Sun, Dec 20, 2009 at 08:17:07PM +0100, Mathieu Baudier wrote: > Hi, > > I cannot have suspend and hibernate working on a Samsung NC10 > (netbook) running CentOS 5.4 i386. > > When I try suspending/hibernating the screen becomes black (with a few > logs, like "shrinking memory" for hibernate) and then the computer > hangs and I have to force a shutdown with the power button. > > This wiki page seems to say that it should work out of the box: > http://wiki.centos.org/HowTos/Laptops/Samsung/NC10 > ... > - [mbaudier@localhost ~]$ lshal | grep suspen > org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = > {'hal-system-power-suspend', 'hal-system-power-suspend-clear-error', > 'hal-system-power-hibernate', > 'hal-system-power-hibernate-clear-error', 'hal-system-power-shutdown', > 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string > list) > power_management.can_suspend_to_disk = true (bool) > power_management.can_suspend_to_ram = true (bool) > power_management.can_suspend = true (bool) > [tru@snoopy ~]$ lshal | grep suspen org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-clear-error', 'hal-system-power-hibernate', 'hal-system-power-hibernate-clear-error', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list) power_management.can_suspend_to_disk = true (bool) power_management.can_suspend_to_ram = true (bool) power_management.can_suspend = true (bool) I am using my own sky2 ethernet driver(since 5.3)/ath_pci wifi driver: [tru@snoopy ~]$ modinfo sky2 filename: /lib/modules/2.6.18-164.9.1.el5/weak-updates/sky2/sky2.ko version: 1.18 license: GPL author: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> description: Marvell Yukon 2 Gigabit Ethernet driver srcversion: 4D063BC8FAD26BE4B493E77 ... [tru@snoopy ~]$ modinfo ath_pci filename: /lib/modules/2.6.18-164.9.1.el5/net/ath_pci.ko license: Dual BSD/GPL version: svn r3879 description: Support for Atheros 802.11 wireless LAN cards. author: Errno Consulting, Sam Leffler srcversion: 53828DCE2B2CEC52C9E9103 ... Which requires a small hack in the pm config file: [tru@snoopy ~]$ cat /etc/pm/config.d/ath_pci SUSPEND_MODULES=ath_pci RESUME_MODULES=ath_pci Maybe you need to add the sky2 driver to the list. I haven't tried the newer sky2 driver from the 5.4 kernel serie, ymmv. Cheers, Tru -- Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
Attachment:
pgp8W6xlVUEy0.pgp
Description: PGP signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos