public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* setting cpu speed on crusoe
@ 2001-02-03 22:39 Andrew Tridgell
  2001-02-10 21:48 ` Pavel Machek
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Tridgell @ 2001-02-03 22:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: junichi_morita, torvalds

Junichi Morita and I have worked out how to access the crusoe
"longrun" settings on the crusoe based VAIO. This allows you to enable
power saving mode and slow the cpu down. It should help battery life a
lot.

the following will enable power saving and set the cpu to the slowest
speed:

  setpci -s 0:0.0 a8.b=11

and this will restore you to max speed:

  setpci -s 0:0.0 a8.b=0e

the bits are:

LRON bit0: long run "on" - I'm not really sure what this does
LRRV bit1-3: cpu speed
LREN bit4: seems to enable variable speed 

the info came from a dump of the AML off the box like this:

00001e24:   Scope PCI0 (\_SB_.PCI0)
00001e30:     OpRegion LRCR (\_SB_.PCI0.LRCR)
00001e36:       PCI_Config
00001e37:       0xa8
00001e39:       0x04
00001e3b:     Field
00001e3e:       LRCR (00001e30)
00001e42:       AccessType: ByteAcc; LockRule: NoLock; UpdateRule: Preserve
00001e43:       NamedField (1 bits at 0x0:0) LRON
00001e48:       NamedField (3 bits at 0x0:1) LRRV
00001e4d:       NamedField (1 bits at 0x0:4) LREN

the patch to acpidisasm to give the bit offsets and lengths for named
fields is available from
http://www.samba.org/ftp/unpacked/picturebook/acpi.patch





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-03-19 12:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-03 22:39 setting cpu speed on crusoe Andrew Tridgell
2001-02-10 21:48 ` Pavel Machek
2001-02-13 17:33   ` Linus Torvalds
2001-02-14 11:44     ` Daniel Quinlan
2001-02-14 14:31       ` Ookhoi
2001-03-19 12:49       ` is it possible to upgrade crusoe code morphing software with linux? Ookhoi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox