public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Fan control for my Dell SmartPC
@ 2003-05-26 11:37 roychris
       [not found] ` <3ED1FC8B.2040009-GANU6spQydw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: roychris @ 2003-05-26 11:37 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

There isn't any method to control the Fan in the dsdt ACPI table on my 
computer (DELL SmartPC/SmartStep).
Thanks to the ACPI Specs, I have implemented this code and there is no 
problem with the compilation. ACPI Linux driver indicates me that it 
finds a method for my two logical fans (one fan with 2 speeds). But I 
think that the adress (the namespace maybe EC0) is not good so I can't 
control it. How can I find the good region for my fan ?

            OperationRegion (EC0, EmbeddedControl, 0, 0xFF)
            Field (EC0, ByteAcc, Lock, Preserve)
            {
             MODE,     1,
             FAN0,     1,
             FAN1,     1,
             ,         5,
             TMP,      8,
             AC0,      8,
             AC1,      8,
             PSV,      8,
             HOT,      8,
             CRT,      8
             }

I think that it's this piece of code I have to change.

Thanks



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

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

* Re: Fan control for my Dell SmartPC
       [not found] ` <3ED1FC8B.2040009-GANU6spQydw@public.gmane.org>
@ 2003-05-26 14:17   ` Mark Santcroos
  2003-05-26 14:20   ` Adachi, Kenichi
  1 sibling, 0 replies; 5+ messages in thread
From: Mark Santcroos @ 2003-05-26 14:17 UTC (permalink / raw)
  To: roychris; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

But is your fan ACPI controllable?

Mark

On Mon, May 26, 2003 at 01:37:47PM +0200, roychris wrote:
> There isn't any method to control the Fan in the dsdt ACPI table on my 
> computer (DELL SmartPC/SmartStep).
> Thanks to the ACPI Specs, I have implemented this code and there is no 
> problem with the compilation. ACPI Linux driver indicates me that it 
> finds a method for my two logical fans (one fan with 2 speeds). But I 
> think that the adress (the namespace maybe EC0) is not good so I can't 
> control it. How can I find the good region for my fan ?
> 
>            OperationRegion (EC0, EmbeddedControl, 0, 0xFF)
>            Field (EC0, ByteAcc, Lock, Preserve)
>            {
>             MODE,     1,
>             FAN0,     1,
>             FAN1,     1,
>             ,         5,
>             TMP,      8,
>             AC0,      8,
>             AC1,      8,
>             PSV,      8,
>             HOT,      8,
>             CRT,      8
>             }
> 
> I think that it's this piece of code I have to change.
> 
> Thanks
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
> relational database is painful, don't do it! Check out ObjectStore.
> Now part of Progress Software. http://www.objectstore.net/sourceforge
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel

-- 
Mark Santcroos                    RIPE Network Coordination Centre
http://www.ripe.net/home/mark/    New Projects Group/TTM


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

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

* RE: Fan control for my Dell SmartPC
       [not found] ` <3ED1FC8B.2040009-GANU6spQydw@public.gmane.org>
  2003-05-26 14:17   ` Mark Santcroos
@ 2003-05-26 14:20   ` Adachi, Kenichi
       [not found]     ` <001201c32391$ecc1cda0$354425db-F8JvWDuGsZU@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Adachi, Kenichi @ 2003-05-26 14:20 UTC (permalink / raw)
  To: 'roychris', acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi, 

> There isn't any method to control the Fan in the dsdt ACPI 
> table on my 
> computer (DELL SmartPC/SmartStep).
> Thanks to the ACPI Specs, I have implemented this code and 
> there is no 
> problem with the compilation. ACPI Linux driver indicates me that it 
> finds a method for my two logical fans (one fan with 2 speeds). But I 
> think that the adress (the namespace maybe EC0) is not good 
> so I can't 
> control it. How can I find the good region for my fan ?

Can you be more specific here:

- What was the original status/problem? (There was nothing w.r.t. Fan
control at all in your original DSDT, but your machine has been kept
chilled by Fan, correct?)
- What steps did you go through? (Trying to control Fan via ACPI by
adding your own methods without knowledge as to how your Embedded
Controller interacts with Fan controller etc.?)

