public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Compaq Evo N800v: I have a fixed DSDT table
@ 2003-04-28 10:11 Daniele Boffi
       [not found] ` <20030428121157.A20348-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Daniele Boffi @ 2003-04-28 10:11 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: john.cagle-VXdhtT5mjnY

Hi folks!

Stimulated by the recent discussions on the list, I made some important
progress on my (already satisfactory) fixed DSDT table for Evo N800v.

You can find it at

www-dimat.unipv.it/~boffi/compaq/custom-dsdt.hex

I'll send it to acpi.sf.net tonight.

IMPORTANT NOTICE: I am using Bios revision F.18A as of 2 Jan 03. Previous
release might not work.

What is working:

- batteries (BAT0  BAT1)
- ac_adapter (ACAD)
- button (lid  power  sleep)
- embedded_controller (C0D0)
- fan (I have 4 of them: C1D9  C1DA  C1DB  C1DC)
- power_resources (C0CF  C141  C155  C159  C15D  C166  C1D5  C1D6  C1D7  C1D8)
- processor (C000)
- thermal_zone (I have three of them, first one is CPU, TZ1  TZ2  TZ3)
- Fn F7/F8 work (panel brightness)
- pressing the lid button turns the screen off as expected

What can be improved

- sleep states: echo 5 works (shutdown), echo 4 works (it invokes swsusp)
                other states do nothing
- CPU: (*) I can change throttling state fine
       (*) performance always report P0, however I checked the following:
           turning AC/battery produced the desired effects (P1 when on battery)
           even if it is not reported in /proc/acpi
       (*) I can swicth to P1 when on AC with "echo 1:0 > limit" (always
           doesn't appear in proc/acpi), but "echo 0:0 > limit" does not switch
           back to P0. In order to switch back, I turn AC off for a second and
           then put it back, so that the BIOS does the job for me.
- volume control buttons: are they acpi-related?

I hope this will help somebody.

Daniele


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Compaq Evo N800v: I have a fixed DSDT table
       [not found] ` <20030428121157.A20348-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
@ 2003-04-28 19:41   ` Stephan Krings
  2003-04-29 20:14   ` Mike Wohlgemuth
  1 sibling, 0 replies; 6+ messages in thread
From: Stephan Krings @ 2003-04-28 19:41 UTC (permalink / raw)
  To: Daniele Boffi
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	john.cagle-VXdhtT5mjnY

Hi,

> What is working:
> 
> - batteries (BAT0  BAT1)
> - ac_adapter (ACAD)
> - button (lid  power  sleep)
> - embedded_controller (C0D0)
> - fan (I have 4 of them: C1D9  C1DA  C1DB  C1DC)

I think these are not four hardware-devices, but instead represent 4
different speed-states for the same fan.

> What can be improved
> 
> - sleep states: echo 5 works (shutdown), echo 4 works (it invokes swsusp)
>                 other states do nothing

Same for me. I also tried the swsusp patch and it works for me. It's a
little bit slow to suspend and hibernate this way, so I don't use it
very often. Making S3 (Suspend to RAM) on this machine would be really
nice, but I didn't have the time to try a newer development kernel,
yet.

> - volume control buttons: are they acpi-related?

No, they generate normal scan codes, which any program my use. Check
out lineak (http://lineak.sourceforge.net/). It works fine for
me. There are other similar tools which do the job also.

The same applies to the play/stop etc. buttons (Fn+F9). They can also
be made available to lineak or xmms.

The only buttons which bypass the kernel keyboard routines or ACPI are:

- Fn+F2 (wireless device on/off): This seems to hardwired into the
  keyboard controller. The current power state is also written to
  NVRAM, so it might even be possible to "emulate" this button from a
  program.

- Fn+F4 (Switch display output): Just seems to work for me. Haven't
  tried it with a TV attached, yet.

- Fn+F7 / Fn+F8 (display brightness): Just works for me. The ACPI
  system might be involved here.

- Fn+Scroll: Emulate numeric keypad. Just works for me, seems to be
  hard wired in the keyboard controller.

All other keys are either ACPI controlled (Sleep, Power) or can be
accessed from user space.

Regards,

Stephan


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Compaq Evo N800v: I have a fixed DSDT table
       [not found] ` <20030428121157.A20348-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
  2003-04-28 19:41   ` Stephan Krings
@ 2003-04-29 20:14   ` Mike Wohlgemuth
       [not found]     ` <3EAEDD12.9070106-JUfvz9/eqXCsTnJN9+BGXg@public.gmane.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Mike Wohlgemuth @ 2003-04-29 20:14 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Can I ask what version of ACPI you are running?  The lid button and the 
panel brightness doesn't work for me on my Evo N800c with bios F.18a. 
 I'm hoping the problem is a difference in the software, not in the 
hardware.

Thanks
Mike

Daniele Boffi wrote:

>Hi folks!
>
>Stimulated by the recent discussions on the list, I made some important
>progress on my (already satisfactory) fixed DSDT table for Evo N800v.
>
>You can find it at
>
>www-dimat.unipv.it/~boffi/compaq/custom-dsdt.hex
>
>I'll send it to acpi.sf.net tonight.
>
>IMPORTANT NOTICE: I am using Bios revision F.18A as of 2 Jan 03. Previous
>release might not work.
>
>What is working:
>
>- batteries (BAT0  BAT1)
>- ac_adapter (ACAD)
>- button (lid  power  sleep)
>- embedded_controller (C0D0)
>- fan (I have 4 of them: C1D9  C1DA  C1DB  C1DC)
>- power_resources (C0CF  C141  C155  C159  C15D  C166  C1D5  C1D6  C1D7  C1D8)
>- processor (C000)
>- thermal_zone (I have three of them, first one is CPU, TZ1  TZ2  TZ3)
>- Fn F7/F8 work (panel brightness)
>- pressing the lid button turns the screen off as expected
>
>What can be improved
>
>- sleep states: echo 5 works (shutdown), echo 4 works (it invokes swsusp)
>                other states do nothing
>- CPU: (*) I can change throttling state fine
>       (*) performance always report P0, however I checked the following:
>           turning AC/battery produced the desired effects (P1 when on battery)
>           even if it is not reported in /proc/acpi
>       (*) I can swicth to P1 when on AC with "echo 1:0 > limit" (always
>           doesn't appear in proc/acpi), but "echo 0:0 > limit" does not switch
>           back to P0. In order to switch back, I turn AC off for a second and
>           then put it back, so that the BIOS does the job for me.
>- volume control buttons: are they acpi-related?
>
>I hope this will help somebody.
>
>Daniele
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Acpi-devel mailing list
>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
>  
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Compaq Evo N800v: I have a fixed DSDT table
       [not found]     ` <3EAEDD12.9070106-JUfvz9/eqXCsTnJN9+BGXg@public.gmane.org>
@ 2003-04-29 20:47       ` Daniele Boffi
       [not found]         ` <20030429224718.A26481-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Daniele Boffi @ 2003-04-29 20:47 UTC (permalink / raw)
  To: Mike Wohlgemuth; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, Apr 29, 2003 at 04:14:10PM -0400, Mike Wohlgemuth wrote:
> Can I ask what version of ACPI you are running?  The lid button and the 
> panel brightness doesn't work for me on my Evo N800c with bios F.18a. 
>  I'm hoping the problem is a difference in the software, not in the 
> hardware.
> 

I think your problem is related to Xfree. I am using XFree4.2 with the
configuration file you can download at

www-dimat.unipv.it/~boffi/compaq/XF86Config

I am using the X module synaptic for the touch pad (it is great), if you don't
have it you should comment out the references to it.

In any case, I am using acpi-20021212-2.4.20

Good luck,

Daniele

> 
> Daniele Boffi wrote:
> 
> >Hi folks!
> >
> >Stimulated by the recent discussions on the list, I made some important
> >progress on my (already satisfactory) fixed DSDT table for Evo N800v.
> >
> >You can find it at
> >
> >www-dimat.unipv.it/~boffi/compaq/custom-dsdt.hex
> >
> >I'll send it to acpi.sf.net tonight.
> >
> >IMPORTANT NOTICE: I am using Bios revision F.18A as of 2 Jan 03. Previous
> >release might not work.
> >
> >What is working:
> >
> >- batteries (BAT0  BAT1)
> >- ac_adapter (ACAD)
> >- button (lid  power  sleep)
> >- embedded_controller (C0D0)
> >- fan (I have 4 of them: C1D9  C1DA  C1DB  C1DC)
> >- power_resources (C0CF  C141  C155  C159  C15D  C166  C1D5  C1D6  C1D7  C1D8)
> >- processor (C000)
> >- thermal_zone (I have three of them, first one is CPU, TZ1  TZ2  TZ3)
> >- Fn F7/F8 work (panel brightness)
> >- pressing the lid button turns the screen off as expected
> >
> >What can be improved
> >
> >- sleep states: echo 5 works (shutdown), echo 4 works (it invokes swsusp)
> >                other states do nothing
> >- CPU: (*) I can change throttling state fine
> >       (*) performance always report P0, however I checked the following:
> >           turning AC/battery produced the desired effects (P1 when on battery)
> >           even if it is not reported in /proc/acpi
> >       (*) I can swicth to P1 when on AC with "echo 1:0 > limit" (always
> >           doesn't appear in proc/acpi), but "echo 0:0 > limit" does not switch
> >           back to P0. In order to switch back, I turn AC off for a second and
> >           then put it back, so that the BIOS does the job for me.
> >- volume control buttons: are they acpi-related?
> >
> >I hope this will help somebody.
> >
> >Daniele
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf
> >_______________________________________________
> >Acpi-devel mailing list
> >Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >
> >  
> >
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel

-- 
--------------------------------------------------------------------
Daniele Boffi               Office +39-0382-505686
Dip. di Matematica          Fax    +39-0382-505602
Universita' di Pavia        e-mail boffi-piYtxHxN1XRAly3Pu9w1wA@public.gmane.org
Via Ferrata, 1              web    http://www-dimat.unipv.it/~boffi/
27100 Pavia
ITALY
--------------------------------------------------------------------


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Compaq Evo N800v: I have a fixed DSDT table
       [not found]         ` <20030429224718.A26481-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
@ 2003-04-30  0:25           ` Mike Wohlgemuth
       [not found]             ` <3EAF17FC.2010705-JUfvz9/eqXCsTnJN9+BGXg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Wohlgemuth @ 2003-04-30  0:25 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Daniele Boffi wrote:

>I think your problem is related to Xfree. I am using XFree4.2 with the
>configuration file you can download at
>  
>
You are correct.  The trick was to not load dri in the modules section. 
 That has some downsides, but nothing I can't live with.

One thing I did notice is that if I hit the lid button while running X, 
the screen blanks, but when I release it, the screen is not restored (it 
just stays blank with the backlight on).  Hitting ctrl-alt-f1 to get to 
a text console and hitting the lid button again fixed the problem, and I 
could then hit ctrl-alt-f7 to get back to X.

Thanks for the help.

Mike



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Compaq Evo N800v: I have a fixed DSDT table
       [not found]             ` <3EAF17FC.2010705-JUfvz9/eqXCsTnJN9+BGXg@public.gmane.org>
@ 2003-04-30  7:05               ` Daniele Boffi
  0 siblings, 0 replies; 6+ messages in thread
From: Daniele Boffi @ 2003-04-30  7:05 UTC (permalink / raw)
  To: Mike Wohlgemuth; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> One thing I did notice is that if I hit the lid button while running X, 
> the screen blanks, but when I release it, the screen is not restored (it 
> just stays blank with the backlight on).  Hitting ctrl-alt-f1 to get to 
> a text console and hitting the lid button again fixed the problem, and I 
> could then hit ctrl-alt-f7 to get back to X.

This is a known problem with newer version of XFree. I had that problem with
Red Hat 9, then I came back to RH8 where the lid behavior is normal.

Daniele


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-28 10:11 Compaq Evo N800v: I have a fixed DSDT table Daniele Boffi
     [not found] ` <20030428121157.A20348-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2003-04-28 19:41   ` Stephan Krings
2003-04-29 20:14   ` Mike Wohlgemuth
     [not found]     ` <3EAEDD12.9070106-JUfvz9/eqXCsTnJN9+BGXg@public.gmane.org>
2003-04-29 20:47       ` Daniele Boffi
     [not found]         ` <20030429224718.A26481-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2003-04-30  0:25           ` Mike Wohlgemuth
     [not found]             ` <3EAF17FC.2010705-JUfvz9/eqXCsTnJN9+BGXg@public.gmane.org>
2003-04-30  7:05               ` Daniele Boffi

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