2001-02-10 20:37:50

by Jean-Luc Coulon (f5ibh)

[permalink] [raw]
Subject: Power off 2.4.xx and ACPI / APM

Hi,

I've read some messages some time ago about problems related to ACPI.
But I've not found the clue to my problem.

With kernel 2.2.19 and APM enabled, the power supply switches off while
the message Power down appears.

With 2.4.x, nothing occurs. I've to enable ACPI too to have this
behaviour.

But if I enable ACPI, I've a strange problem with my AX25 (hamradio)
system :
all the frames I send on the radio network are _very_ long without any
data in it. The watchdog of the card (DRSI : works with the scc driver),

switches the transmitter off after few seconds.

Any idea ?

----

Regards

Jean-Luc


2001-02-11 13:02:38

by Jean-Luc Coulon (f5ibh)

[permalink] [raw]
Subject: Re: Power off 2.4.xx and ACPI / APM

Jeff Garzik wrote:

>
> Does this ACPI problem occur with 2.4.2-pre3? (patch available from
> ftp://ftp.fr.kernel.org/pub/linux/kernel/testing/)
>

Yep! The same problem with all the 2.4.x and 2.4.x-prey.

My .config is :
CONFIG_PM=y
CONFIG_ACPI=y
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
CONFIG_APM_CPU_IDLE=y
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

------

Regards

Jean-Luc

>
> --
> Jeff Garzik | "You see, in this world there's two kinds of
> Building 1024 | people, my friend: Those with loaded guns
> MandrakeSoft | and those who dig. You dig." --Blondie

2001-02-11 17:18:08

by Jean-Luc Coulon (f5ibh)

[permalink] [raw]
Subject: Re: Power off 2.4.xx and ACPI / APM

Leo Laursen wrote:

> I artikel <[email protected]>, skrev "Jean-luc Coulon"
> <[email protected]>:
>
> >> Does this ACPI problem occur with 2.4.2-pre3? (patch available from
> >> ftp://ftp.fr.kernel.org/pub/linux/kernel/testing/)
> >>
> >
> > Yep! The same problem with all the 2.4.x and 2.4.x-prey.
> >
> > CONFIG_APM=m
>
> I am not on the list, but follows the discassion via news
>
> I believe the APM module is unloaded before it can shutdown
> so CONFIG_APM=y might work (works for me )
> Leo

Bingo !
At least, "power off" works with APM "Y" ... this does not solve the ACPI
/and AX25 related problem.
With 2.2x, you have not the choice : APM is "Y/N", it is not possible to
install it as a module.

----

Thank you, best regards

Jean-Luc