|
|
|
|
|
|
| Author |
Message |
sam tygier *nix forums beginner
Joined: 30 Apr 2005
Posts: 7
|
Posted: Tue May 10, 2005 7:33 pm Post subject:
Re: What triggers suspend on ibook?
|
|
|
Yannick Patois wrote:
| Quote: | So if there was a very simple way to prevent my ibook to attempt
sleeping in the meantime I would do that.
|
its probably not possible. a lot of heat get disapated through the key board, and closing the lid is likely to cause overheating if the ibook is stiff running. if you could find some hack then you would be risking the machine, unless there is an overheat mechanism in there which will kill the power anyway.
sam tygier
http://www.tygier.co.uk/ |
|
| Back to top |
|
 |
Yannick Patois *nix forums beginner
Joined: 29 Mar 2005
Posts: 9
|
Posted: Mon Apr 04, 2005 12:22 pm Post subject:
Re: What triggers suspend on ibook?
|
|
|
Hi,
Jack Malmostoso wrote:
| Quote: | Ciao Yannick Patois, nel tuo messaggio dicevi:
But I really prefer to stay with a debian kernel
2.6.11 sources entered a week ago in apt-get, and some test releases were
announced last week, so it shouldn't take long.
|
Thanks for this useful piece of information, then I'll wait.
| Quote: | So if there was a very simple way to prevent my ibook to attempt
sleeping in the meantime I would do that. If that proved to be as much
complex as installing 2.6.11 I would think twice, of course.
For that you have to configure properly pbbuttonsd: it's that that manages
the power.
|
As you seen in my first message on this thread, I put in
/etc/pbbuttonsd.conf what I think is correct for this. But my ibook is
still crashing a few minuts after a lid close on battery.
Any suggestion?
Thanks again for your help.
Yannick
--
_/ Yannick Patois \___________________________________________________
| web: http://feelingsurfer.net/garp/ | Garp sur irc undernet |
| email: patois@calvix.org | |
| Le petit portail en bois a 5 ans: http://rezo.net | |
|
| Back to top |
|
 |
Jack Malmostoso *nix forums addict
Joined: 06 Mar 2005
Posts: 60
|
Posted: Mon Apr 04, 2005 4:03 am Post subject:
Re: What triggers suspend on ibook?
|
|
|
Ciao Yannick Patois, nel tuo messaggio dicevi:
| Quote: | But I really prefer to stay with a debian kernel
|
2.6.11 sources entered a week ago in apt-get, and some test releases were
announced last week, so it shouldn't take long.
| Quote: | So if there was a very simple way to prevent my ibook to attempt
sleeping in the meantime I would do that. If that proved to be as much
complex as installing 2.6.11 I would think twice, of course.
|
For that you have to configure properly pbbuttonsd: it's that that manages
the power.
--
On Oct 5 1991, 8.53 AM; Linus Benedict Torvalds said:
| Quote: | I can (well, almost) hear you asking yourselves "why?". Hurd will be
out in a year (or two, or next month, who knows), and I've already got
minix. |
|
|
| Back to top |
|
 |
Yannick Patois *nix forums beginner
Joined: 29 Mar 2005
Posts: 9
|
Posted: Sun Apr 03, 2005 5:42 pm Post subject:
Re: What triggers suspend on ibook?
|
|
|
Hi,
Thanks for your answer.Jack Malmostoso wrote:
| Quote: | Ciao Yannick Patois, nel tuo messaggio dicevi:
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?
First, a suggestion: start following the Debian PowerPC mailing list
(it's low traffic, and if you don't want to subscribe it you can read it
through the newserver gateway at linux.debian.ports.powerpc), as much of
the development happens there.
|
OK, thanks.
| Quote: | Then: suspend is actually supported by the kernel, starting from 2.6.11!
BenH wrote a patch against 2.6.9 that has been tested and I currently can
sleep my iBook at will, and resuming it without problems.
|
Great!
| Quote: | My summary then looks like this: grab a 2.6.11.x tarball from kernel.org
and compile your own kernel. If you don't know how to do it, please
specify your distro and I will be glad to help.
|
I'm running debian unstable. I know how to recompile a kernel the debian
way, but I guess that there are not yet any debianized 2.6.11, so I
would have to do it otherwise. I ran BenH kernels a few years ago with
my (now stollen) ibook G3, so I certainly can do that if needed.
But I really prefer to stay with a debian kernel, from which I get
upgrade to latest versions with a simple apt-get, and I'm reluctant to
spend to much time recompiling a 2.6.11 for unsure results (will I
really dont break anything that I currently have, like crypted
partitions and such?), while simply waiting a few (month?) will get the
2.6.11 in debian unstable...
So if there was a very simple way to prevent my ibook to attempt
sleeping in the meantime I would do that. If that proved to be as much
complex as installing 2.6.11 I would think twice, of course.
Thanks again for your answer.
Yannick
--
_/ Yannick Patois \___________________________________________________
| web: http://feelingsurfer.net/garp/ | Garp sur irc undernet |
| email: patois@calvix.org | |
| AAV du 29 mai: Je vote [NON]: http://perso.wanadoo.fr/non-merci/ | |
|
| Back to top |
|
 |
Jack Malmostoso *nix forums addict
Joined: 06 Mar 2005
Posts: 60
|
Posted: Sun Apr 03, 2005 4:19 pm Post subject:
Re: What triggers suspend on ibook?
|
|
|
Ciao Yannick Patois, nel tuo messaggio dicevi:
| Quote: | 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?
|
First, a suggestion: start following the Debian PowerPC mailing list
(it's low traffic, and if you don't want to subscribe it you can read it
through the newserver gateway at linux.debian.ports.powerpc), as much of
the development happens there.
Then: suspend is actually supported by the kernel, starting from 2.6.11!
BenH wrote a patch against 2.6.9 that has been tested and I currently can
sleep my iBook at will, and resuming it without problems.
Only glitch, so far, is that upon resume USB ports look without power, but
usually another sleep/wake cycle is enough to put back everything in
place. I am waiting for 2.6.12 (which should be next "stable" release,
opposite to "development" 2.6.11.x) to see if the people of linux-usb can
work this out.
My summary then looks like this: grab a 2.6.11.x tarball from kernel.org
and compile your own kernel. If you don't know how to do it, please
specify your distro and I will be glad to help.
Bye!
--
On Oct 5 1991, 8.53 AM; Linus Benedict Torvalds said:
| Quote: | I can (well, almost) hear you asking yourselves "why?". Hurd will be
out in a year (or two, or next month, who knows), and I've already got
minix. |
|
|
| Back to top |
|
 |
Yannick Patois *nix forums beginner
Joined: 29 Mar 2005
Posts: 9
|
Posted: Sun Apr 03, 2005 3:53 pm Post subject:
What triggers suspend on ibook?
|
|
|
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
--
_/ Yannick Patois \___________________________________________________
| web: http://feelingsurfer.net/garp/ | Garp sur irc undernet |
| email: patois@calvix.org | |
| AAV du 29 mai: Je vote [NON]: http://perso.wanadoo.fr/non-merci/ | |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Wed Jan 07, 2009 11:17 pm | All times are GMT
|
|
Free Ringtones | Personal Finance | Bad Credit Loan | Bankruptcy | Record Internet Radio with Tags
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|