public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acpi on the sony tx1xp vaio laptop
@ 2006-01-19  1:17 Minty
  2006-01-19  9:47 ` Matthew Garrett
  2006-01-20  8:12 ` Thomas Renninger
  0 siblings, 2 replies; 3+ messages in thread
From: Minty @ 2006-01-19  1:17 UTC (permalink / raw)
  To: linux-acpi

hello,

I've got a Sony TX1XP laptop running Kubuntu [1].

There are a couple of acpi things that I'd love to be improved on this
machine, so I'm offering to help out if I can - but I could use some
direction from someone who has a clue about acpi and it's workings. 
I'm happy enough (although not that great at) kernel compiling if need
be.  Fwiw, I know of two others running some linux variant on this
machine/hardware.

Main issue:
/proc/acpi/fan exists, but is empty.
Fan comes on for about 20 sec, off for 5 secs, repeat.
Regardless of cpu temp.

cpu temp is accurately reported, normally sitting at 61C, but I've
seen it go higher when the machine is under load.  thermal_zone
reports passive cooling, but aside from reporting the temp, anything
that might be set is reported as "<setting not supported>".  It
appears that cpu throttling works via
/proc/acpi/processor/CPU0/throttling but this doesn't appear to alter
the behaviour of the fan.

Ideally, I would like to gain ability to control fan.  Being on all
the time would be preferable to the constant on/off/on/off loop it is
currently in.  That said, my belief is that it is currently a little
over eager and could probably stay off for longer periods when the
machine is not loaded without causing any overheating.

There is nothing in the bios about fan/temp settings/controls.

By the by, I can suspend to RAM (although it takes between 60 and 120
seconds to resume from that state), but suspend to disk is entirely
broken.  I am assuming a switch to suspend2 should help there, which
I'm hoping Kubuntu are going to adopt in a later release.  Although
any pointers would be most welcome.

Pointers welcome.

[1] http://tinyurl.com/d8fjs

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

* Re: acpi on the sony tx1xp vaio laptop
  2006-01-19  1:17 acpi on the sony tx1xp vaio laptop Minty
@ 2006-01-19  9:47 ` Matthew Garrett
  2006-01-20  8:12 ` Thomas Renninger
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Garrett @ 2006-01-19  9:47 UTC (permalink / raw)
  To: Minty; +Cc: linux-acpi

On Thu, Jan 19, 2006 at 01:17:09AM +0000, Minty wrote:

> /proc/acpi/fan exists, but is empty.

That's pretty normal. Your fan is controlled by the BIOS, and not 
exposed via ACPI.

> By the by, I can suspend to RAM (although it takes between 60 and 120
> seconds to resume from that state), but suspend to disk is entirely
> broken.  I am assuming a switch to suspend2 should help there, which
> I'm hoping Kubuntu are going to adopt in a later release.  Although
> any pointers would be most welcome.

No, we're not planning on moving to suspend2.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

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

* Re: acpi on the sony tx1xp vaio laptop
  2006-01-19  1:17 acpi on the sony tx1xp vaio laptop Minty
  2006-01-19  9:47 ` Matthew Garrett
@ 2006-01-20  8:12 ` Thomas Renninger
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Renninger @ 2006-01-20  8:12 UTC (permalink / raw)
  To: Minty; +Cc: linux-acpi

Minty wrote:
> hello,
> 
> I've got a Sony TX1XP laptop running Kubuntu [1].
> 
> There are a couple of acpi things that I'd love to be improved on this
> machine, so I'm offering to help out if I can - but I could use some
> direction from someone who has a clue about acpi and it's workings. 
> I'm happy enough (although not that great at) kernel compiling if need
> be.  Fwiw, I know of two others running some linux variant on this
> machine/hardware.
> 
> Main issue:
> /proc/acpi/fan exists, but is empty.
> Fan comes on for about 20 sec, off for 5 secs, repeat.
> Regardless of cpu temp.
> 
> cpu temp is accurately reported, normally sitting at 61C, but I've
> seen it go higher when the machine is under load.  thermal_zone
> reports passive cooling, but aside from reporting the temp, anything
> that might be set is reported as "<setting not supported>".  It
Passive/active cooling resets new trip point values exported by BIOS.
If this is not supported(nearly none machine does) override them
manually(see below).
> appears that cpu throttling works via
> /proc/acpi/processor/CPU0/throttling but this doesn't appear to alter
> the behaviour of the fan.
Lower the passive trip point(s). You need to play arround a bit to
find your preferred performance/accoustic balance.
The kernel will lower cpufreq as soon as you reach passive temp.
As fans are mostly controlled by BIOS, this is a good and mostly only
solution to get your machine quiet.
Not sure whether kubuntu already includes powersave/kpowersave packages,
AFAIK they exist.
There you can define schemes and it will override the trip points
as defined (you still need to define them manually as a perfect value 
needs a bit of watching the temps and listening to the fan activity 
of a machine). You can switch the schemes as you wish then...
This makes only sense if your machine supports cpufreq! Throttling is bad
and makes your machine unusable slow.
(test -d /sys/devices/system/cpu/cpu0/cpufreq && echo "cpufreq supported").
You also can simply override the values by:
echo "CRITICAL:HOT:PASSIVE:ACTIVE[0]:ACTIVE[1]" >/proc/acpi/thermal_zone/X/trip_points
You need to pass all five values, not defined values (do a cat before) will be
ignored. Be careful with the critical trip point value, you shouldn't use 
another value than the one defined by BIOS!

    Thomas

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

end of thread, other threads:[~2006-01-20  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19  1:17 acpi on the sony tx1xp vaio laptop Minty
2006-01-19  9:47 ` Matthew Garrett
2006-01-20  8:12 ` Thomas Renninger

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