[RFC] Notification on method execution

2007-09-15 Thread Matthew Garrett
For certain drivers (such as the Thinkpad ACPI driver[1]), it would be helpful to be able to get notifications when a method is executed. I'd propose adding a call like acpi_method_notify, extending the method field to contain an extra flag for notifications and a callback, having acpi_aml_exec

[PATCH -mm] Hibernation: Resume consoles if hibernation_platform_enter fails

2007-09-15 Thread Rafael J. Wysocki
[This is a fix on top of hibernation-enter-platform-hibernation-state-in-a-consistent-way-rev-4.patch] --- From: Rafael J. Wysocki <[EMAIL PROTECTED]> If hibernation_platform_enter() fails, consoles should be resumed so that diagnostic information related to the failure is available to the user.

[PATCH] libata: Integrate ACPI-based PATA/SATA hotplug - version 2

2007-09-15 Thread Matthew Garrett
Modern laptops with hotswap bays still tend to utilise a PATA interface on a SATA bridge, generally with the host controller in some legacy emulation mode rather than AHCI. This means that the existing hotplug code in libata is unable to work. The ACPI specification states that these devices ca

`cat /sys/device/platform/dock.0/uevent` oops

2007-09-15 Thread Luca Capello
Hello! this happens after a `cat /sys/devices/platform/dock.0/uevent` on two differently built Debian 2.6.23-rc5-amd64 and on a vanilla 2.6.23-rc5. My machine is an IBM/Lenovo ThinkPad X60 [1], BIOS 7BETD0WW (2.11), Debian sid up-to-date. The docking station is model 40Y8116 (FRU P/N 42W3070).

Re: boot hangs with SMP, USB storage, and ACPI

2007-09-15 Thread Eric Cooper
On Sat, Sep 15, 2007 at 02:52:08AM -0700, Andrew Morton wrote: > Could you both please test 2.6.22 (or 2.6.23, soon) and if the bug is still > present, raise a report against acpi at bugzilla.kernel.org? > > We'd be particularly internested in knowing if any earlier 2.6 kernel > worked OK and if s

ACPI dmidecode output requested in dmesg output

2007-09-15 Thread Graham Adams
Please find attached the output of dmidecode after booting with acpi_osi=!Linux as requested in dmesg output. The system seems to be working OK apart from problems with STAC9221 Line In (which has never worked under Linux). The system is a Dell Dimension 5150. Regards, Graham Adams # dmidec

Re: boot hangs with SMP, USB storage, and ACPI

2007-09-15 Thread Andrew Morton
(cc restored. Please always do reply-to-all) (linux-acpi cc added) On Wed, 12 Sep 2007 15:00:41 +0200 "tx tox" <[EMAIL PROTECTED]> wrote: > On 12 Lip 2006, 00:41, Eric Cooper <[EMAIL PROTECTED]> wrote: > > When I try toboota 2.6.17 kernel compiled forSMP(hyperthreading), > > it hangs early in