ACPI/PCI-bus issue with compaq evo n160

Mauritz Sundell mauritz.sundell at home.se
Thu Dec 18 06:09:46 PST 2003


On Wed, 17 Dec 2003, John Baldwin wrote:

>
> On 17-Dec-2003 Fredrik Lindberg wrote:
> > The solution suggested by Mauritz worked, the ACPI stuff works now.
> > This is what I have in my loader.conf
> >
> > debug.acpi.disable="lid pci_link"
> > hw.pci.allow_unsupported_io_range="1"
> > hw.cbb.start_memory="536870912"
>
> What if you remove the debug.acpi.disable line?
>
> Btw, you can disable the lid suspending stuff by using
>
> sysctl hw.acpi.lid_switch_state=NONE
>
> without having to disable the lid in debug.acpi.disable.
>
It is to late to disable the lid after init have started.
If I close the lid during the kernel boot it goes to an
hanging sleep.

The reason I may close the lid during boot is that when I
am at work I usally plug in my personal Compaq Evo to the
ethernet, starting it and closes the lid.

But nowadays when I most of the time use the suspend to disk
feature this is not an issue. But sometimes I want to do
an reboot and close the lid.

I have tried to set
hw.acpi.lid_switch_state="S0"
in device.hints and loader.conf but it does not work
(not with ="NONE" either)

> >> Also for I have
> >> hw.cbb.start_memory="0xd0208000"
> >> since pci/pcib allocates the memory assigned to fxp0 by BIOS to pccard otherwise.
>
> This sounds like the root problem of the interrupt storm.
>
> >> Now I always use acpiconf -s S4 to suspend and save to disk instead of turning the power off,
> >> wonderful.
>
> Wish S4 worked on my laptops. :-P
> My old one works with both S1 and S3, but my new one doesn't support
> S1 and never comes back after an S3 suspend.
>
> --
>
> John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
> _______________________________________________
> freebsd-mobile at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe at freebsd.org"
>
>


--
Mauritz Sundell




More information about the freebsd-mobile mailing list