Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Grendel
On Wed, 11 Feb 2004, The awesome and feared Jose GonzÃlez GÃmez commented...

> 
> I have just upgraded to 2.6 and now the battery applet seems to be 
> working properly. I'll take a look at the rest of the functionalities 
> tomorrow.

You might also consider running the acpid daemon
, its a daemon which runs and monitors
various ACPI related events. For example now when you press the power off
button, the kernel generates a ACPI event and acpid can be configured to
execute "/sbin/shutdown -h now" when it (acpid) detects the event.

You might want to check acpid out, there is also a script which many
notebook users use whereby the script detects when the battery level is
low and at a predetermined level (shall we say 5% of power leff) it
automatically shutsdown the computer, otherwise you will have to fsck your 
computer when it boots up.

Grendel.

-- 
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Jose González Gómez
   I have just upgraded to 2.6 and now the battery applet seems to be 
working properly. I'll take a look at the rest of the functionalities 
tomorrow.

   Thanks for your help, regards
   Jose
Grendel escribiÃ:

On Wed, 11 Feb 2004, The awesome and feared Jose GonzÃlez GÃmez commented...

 

   Ok, let's try a 2.6 kernel... should I take away APM from the kernel 
options? I have checked it and it's there currently as a module.
   

No need, linux by default prefers ACPI over APM, so you need not worry
about this if you enable acpi as well. Of course if you really want to  
you can remove the apm support but it wont matter.

Grendel

 

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Grendel
On Wed, 11 Feb 2004, The awesome and feared Jose GonzÃlez GÃmez commented...

> 
> Ok, let's try a 2.6 kernel... should I take away APM from the kernel 
> options? I have checked it and it's there currently as a module.

No need, linux by default prefers ACPI over APM, so you need not worry
about this if you enable acpi as well. Of course if you really want to  
you can remove the apm support but it wont matter.

Grendel

-- 
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Jose González Gómez
   Ok, let's try a 2.6 kernel... should I take away APM from the kernel 
options? I have checked it and it's there currently as a module.

Grendel escribiÃ:

On Wed, 11 Feb 2004, The awesome and feared Jose GonzÃlez GÃmez commented...

 

   Grendel,

   I have posted a message to the Gentoo forums with this issue, 
including all the information I have been able to collect. You can 
access it at:

  http://forums.gentoo.org/viewtopic.php?t=134849
   

First things first, linux 2.6 has much better ACPI support so it is worth 
it if you can try to use one of the 2.6 kernels and see if it recognises 
your machine. 

Bye,
grendel
 

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Grendel
On Wed, 11 Feb 2004, The awesome and feared Jose González Gómez commented...

> 
> Grendel,
> 
> I have posted a message to the Gentoo forums with this issue, 
> including all the information I have been able to collect. You can 
> access it at:
> 
>http://forums.gentoo.org/viewtopic.php?t=134849

First things first, linux 2.6 has much better ACPI support so it is worth 
it if you can try to use one of the 2.6 kernels and see if it recognises 
your machine. 

Bye,
grendel


-- 
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Jose González Gómez
   Grendel,

   I have posted a message to the Gentoo forums with this issue, 
including all the information I have been able to collect. You can 
access it at:

  http://forums.gentoo.org/viewtopic.php?t=134849

   Tanks for your time,
   Jose
Grendel escribiÃ:

On Tue, 10 Feb 2004, The awesome and feared Jose GonzÃlez GÃmez commented...

 

   Hi there,

   I have an Acer Aspire 1350 laptop where I have just installed 
Gentoo. The problem is that I don't manage to get ACPI working. I've 
been reading a lot of stuff in the mailing list, the forums, etc, but I 
don't have a clear picture of this:

  1. Are APM and ACPI related? I understand I should use *only* one of
 them but not both, is this correct?
   

APM is the first of the power management protocols. This was used in the
good old days for putting the disks into standby etc.
ACPI is a more advanced protocol, where a ACPI aware OS (if the BIOS 
supports ACPI (only bioses within the last 2-3 years do this IIRC) can 
request ACPI aware devices to put themselves in a power saving state, this 
includes harddisks, network cards, CPU. If a device cant oblige with the 
request at that time then it is free to reject the ACPI request.

You can use only one method, ie APM or ACPI not both. Usually the kernel 
defaults to supporting ACPI, but you can force it to use APM by passing 
the acpi=off option at boot time.

 

  2. Should I try to move to APM if I'm not able to get ACPI running?
   

The only problem is linux's ACPI implementation still isnt stable for 
certain chipsets, notably nforce2/AMD platform.

So if when you have ACPI enabled you get random lockups, or notie that he 
machine is running slow, then disable it and use APM. You can enter low 
power states using APM, no problem.

 

  3. Will I have all the battery, sleep, hibernate, etc stuff in APM?
   

You can put the disks into low power standby, or suspend. I am not sure 
whether hibernating or suspend to ram is possible in APM.

 

  4. Does anybody out there have an Acer Aspire 1350 with a working
 Gentoo that would share her experinces with me, please?
   By the way, I'm using kernel-2.4.22-gentoo-r5, there seems to be 
some part of ACPI working, as I'm able to see some messages in 
/var/log/messages when I plug/unplug my AC cord, but I don't have any 
/proc/acpi/battery directory. I can post more information if needed.
   



When the kernel boots up do you get a boot up message like "ACPI 
initialise" etc...

Grendel

 

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Jose González Gómez
   I was waiting for 2.6 to become stable in Gentoo, but it seems I'll 
have to take a look at them...

Tom Wesley escribió:

On Tue, 2004-02-10 at 21:05, Jose González Gómez wrote:
 

   Hi there,

   I have an Acer Aspire 1350 laptop where I have just installed 
Gentoo. The problem is that I don't manage to get ACPI working. I've 
been reading a lot of stuff in the mailing list, the forums, etc, but I 
don't have a clear picture of this:

  1. Are APM and ACPI related? I understand I should use *only* one of
 them but not both, is this correct?
  2. Should I try to move to APM if I'm not able to get ACPI running?
  3. Will I have all the battery, sleep, hibernate, etc stuff in APM?
  4. Does anybody out there have an Acer Aspire 1350 with a working
 Gentoo that would share her experinces with me, please?
   By the way, I'm using kernel-2.4.22-gentoo-r5, there seems to be 
some part of ACPI working, as I'm able to see some messages in 
/var/log/messages when I plug/unplug my AC cord, but I don't have any 
/proc/acpi/battery directory. I can post more information if needed.

   Thanks a lot, regards
   Jose
   

Although I don't actually have a laptop at all, but I have heard that
2.6 kernels include better power management support, including fancy
things like hibernate... Might be worth a look?
 

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Grendel
On Tue, 10 Feb 2004, The awesome and feared Jose González Gómez commented...

> 
> Hi there,
> 
> I have an Acer Aspire 1350 laptop where I have just installed 
> Gentoo. The problem is that I don't manage to get ACPI working. I've 
> been reading a lot of stuff in the mailing list, the forums, etc, but I 
> don't have a clear picture of this:
> 
>1. Are APM and ACPI related? I understand I should use *only* one of
>   them but not both, is this correct?

APM is the first of the power management protocols. This was used in the
good old days for putting the disks into standby etc.

ACPI is a more advanced protocol, where a ACPI aware OS (if the BIOS 
supports ACPI (only bioses within the last 2-3 years do this IIRC) can 
request ACPI aware devices to put themselves in a power saving state, this 
includes harddisks, network cards, CPU. If a device cant oblige with the 
request at that time then it is free to reject the ACPI request.

You can use only one method, ie APM or ACPI not both. Usually the kernel 
defaults to supporting ACPI, but you can force it to use APM by passing 
the acpi=off option at boot time.


>2. Should I try to move to APM if I'm not able to get ACPI running?

The only problem is linux's ACPI implementation still isnt stable for 
certain chipsets, notably nforce2/AMD platform.

So if when you have ACPI enabled you get random lockups, or notie that he 
machine is running slow, then disable it and use APM. You can enter low 
power states using APM, no problem.

>3. Will I have all the battery, sleep, hibernate, etc stuff in APM?

You can put the disks into low power standby, or suspend. I am not sure 
whether hibernating or suspend to ram is possible in APM.

>4. Does anybody out there have an Acer Aspire 1350 with a working
>   Gentoo that would share her experinces with me, please?
> 
> By the way, I'm using kernel-2.4.22-gentoo-r5, there seems to be 
> some part of ACPI working, as I'm able to see some messages in 
> /var/log/messages when I plug/unplug my AC cord, but I don't have any 
> /proc/acpi/battery directory. I can post more information if needed.


When the kernel boots up do you get a boot up message like "ACPI 
initialise" etc...


Grendel

-- 
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Tom Wesley
On Tue, 2004-02-10 at 21:05, Jose González Gómez wrote:
> Hi there,
> 
> I have an Acer Aspire 1350 laptop where I have just installed 
> Gentoo. The problem is that I don't manage to get ACPI working. I've 
> been reading a lot of stuff in the mailing list, the forums, etc, but I 
> don't have a clear picture of this:
> 
>1. Are APM and ACPI related? I understand I should use *only* one of
>   them but not both, is this correct?
>2. Should I try to move to APM if I'm not able to get ACPI running?
>3. Will I have all the battery, sleep, hibernate, etc stuff in APM?
>4. Does anybody out there have an Acer Aspire 1350 with a working
>   Gentoo that would share her experinces with me, please?
> 
> By the way, I'm using kernel-2.4.22-gentoo-r5, there seems to be 
> some part of ACPI working, as I'm able to see some messages in 
> /var/log/messages when I plug/unplug my AC cord, but I don't have any 
> /proc/acpi/battery directory. I can post more information if needed.
> 
> Thanks a lot, regards
> Jose

Although I don't actually have a laptop at all, but I have heard that
2.6 kernels include better power management support, including fancy
things like hibernate... Might be worth a look?

-- 
Tom Wesley


signature.asc
Description: This is a digitally signed message part


[gentoo-user] APM vs ACPI on Acer Aspire 1350

2004-02-10 Thread Jose González Gómez
   Hi there,

   I have an Acer Aspire 1350 laptop where I have just installed 
Gentoo. The problem is that I don't manage to get ACPI working. I've 
been reading a lot of stuff in the mailing list, the forums, etc, but I 
don't have a clear picture of this:

  1. Are APM and ACPI related? I understand I should use *only* one of
 them but not both, is this correct?
  2. Should I try to move to APM if I'm not able to get ACPI running?
  3. Will I have all the battery, sleep, hibernate, etc stuff in APM?
  4. Does anybody out there have an Acer Aspire 1350 with a working
 Gentoo that would share her experinces with me, please?
   By the way, I'm using kernel-2.4.22-gentoo-r5, there seems to be 
some part of ACPI working, as I'm able to see some messages in 
/var/log/messages when I plug/unplug my AC cord, but I don't have any 
/proc/acpi/battery directory. I can post more information if needed.

   Thanks a lot, regards
   Jose
--
[EMAIL PROTECTED] mailing list