Hello,
Is "shutdown -p now" not supposed to power off the computer? I have APM/ACPI enabled and under Windows, "Start --> Shutdown" powers off the computer. Is there any configuration file I have to change?
Thank you in advance.
FreeBSD question
Re:FreeBSD question
If I remember correctly, "shutdown -p now" should indeed power off the computer. I have relatively oldish PC on which that works. As far as I know, all you should need is either ACPI support in your kernel, or have acpi.ko loaded at boot (which is done by default in recent versions). Of course, it could be that FreeBSD's ACPI support simply doesn't support your hardware, especially if it's weird, like on a laptop.
Re:FreeBSD question
Hello,
The PC on which I use FreeBSD is quite old too. It has a Celeron 333Mhz, a desktop machine that was quite common many years ago. I think FreeBSD works quite well with it, since it recognized all the hardware and I did not even have any hardware conflict (IRQs, ports, ...) when installing it.
Anyway, I now have both shutdown and halt working.
Before I got it to work, I looked for the kernel module you told me about (acpi.ko) and saw it was loaded successfully, but then FreeBSD tells me the ACPI is disabled because my BIOS is on the black list.
I went to see the man pages for ACPI and saw that some BIOS have no ACPI support and these are blacklisted. But in my BIOS settings, there is an ACPI option that works fine. I also read I could enable it in FreeBSD for debug purposes via /boot/device.hints.
I added 'hint.acpi.0.disabled="0"' and after a reboot I could see on FreeBSD's boot messages, new lines about different ACPI options (ACPI timers, CPU throttling, PCI bridges, power button, ...).
When I installed FreeBSD, I had the ACPI option disabled in my BIOS. I guess sysinstall thought it had no ACPI support, so it did not write the appropriate line in the device.hints file and later considered my BIOS as one of the black list.
The PC on which I use FreeBSD is quite old too. It has a Celeron 333Mhz, a desktop machine that was quite common many years ago. I think FreeBSD works quite well with it, since it recognized all the hardware and I did not even have any hardware conflict (IRQs, ports, ...) when installing it.
Anyway, I now have both shutdown and halt working.
Before I got it to work, I looked for the kernel module you told me about (acpi.ko) and saw it was loaded successfully, but then FreeBSD tells me the ACPI is disabled because my BIOS is on the black list.
I went to see the man pages for ACPI and saw that some BIOS have no ACPI support and these are blacklisted. But in my BIOS settings, there is an ACPI option that works fine. I also read I could enable it in FreeBSD for debug purposes via /boot/device.hints.
I added 'hint.acpi.0.disabled="0"' and after a reboot I could see on FreeBSD's boot messages, new lines about different ACPI options (ACPI timers, CPU throttling, PCI bridges, power button, ...).
When I installed FreeBSD, I had the ACPI option disabled in my BIOS. I guess sysinstall thought it had no ACPI support, so it did not write the appropriate line in the device.hints file and later considered my BIOS as one of the black list.