[CentOS] Supsend/hibernate on Samsung NC10

Tru Huynh tru at centos.org
Sun Dec 20 20:43:37 UTC 2009


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 at 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 at 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 at 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 at linux-foundation.org>
description:    Marvell Yukon 2 Gigabit Ethernet driver
srcversion:     4D063BC8FAD26BE4B493E77
...
[tru at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20091220/43341028/attachment.bin 


More information about the CentOS mailing list