[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Poweroff on Dell Inspiron 8000



On Tue, 2002-01-15 at 09:43, Sebastien Geffroy wrote:
> Hi all,
> 
> I'm trying to get poweroff working when i do a 'halt -p' with my inspiron 8000. But, it don't work.
> I compile a 2.4.17 kernel with APM support.
> 
> Anyone has arrived to get poweroff working with this laptop ?

Yes, it works just fine. You have to have some options in a particular
way, though. I use the following:

CONFIG_X86_UP_APIC=n
CONFIG_PM=y
CONFIG_APM=m
CONFIG_APM_IGNORE_USER_SUSPEND=n
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_RTC_IS_GMT=y
CONFIG_APM_ALLOW_INTS=n
CONFIG_APM_REAL_MODE_POWER_OFF=n

If you use menuconfig, these are the corresponding options,
respectively:

Processor type and features -> Local APIC support on uniprocessors (n)
General Setup -> Power Management support (y)
General Setup -> Advanced Power Management BIOS support (m)
General Setup -> Ignore USER SUSPEND (n)
General Setup -> Enable PM at boot time (y)
General Setup -> Make CPU Idle calls when idle (y)
General Setup -> Enable console blanking using APM (y)
General Setup -> RTC stores time in GMT (y)
General Setup -> Allow interrupts during APM BIOS calls (n)
General Setup -> Use real mode APM BIOS call to power off (n)

If you turn on CONFIG_X86_UP_APIC, then APM won't work.
Oh, and note that APM will be a module, so make sure you load it (use
modconf to configure that).

Cheers,
fabbe




Reply to: