Yannick Patois
2005-04-03 17:53:34 UTC
Hi,
SUMMARY: When I close the lid of my ibook on battery, a few minuts after
it crash (I think it attmpts to suspend); how can this be avoided?
DEVELOPPMENT:
On my ibook G4 suspend (disk or RAM) is not yet supported by the
standard linux kernel. I'm aware that a few patches are floating around
that are supposed to allow this, but I prefers to stick to regular
kernel as much as possible and avoid long useless failed tests (I tried
some disk sleep patch some time ago that didnt gave me anything).
Moreover, I dont really need sleep, as it is very likely to come accross
a power plug in less than 5 hours...
Unfortunately, when I close the lid on battery, a few minuts after it is
crashed. I suppose there is some failed attempts to sleep somehow. There
is nothing in the log files and the computer has to be cold-booted.
What can cause this (likely) suspend order? Can this be configured
somewhere? I installed powerprefs and use pbbuttonsd, I suppressed the
sleep mode from /etc/pbbuttonsd.conf completly, but my computer still
crash the same way if I close the lid on battery.
Any help welcome, thanks.
Yannick
Note: The (i belive) relevant part of the /etc/pbbuttonsd.conf file:
onBattery_policy = powersave ; 'nochange', 'powersave',
onBattery_TimerAction = blankscreen ; 'none', 'suspend-to-ram',
onBattery_CoverAction = blankscreen ; see TimerAction for possible
onBattery_KeyAction = blankscreen ; Action (see TimerAction) for
onBattery_SuspendTime = 0
onBattery_DimTime = 600
SUMMARY: When I close the lid of my ibook on battery, a few minuts after
it crash (I think it attmpts to suspend); how can this be avoided?
DEVELOPPMENT:
On my ibook G4 suspend (disk or RAM) is not yet supported by the
standard linux kernel. I'm aware that a few patches are floating around
that are supposed to allow this, but I prefers to stick to regular
kernel as much as possible and avoid long useless failed tests (I tried
some disk sleep patch some time ago that didnt gave me anything).
Moreover, I dont really need sleep, as it is very likely to come accross
a power plug in less than 5 hours...
Unfortunately, when I close the lid on battery, a few minuts after it is
crashed. I suppose there is some failed attempts to sleep somehow. There
is nothing in the log files and the computer has to be cold-booted.
What can cause this (likely) suspend order? Can this be configured
somewhere? I installed powerprefs and use pbbuttonsd, I suppressed the
sleep mode from /etc/pbbuttonsd.conf completly, but my computer still
crash the same way if I close the lid on battery.
Any help welcome, thanks.
Yannick
Note: The (i belive) relevant part of the /etc/pbbuttonsd.conf file:
onBattery_policy = powersave ; 'nochange', 'powersave',
onBattery_TimerAction = blankscreen ; 'none', 'suspend-to-ram',
onBattery_CoverAction = blankscreen ; see TimerAction for possible
onBattery_KeyAction = blankscreen ; Action (see TimerAction) for
onBattery_SuspendTime = 0
onBattery_DimTime = 600
--
_/ Yannick Patois \___________________________________________________
| web: http://feelingsurfer.net/garp/ | Garp sur irc undernet |
| email: ***@calvix.org | |
| AAV du 29 mai: Je vote [NON]: http://perso.wanadoo.fr/non-merci/ |
_/ Yannick Patois \___________________________________________________
| web: http://feelingsurfer.net/garp/ | Garp sur irc undernet |
| email: ***@calvix.org | |
| AAV du 29 mai: Je vote [NON]: http://perso.wanadoo.fr/non-merci/ |