[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cpuspeed - New version 0.2




update:
- added "auto" mode which checks if ac adapter is pluggled in or not and automatically changes cpu speed ( high or low). - added a startup script to select the speed based on "auto" mode on booting.

still at http://pure.homelinux.com/cpuspeed


jpcl@rnl.ist.utl.pt wrote:

Your page instructions are not sincronized with the script:
page:    $cpuspeed { low | high | status | help}
script:  usage: /usr/local/bin/cpuspeed {low|high|state}

i've noticed, but help or no argument is the same. (but that is an
error, i know)

I wasn't only pointing that (help). I was also refering to "status" vs
"state"
fixed...


State: Whats the "," for?
laptop:~# cpuspeed state
Current speed: 1200MHz,
                   ^^^

i have to learn a little more awk :) i  forgot to post that in the known
bugs...

You can also cut it with "cut":
pipe the output with
 cut -d ',' -f 1
('cut' takes the line, sets ',' as the delimiter, and returns the 1rst field
For instance:
echo "hello," | cut -d ',' -f 1
outputs "hello"
thanks, but not needed. fixed...


Have you knowledge of the other (more recent, as far as I know)
software/module for asus? It has the asus module, but you don't need to
patch the kernel with it, you can add it separately as module, and it
comes distributed with some script and a daemon that reads the power
keys of our L3C. Besides it was done for the L2 series, so it can be
used with those too.. Don't have the link at the moment, I'll send it
to you later. (So you can add it's reference in your page)

acpid already catches the power button... but, yes, send it to me,
thanks

Sorry, my mistake. I meant the "hotkeys", next to the power button.
("hotkeys" , not "powerkeys"... what was I thinking of ?!?)

I have some ideias on a combined usage of the "asus_acpid" daemon,
that allow us to catch the "battery symbol hotbutton" and call your
script in a "toggle" mode, maybe affecting fan behaviour at the same time..
My ideia was to create a "presentation" mode just as windows does, where
it shuts down the fan 'till the temp gets too high...

Great ideia. I'd really like that. To use the battery button.

i've tried to access the fan but it didn't work. But why do you want to turn down the fan? what temp. is "too high" for you?
My fan only turns on at 40ºC. which is almost after the pc is turned on.

This happens in some minutes with L3S machines, but I've runned my L3C for
over half an hour without it turning them back on, so I guess it's quite
safe for these P4-m to be runned like that for a long time...

Just one more thing:
Do you know if setting "throtling" changes anything? I can set those
values to wathever I want but see no difference. I'm thinking that maybe
"throthling" only works with AMD or with P4 (not mobile) processors...
My throthling does work. I've tried to compile the kernel at 1800MHz with T0 (cpu 100%) and it took about 3min30sec. With T4( cpu 50%) it took about 7min, so it DOES work, at least for me.

About asus_acpid , if you have any ideas, mail me.

Joao Clemente



Reply to: