Re: Fan speed control sony vaio lx800 slimtop

2001-01-17 Thread Peter Dufault

I'm giving up on turning down the slimtop fan for now, the only
way I can think of to figure out how Sony is turning down the fan
is to boot windows, single step through the installation of the
device drivers until I know which one is doing it, and then
disassemble it to see what they're up to.  If someone has any other
ideas let me know.  I might hook a scope up to the fan and boot
windows just to see if it simply turning the fan down or is varying
it.  Maybe I'll add a voltage regulator and a few bits of control
from the unused printer (it isn't run off the MB) and vary the fan
speed brute force.

I asked Sony support about the fan issue, they promptly replied
that running the fan at high continuosly is fine, that no additional
information is available, and that they will "record my interest
in alternate operating systems".  At least they have a polite way
of saying they support nothing but Windows.

So I'm going to roll this system back to 4.2 stable and start using
it for work.  If anyone wants me to try anything out with -current
or ACPI then holler today.

Two additional ACPI-APM things I did notice:

1. Putting APM into the config caused the keyboard switch to start
working to turn the machine on.  I'd taken it out at someones
suggestion.  This is weird, I can only guess APM does something as
the machine powers off that ACPI doesn't.

2. Using APM to suspend the machine causes the LED on the power
switch to turn amber, using "acpiconf -s 1" doesn't, the machine
suspends but the LED stays green.  If anyone has any little snippet
they want me to try before going back to stable let me know.

Anyway, if anyone buys one of these things then rubber bumpers on
the base and Dynamat lining the plastic case makes it as quiet as
a "normal" computer plus gives it a real solid feel.

Peter

--
Peter Dufault ([EMAIL PROTECTED])   Realtime development, Machine control,
HD Associates, Inc.   Fail-Safe systems, Agency approval


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-14 Thread Peter Dufault

I'm slightly hoping that enabling an AUTO HALT mode will turn the fan down.
I don't think it will, I think I will have to do some subset of what
"acpiconf -s 1" does in cpu_idle but will still respond to the next clock
interrupt...

So my two questions are:

1. Is there an obvious subset of S1 that would be an acceptable replacement
for executing HLT and nothing happening in cpu_idle, and, 

2. Does anyone understand "AUTO HALT", low power mode, etc on the Pentium III?

I found programs (previous message has links) to enable power saving modes
on Pentia, but they set a bit in "Model Specific Register 0x12: CTR0", and
the Pentium III documentation says "code that accesses registers 11H, 12H,
and 13H will generate exceptions on a P6 family processor".

(IA-32 Software Developer's Manual, Volume 3: System Programming Guide,
Intel order number 245472, page B-25)

Peter

(The system is reasonably quiet now with my additional sound
proofing, but I'm afraid it isn't designed to continously run what was
originally an unacceptably noisy fan).

--
Peter Dufault ([EMAIL PROTECTED])   Realtime development, Machine control,
HD Associates, Inc.   Fail-Safe systems, Agency approval




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-12 Thread Peter Dufault

> > Would I have to do anything special to see it? If anyone has any
> > other ideas of what to do let me know - I'm wondering if throttling
> > down the CPU turns down the fan.
> 
> It's possible that the EC is solely responsible for the fan, or that 
> Sony decided in their infinite wisdom to do it all in a driver somewhere.

I have a new theory - do we need to enable some sort of suspend on halt
for Intel chips?  I see we do this for various cyrix chips, and I saw
in a search that pentiums with MMX have "auto halt" and "low power
on auto halt" options:

http://www-student.informatik.uni-bonn.de:8001/~petera/lpp/

Do we enable these?  I don't see any CPU_SUSP_HLT options
in initcpu.c for Intel chips.

Chip is

> CPU: Pentium III/Pentium III Xeon/Celeron (801.82-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
>   
>Features=0x383f9ff
>   

Peter

--
Peter Dufault ([EMAIL PROTECTED])   Realtime development, Machine control,
HD Associates, Inc.   Fail-Safe systems, Agency approval


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-11 Thread Peter Dufault

> It's possible that the EC is solely responsible for the fan, or that 
> Sony decided in their infinite wisdom to do it all in a driver somewhere.

"acpiconf -s 1" switches the fan to its low setting, so we do know
how to do it.

Peter

--
Peter Dufault ([EMAIL PROTECTED])   Realtime development, Machine control,
HD Associates, Inc.   Fail-Safe systems, Agency approval


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-10 Thread Mike Smith

> Note that there are no \_TZ_ entries in that "vaiolx800.asl" dump
> that I submitted for the ACPI collection.  I'm not sure where that
> collection is - I don't see it off www.jp.freebsd.org/acpi, if
> anyone wants to see that .asl file I can put it somewhere public.

Is there a thermal zone *anywhere* (ACPI 2.0 moves it into _SB_, for 
example).

> Would I have to do anything special to see it? If anyone has any
> other ideas of what to do let me know - I'm wondering if throttling
> down the CPU turns down the fan.

It's possible that the EC is solely responsible for the fan, or that 
Sony decided in their infinite wisdom to do it all in a driver somewhere.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
   V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-10 Thread Mitsuru IWASAKI

[Cc trimed]

Quick news from acpi-jp :-)

> Note that there are no \_TZ_ entries in that "vaiolx800.asl" dump
> that I submitted for the ACPI collection.  I'm not sure where that
> collection is - I don't see it off www.jp.freebsd.org/acpi, if
> anyone wants to see that .asl file I can put it somewhere public.

Sorry, project page haven't been updated for a long time.
CVSuping ACPI data collection is also with following supfile.

-
*default host=cvsup.jp.FreeBSD.org
*default base=/home/iwasaki/ACPI-data   # XXX
*default prefix=/home/iwasaki/ACPI-data # XXX
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
jp-acpi-data
-

Also cvsweb at
http://www.jp.freebsd.org/cgi/cvsweb.cgi/ACPI/data/?cvsroot=freebsd-jp

Thanks


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-10 Thread Peter Dufault

> > Note also that Scott Long ([EMAIL PROTECTED]) is also working on this, 
> > you will want to check with him to work out where he's up to...
> 
> OK, I intended to try acpi_thermal hacking for the next target, now
> I can be a tester and feed back something for Scott's hack :-)

Note that there are no \_TZ_ entries in that "vaiolx800.asl" dump
that I submitted for the ACPI collection.  I'm not sure where that
collection is - I don't see it off www.jp.freebsd.org/acpi, if
anyone wants to see that .asl file I can put it somewhere public.

I also haven't found any "PNP" devices corresponding to an
ACPI fan (I forget the exact number) during boot -v.

Would I have to do anything special to see it? If anyone has any
other ideas of what to do let me know - I'm wondering if throttling
down the CPU turns down the fan.

In the meantime I've made terrific progress by putting "dynamat" sound
absorbing material on the bottom of the plastic drum-like base of the 
Vaio, it is quieter and now my desk doesn't vibrate when the fan is
on high. (www.dynamat.com, new web site in progress)

Next I'll open it up and put dynamat on the inside of the
plastic - I assume most heat loss is by convection and this won't
make much difference.  Once I do get the fan throttling working
I'll have a real quiet system.

Peter

--
Peter Dufault ([EMAIL PROTECTED])   Realtime development, Machine control,
HD Associates, Inc.   Fail-Safe systems, Agency approval


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-10 Thread Mitsuru IWASAKI

> Note also that Scott Long ([EMAIL PROTECTED]) is also working on this, 
> you will want to check with him to work out where he's up to...

OK, I intended to try acpi_thermal hacking for the next target, now
I can be a tester and feed back something for Scott's hack :-)

Thanks


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-09 Thread Mike Smith


Note also that Scott Long ([EMAIL PROTECTED]) is also working on this, 
you will want to check with him to work out where he's up to...

> 
> > Now I'd like to figure out how to turn the damn fan up and down.  This
> > machine is quiet under windows but sets the fan to high under FreeBSD
> > and never turns it down.  The fan has three settings - 0V, 6V and
> > 12V.  Under windows it stays between 0 and 6V.
> 
> Thermal management implementation is in our queue.  We'll create
> policy manager for ACPI subsystems including thermal (Active, Passive
> cooling etc.).  Of course any help would be welcome :-)
> 
> > I've tried "apm -h 1; apm -e 1;" hoping something would happen
> > but it still doesn't slow down the fan.
> 
> Currently we don't have any means to control fan device (except for
> the machine specific tools).
> 
> > If someone can sketch out a road map of what I should do I'll do the
> > dirty work.  I don't know about ACPI etc and so would appreciate a
> > kick start.  I've picked up the spec but haven't printed it out yet.
> 
> You could find `3.10 Thermal Management' for overview and
> `12 THERMAL MANAGEMENT' for detail in ACPI 2.0 spec.  Also
> `7.1 Declaring a Power Resource Object' and `10.6 Fan Device'
> may help you.
> 
> [EMAIL PROTECTED] is a mailing list for ACPI development.
> # English and Japanese are mixed :-)
> If you are interested in it, please send a mail to
> [EMAIL PROTECTED] with
> subscribe acpi-jp
> on body.
> 
> Thanks
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
   V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Fan speed control sony vaio lx800 slimtop

