Current-Users archive

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

Re: ACPI on a sony c1xd?



Bernd Ernesti wrote:

how can I suspend a sony c1xd with an ACPI kernel?
There is no problem to do a supend to disk with a non ACPI kernel while pressing
the Fn-F12 key combination. But it does nothing with a ACPI kernel.

Please provide the output of 'sysctl hw.acpi.supported_states' to see if the machine supports S3 at all. The NetBSD kernel does not currently support S4.

And the system is very slow, which is easy to understand while looking
at the dmesg difference between a non-ACPI and an ACPI kernel:

-cpu0: Intel Mobile Pentium II (686-class), 397.02 MHz, id 0x66d
+cpu0: Intel Mobile Pentium II (686-class), 112.96 MHz, id 0x66d

Does the system support Speedstep?

And I get this warning while inserting the network card:

tlp0: WARNING: powerhook_establish is deprecated

tlp needs to be converted to PMF before the system will attempt to suspend.

Not to mention the other warnings:

WARNING: can't reserve area for I/O APIC.

This system is probably too old to have an I/O APIC, I wouldn't worry about it.

acpi_pci_link: WARNING: powerhook_establish is deprecated
acpi_pci_link: WARNING: powerhook_establish is deprecated
acpi_pci_link: WARNING: powerhook_establish is deprecated
acpi_pci_link: WARNING: powerhook_establish is deprecated

Again, these need to be converted to PMF. ioapic handles capturing and restoring IRQ routing on modern laptops, but we need to use acpi_pci_link on older ones. Our acpi_pci_link code doesn't attach as a device driver to the ACPI device nodes as it should, and PMF needs a device_t to be associated with a power handler.

You might want to capture/restore this state in acpi's PMF handler directly as a workaround.

Cheers,
Jared


Home | Main Index | Thread Index | Old Index