Re: [patch] pwrctl with cpu speed throttling

2002-10-04 Thread Michael Schmitz
Maybe - but it's neither a defect in pmud nor XFree for all I can see. It may be a problem in the kernel fb driver, or the normal side effect of the display powerdown sequence (which is defined by the kernel fb driver, again). What do you mean by going noisy ? A known problem when going

Re: [patch] pwrctl with cpu speed throttling

2002-10-03 Thread Benjamin Herrenschmidt
It's all right. I don't have problems putting it to sleep, just under X the screen goes noisy just before going asleep. Previous reading on the list told me this is not mine defect only, do it? Maybe - but it's neither a defect in pmud nor XFree for all I can see. It may be a problem in the

Re: [patch] pwrctl with cpu speed throttling

2002-10-02 Thread Michael Schmitz
no. If you say the problem is in daenzer's XFree. Actually console puts it to sleep without bothering. See the comments about kernel apm support and the necessary special files in /dev/ to enable the X server to use that, in another thread on this list. It's all right. I don't have

Re: [patch] pwrctl with cpu speed throttling

2002-09-27 Thread Michael Schmitz
What would your solution provide that's not already done? Leaving the video hardware on but switch backlight off?? no. If you say the problem is in daenzer's XFree. Actually console puts it to sleep without bothering. See the comments about kernel apm support and the necessary special

Re: [patch] pwrctl with cpu speed throttling

2002-09-27 Thread Mij
On Fri, 27 Sep 2002 17:04:30 +0200 (CEST) Michael Schmitz [EMAIL PROTECTED] wrote: What would your solution provide that's not already done? Leaving the video hardware on but switch backlight off?? no. If you say the problem is in daenzer's XFree. Actually console puts it to sleep

Re: [patch] pwrctl with cpu speed throttling

2002-09-26 Thread Michael Schmitz
Carpe diem to ask Michael a little patch to snooze. I started writing smth but I gave up not having longer free time. My precise problem :-) ibook's monitor get noisy just before falling into sleep and just after wakin up. What about patching setting backlight to 0 before calling sleep and

Re: [patch] pwrctl with cpu speed throttling

2002-09-26 Thread Mij
On Thu, 26 Sep 2002 11:13:56 +0200 (CEST) Michael Schmitz [EMAIL PROTECTED] wrote: ibook's monitor get noisy just before falling into sleep and just after wakin up. What about patching setting backlight to 0 before calling sleep and resetting old level at the very end of wakeup?

Re: [patch] pwrctl with cpu speed throttling

2002-09-26 Thread Michel Dänzer
On Don, 2002-09-26 at 20:45, Mij wrote: On Thu, 26 Sep 2002 11:13:56 +0200 (CEST) Michael Schmitz [EMAIL PROTECTED] wrote: What would your solution provide that's not already done? Leaving the video hardware on but switch backlight off?? no. If you say the problem is in daenzer's XFree.

Re: [patch] pwrctl with cpu speed throttling

2002-09-26 Thread Mij
On 26 Sep 2002 21:17:26 +0200 Michel Dänzer [EMAIL PROTECTED] wrote: On Don, 2002-09-26 at 20:45, Mij wrote: On Thu, 26 Sep 2002 11:13:56 +0200 (CEST) Michael Schmitz [EMAIL PROTECTED] wrote: What would your solution provide that's not already done? Leaving the video hardware on but

Re: [patch] pwrctl with cpu speed throttling

2002-09-25 Thread Benjamin Herrenschmidt
- 667 800 on tipb III - 400 700 on ibook2/700 with 750FX - 400 500 on ibook2/500 with 750CX So, does this mean I can run my 667Mhz tipb III at 800Mhz? :) No, the model sold as 667 Mhz won't go up to 800, Apple seem to have properly limited the PMU firmware here ;) Ben.

Re: [patch] pwrctl with cpu speed throttling

2002-09-24 Thread Vincent Bernat
OoO En cette nuit striée d'éclairs du mardi 24 septembre 2002, vers 02:09, Bastien Nocera [EMAIL PROTECTED] disait: Simple patch to /etc/power/pwrctl to change the CPU speed based on the amount of battery left (not many laptops supported for now, afaik). Where do you use the amount of battery

Re: [patch] pwrctl with cpu speed throttling

2002-09-24 Thread Bastien Nocera
On Tue, 2002-09-24 at 08:19, Vincent Bernat wrote: OoO En cette nuit striée d'éclairs du mardi 24 septembre 2002, vers 02:09, Bastien Nocera [EMAIL PROTECTED] disait: Simple patch to /etc/power/pwrctl to change the CPU speed based on the amount of battery left (not many laptops supported

Re: [patch] pwrctl with cpu speed throttling

2002-09-24 Thread Benjamin Herrenschmidt
Simple patch to /etc/power/pwrctl to change the CPU speed based on the amount of battery left (not many laptops supported for now, afaik). Where do you use the amount of battery left ? +SPEEDMIN=`cat /proc/sys/cpu/0/speed-min` +SPEEDMAX=`cat

Re: [patch] pwrctl with cpu speed throttling

2002-09-24 Thread Michael Schmitz
Simple patch to /etc/power/pwrctl to change the CPU speed based on the amount of battery left (not many laptops supported for now, afaik). Where do you use the amount of battery left ? + SPEEDMIN=`cat /proc/sys/cpu/0/speed-min` + SPEEDMAX=`cat

Re: [patch] pwrctl with cpu speed throttling

2002-09-24 Thread Benjamin Herrenschmidt
Meaning I'll need some way to distinguish between the interface versions, or a minimum kernel version considered safe for a particular interface. I'll add the code in question to the examples section in /usr/share/doc for the time being, OK? Just don't support the old interface, it's beeing

Re: [patch] pwrctl with cpu speed throttling

2002-09-24 Thread Michael Schmitz
Meaning I'll need some way to distinguish between the interface versions, or a minimum kernel version considered safe for a particular interface. I'll add the code in question to the examples section in /usr/share/doc for the time being, OK? Just don't support the old interface, it's

Re: [patch] pwrctl with cpu speed throttling

2002-09-24 Thread Tom Rini
On Tue, Sep 24, 2002 at 08:33:16AM +0100, Bastien Nocera wrote: On Tue, 2002-09-24 at 08:19, Vincent Bernat wrote: OoO En cette nuit stri?e d'?clairs du mardi 24 septembre 2002, vers 02:09, Bastien Nocera [EMAIL PROTECTED] disait: + SPEEDMIN=`cat /proc/sys/cpu/0/speed-min`

Re: [patch] pwrctl with cpu speed throttling

2002-09-24 Thread Mij
On 24 Sep 2002 01:09:58 +0100 Bastien Nocera [EMAIL PROTECTED] wrote: Carpe diem to ask Michael a little patch to snooze. I started writing smth but I gave up not having longer free time. ibook's monitor get noisy just before falling into sleep and just after wakin up. What about patching

[patch] pwrctl with cpu speed throttling

2002-09-23 Thread Bastien Nocera
Heya, Simple patch to /etc/power/pwrctl to change the CPU speed based on the amount of battery left (not many laptops supported for now, afaik). Michael, could that go in pmud ? Cheers -- /Bastien Nocera http://hadess.net --- pwrctl 2001-12-20 22:34:50.0 + +++