2001-01-09 Thread Mitsuru IWASAKI

Hi,

> Now I'd like to figure out how to turn the damn fan up and down.  This
> machine is quiet under windows but sets the fan to high under FreeBSD
> and never turns it down.  The fan has three settings - 0V, 6V and
> 12V.  Under windows it stays between 0 and 6V.

Thermal management implementation is in our queue.  We'll create
policy manager for ACPI subsystems including thermal (Active, Passive
cooling etc.).  Of course any help would be welcome :-)

> I've tried "apm -h 1; apm -e 1;" hoping something would happen
> but it still doesn't slow down the fan.

Currently we don't have any means to control fan device (except for
the machine specific tools).

> If someone can sketch out a road map of what I should do I'll do the
> dirty work.  I don't know about ACPI etc and so would appreciate a
> kick start.  I've picked up the spec but haven't printed it out yet.

You could find `3.10 Thermal Management' for overview and
`12 THERMAL MANAGEMENT' for detail in ACPI 2.0 spec.  Also
`7.1 Declaring a Power Resource Object' and `10.6 Fan Device'
may help you.

[EMAIL PROTECTED] is a mailing list for ACPI development.
# English and Japanese are mixed :-)
If you are interested in it, please send a mail to
[EMAIL PROTECTED] with
subscribe acpi-jp
on body.

Thanks



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Fan speed control sony vaio lx800 slimtop

2001-01-08 Thread Peter Dufault

I've installed current on a Vaio LX800 slimtop, configured ACPI and
can turn the thing on and off with the "power" button.  By the way,
the 4.2R to -current upgrade was painless.

Now I'd like to figure out how to turn the damn fan up and down.  This
machine is quiet under windows but sets the fan to high under FreeBSD
and never turns it down.  The fan has three settings - 0V, 6V and
12V.  Under windows it stays between 0 and 6V.

I've tried "apm -h 1; apm -e 1;" hoping something would happen
but it still doesn't slow down the fan.

If someone can sketch out a road map of what I should do I'll do the
dirty work.  I don't know about ACPI etc and so would appreciate a
kick start.  I've picked up the spec but haven't printed it out yet.

Peter

PS minimal Sony Vaio LX700/LX800 technical info is available on
the Italian Sony web site.

--
Peter Dufault ([EMAIL PROTECTED])   Realtime development, Machine control,
HD Associates, Inc.   Fail-Safe systems, Agency approval


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message