my machine does allow for power down by the kernel and the bios is set to take care of that. i know this as i have a earlier version of the kernel that was pre-compiled. that kernel will power down the machine. i went looking at the .config file for that kernel to come up with the items i'd mentioned. most of them i thought probably had nothing to do with powering off; but what the heck. when all else fails, experiment a bit. <s>
ahhhh, turn on the "CONFIG_EXPERIMENTAL=y" and now we get the ACPI option(s) an not greyed out. thanks craig, i've got that going in a compile as we speak! On Tuesday 30 October 2001 17:00, Craig Dickson wrote: > allen wayne best just ramblin in his amx wrote: > > i am trying to understand which option(s) to select (or deselect) when i > > build a new kernel (2.4.12) to have the system power off when i do a > > "shutdown -h now". i have set the following with no luck: > > > > # General setup > > > > CONFIG_PM=y > > CONFIG_APM=y > > CONFIG_APM_REAL_MODE_POWER_OFF=y > > CONFIG_APM_ALLOW_INTS=y > > CONFIG_APM_RTC_IS_GMT=y > > First, are you sure your PC supports APM and/or ACPI? Which one? Both? > > My machine powers off quite nicely with "shutdown -h now". I have > CONFIG_PM and CONFIG_APM set, but not ...REAL_MODE_POWER_OFF or > ...ALLOW_INTS. My machine probably supports ACPI too (it's a pretty > recent machine), but I don't have CONFIG_ACPI set because APM seems to > do just fine and I don't see a need to mess with it. > > CONFIG_APM_RTC_IS_GMT simply tells the kernel to consider your hardware > real-time clock as a GMT value, rather than local time. I have that set > too, but it has nothing to do with powering off. > > If you can't get APM to work and your machine supports ACPI, you could > try setting CONFIG_ACPI. I forget whether that's still considered > "experimental". > > > # Kernel hacking > > > > CONFIG_MAGIC_SYSRQ=y > > CONFIG_KERNEL_DEBUG=y > > CONFIG_DEBUG_IOVIRT=y > > These have nothing directly to do with power-off. If you don't know what > the Magic SysRq key is, turn it off (or read it up on it and find out > what it can do for you). > > Craig -- regards, allen wayne best contractor, diagnostics and support tools "your friendly neighborhood rambler owner" "my rambler will go from 0 to 105" Current date: 19:12:17::302:2001 Ramblers -- Don't you wish everyone had one?