The entire DSDT, both original and modified, will be required for
further investigation, but honestly speaking, there's little, if any,
hope of success...

Thanks,
- Adachi, Kenichi 





-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

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

* Re: Fan control for my Dell SmartPC
       [not found]     ` <001201c32391$ecc1cda0$354425db-F8JvWDuGsZU@public.gmane.org>
@ 2003-05-26 15:49       ` roychris
  0 siblings, 0 replies; 5+ messages in thread
From: roychris @ 2003-05-26 15:49 UTC (permalink / raw)
  To: Adachi, Kenichi; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 1833 bytes --]

I have a complement :

"it seems like the fan stuff is on the SMBus which is at address 7A. The 
speed can be read from register 11 and written to register 10."
I don't know how to use this information.

Adachi, Kenichi wrote:

>Hi, 
>
>  
>
>>There isn't any method to control the Fan in the dsdt ACPI 
>>table on my 
>>computer (DELL SmartPC/SmartStep).
>>Thanks to the ACPI Specs, I have implemented this code and 
>>there is no 
>>problem with the compilation. ACPI Linux driver indicates me that it 
>>finds a method for my two logical fans (one fan with 2 speeds). But I 
>>think that the adress (the namespace maybe EC0) is not good 
>>so I can't 
>>control it. How can I find the good region for my fan ?
>>    
>>
>
>Can you be more specific here:
>
>- What was the original status/problem? (There was nothing w.r.t. Fan
>control at all in your original DSDT, but your machine has been kept
>chilled by Fan, correct?)
>- What steps did you go through? (Trying to control Fan via ACPI by
>adding your own methods without knowledge as to how your Embedded
>Controller interacts with Fan controller etc.?)
>
>The entire DSDT, both original and modified, will be required for
>further investigation, but honestly speaking, there's little, if any,
>hope of success...
>
>Thanks,
>- Adachi, Kenichi 
>
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: ObjectStore.
>If flattening out C++ or Java code to make your application fit in a
>relational database is painful, don't do it! Check out ObjectStore.
>Now part of Progress Software. http://www.objectstore.net/sourceforge
>_______________________________________________
>Acpi-devel mailing list
>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
>
>  
>


[-- Attachment #2: Type: text/html, Size: 2470 bytes --]

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

* RE: Fan control for my Dell SmartPC
       [not found] ` <3ED2307B.8070908-GANU6spQydw@public.gmane.org>
@ 2003-05-26 16:30   ` Adachi, Kenichi
  0 siblings, 0 replies; 5+ messages in thread
From: Adachi, Kenichi @ 2003-05-26 16:30 UTC (permalink / raw)
  To: 'roychris'; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi roychris,

> My computer regulate very very badly the fan. This is a common problem
with this 
> computer and DELL never resolv the problem. So I want to start the fan
whith my own 
> policy. Exactly, I don't know how my Embedded Controller interact with
Fan Controller 
> and I don't know if I can (how my computer control the fan without
ACPI ?)

Is your machine a sibling of Inspiron 8200? 
http://sourceforge.net/mailarchive/message.php?msg_id=3633122

Perhaps you may not waste your time by attempting Fan control through
ACPI, and do:
- ask your make to provide the equivalent for "Dell-laptop driver" on
Linux, but it will not happen so easily... 
- write a small driver of your own which directly uses SMBus for Fan
control, but again only limited information for Fan control is supplied,
no? 

Does anyone know if "lm_sensors" stuff works for roychris?
Is it just for monitoring purpose only? Or am I completely off base?

Thanks,
- Adachi, Kenichi

  




-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

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

end of thread, other threads:[~2003-05-26 16:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-26 11:37 Fan control for my Dell SmartPC roychris
     [not found] ` <3ED1FC8B.2040009-GANU6spQydw@public.gmane.org>
2003-05-26 14:17   ` Mark Santcroos
2003-05-26 14:20   ` Adachi, Kenichi
     [not found]     ` <001201c32391$ecc1cda0$354425db-F8JvWDuGsZU@public.gmane.org>
2003-05-26 15:49       ` roychris
     [not found] <3ED2307B.8070908@free.fr>
     [not found] ` <3ED2307B.8070908-GANU6spQydw@public.gmane.org>
2003-05-26 16:30   ` Adachi, Kenichi

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