Re: [PATCH] ACPI: Add sysfs interface for acpi device wakeup

2008-01-11 Thread Zhang Rui
On Thu, 2008-01-10 at 09:43 +0200, Maxim Levitsky wrote: On Thursday, 10 January 2008 00:21:46 Yi Yang wrote: Subject: ACPI: convert procfs to sysfs for /proc/acpi/wakeup From: Yi Yang [EMAIL PROTECTED] /proc/acpi/wakeup is deprecated but it has to exist because we haven't a sysfs

Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-11 Thread Rafael J. Wysocki
On Friday, 11 of January 2008, Shaohua Li wrote: On Fri, 2008-01-11 at 07:39 +0800, Rafael J. Wysocki wrote: On Monday, 7 of January 2008, Shaohua Li wrote: On Sat, 2008-01-05 at 04:44 +0800, Rafael J. Wysocki wrote: On Friday, 4 of January 2008, Shaohua Li wrote: On Fri,

[PATCH 1/8] increase PNP_MAX_PORT to 40 from 24

2008-01-11 Thread Len Brown
From: Len Brown [EMAIL PROTECTED] a7839e960675b549f06209d18283d5cee2ce9261 (PNP: increase the maximum number of resources) increased PNP_MAX_PORT to 24 from 8. It also added a test and a complaint when a machine exceeded the limit, causing: pnpacpi: exceeded the max number of IO resources: 24

[PATCH 2/8] ACPI: EC: Enable boot EC before bus_scan

2008-01-11 Thread Len Brown
From: Alexey Starikovskiy [EMAIL PROTECTED] Some _STA methods called during bus_scan() might require EC region handler, which might be enabled later in the scan. Enable it explicitly before scan to avoid errors. Reference: http://bugzilla.kernel.org/show_bug.cgi?id=9627 Signed-off-by: Alexey

[PATCH 3/8] ACPI: Make sysfs interface in ACPI power optional.

2008-01-11 Thread Len Brown
From: Alexey Starikovskiy [EMAIL PROTECTED] Reference: http://bugzilla.kernel.org/show_bug.cgi?id=9494 Signed-off-by: Alexey Starikovskiy [EMAIL PROTECTED] Signed-off-by: Len Brown [EMAIL PROTECTED] --- drivers/acpi/Kconfig |9 ++--- drivers/acpi/ac.c | 16 ++--

[PATCH 4/8] ACPI: Reintroduce run time configurable max_cstate for !CPU_IDLE case

2008-01-11 Thread Len Brown
From: Venki Pallipadi [EMAIL PROTECTED] This was writeable in 2.6.23 but the cpuidle merge made it read-only. But some people's scripts (ie: Mark's) were writing to it. As an unhappy compromise, make max_cstate writeable again if the kernel was configured without CONFIG_CPU_IDLE.

[PATCH 7/8] ACPI: apply quirk_ich6_lpc_acpi to more ICH8 and ICH9

2008-01-11 Thread Len Brown
From: Zhao Yakui [EMAIL PROTECTED] It is important that these resources be reserved to avoid conflicts with well known ACPI registers. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Len Brown [EMAIL PROTECTED] --- drivers/pci/quirks.c|6 ++ include/linux/pci_ids.h |2

[PATCH 8/8] PM: ACPI and APM must not be enabled at the same time

2008-01-11 Thread Len Brown
From: Len Brown [EMAIL PROTECTED] ACPI and APM used pm_active to guarantee that they would not be simultaneously active. But pm_active was recently moved under CONFIG_PM_LEGACY, so that without CONFIG_PM_LEGACY, pm_active became a NOP -- allowing ACPI and APM to both be simultaneously enabled.

Re: [Bugme-new] [Bug 9731] New: 2.6.24-rc7: Deadlock when any ACPI eject sys node written

2008-01-11 Thread Andrew Morton
On Fri, 11 Jan 2008 09:38:25 -0800 (PST) [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=9731 Summary: 2.6.24-rc7: Deadlock when any ACPI eject sys node written Product: ACPI Version: 2.5 KernelVersion:

Re: [Bugme-new] [Bug 9721] New: wake on lan fails with sky2 module

2008-01-11 Thread Rafael J. Wysocki
http://bugzilla.kernel.org/show_bug.cgi?id=9721 On Friday, 11 of January 2008, supersud501 wrote: Stephen Hemminger wrote: On Wed, 9 Jan 2008 16:03:00 -0800 Andrew Morton [EMAIL PROTECTED] wrote: (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web

Re: [Bugme-new] [Bug 9721] New: wake on lan fails with sky2 module

2008-01-11 Thread supersud501
Stephen Hemminger wrote: On Wed, 9 Jan 2008 16:03:00 -0800 Andrew Morton [EMAIL PROTECTED] wrote: (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 9 Jan 2008 13:05:34 -0800 (PST) [EMAIL PROTECTED] wrote:

Re: [Bugme-new] [Bug 9721] New: wake on lan fails with sky2 module

2008-01-11 Thread supersud501
Rafael J. Wysocki wrote: http://bugzilla.kernel.org/show_bug.cgi?id=9721 On Friday, 11 of January 2008, supersud501 wrote: Stephen Hemminger wrote: On Wed, 9 Jan 2008 16:03:00 -0800 Andrew Morton [EMAIL PROTECTED] wrote: (switched to email. Please respond via emailed reply-to-all, not

Re: [Bugme-new] [Bug 9721] New: wake on lan fails with sky2 module

2008-01-11 Thread Rafael J. Wysocki
On Friday, 11 of January 2008, supersud501 wrote: Rafael J. Wysocki wrote: http://bugzilla.kernel.org/show_bug.cgi?id=9721 allright, didn't see that before, sorry, here are the results: kernel 2.6.23.12 acpi=off: when shutting down the system doesn't poweroff (of course), but pressing

[GIT PATCH] ACPI patches for 2.6.24-rc7

2008-01-11 Thread Len Brown
Hi Linus, before 2.6.24-final, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release These are all regression fixes. A couple will apply to 2.6.23.stable too. thanks! -Len ps. individual patches are available on linux-acpi@vger.kernel.org and a

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-11 Thread Andrew Morton
On Fri, 11 Jan 2008 16:46:13 -0800 Andrew Morton [EMAIL PROTECTED] wrote: The first patch in the series introduces such a mechanism. The remaining three patches modify the MSR, x86-64 MCE and cpuid drivers in accordance with the above approach. These patches are a preresuisite to

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-11 Thread Greg KH
On Fri, Jan 11, 2008 at 04:49:04PM -0800, Andrew Morton wrote: On Fri, 11 Jan 2008 16:46:13 -0800 Andrew Morton [EMAIL PROTECTED] wrote: The first patch in the series introduces such a mechanism. The remaining three patches modify the MSR, x86-64 MCE and cpuid drivers in accordance

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-11 Thread Andrew Morton
On Wed, 2 Jan 2008 00:32:44 +0100 Rafael J. Wysocki [EMAIL PROTECTED] wrote: Some device drivers register CPU hotplug notifiers and use them to destroy device objects when removing the corresponding CPUs and to create these objects when adding the CPUs back. Unfortunately, this is not the

[PATCH 1/5] ACPI: WMI: Add ACPI-WMI mapping driver

2008-01-11 Thread Carlos Corbacho
The following is an implementation of the Windows Management Instrumentation (WMI) ACPI interface mapper (PNP0C14). What it does: Parses the _WDG method and exports functions to process WMI method calls, data block query/ set commands (both based on GUID) and does basic event handling. How: WMI

[PATCH 2/5] acer-wmi: Add driver for newer Acer laptops

2008-01-11 Thread Carlos Corbacho
This is a driver for newer Acer (and Wistron) laptops. It adds wireless radio and bluetooth control, and on some laptops, exposes the mail LED and LCD backlight. v1: * Initial release v2: * Replace left over ACPI references with WMI * Add GUID based autoloading (depends on future work to WMI)

[PATCH 5/5] [WIP] ACPI: WMI: Limit size of device string to 19 characters

2008-01-11 Thread Carlos Corbacho
Until Kay Sievers bus_id variable length code goes in, this is a temporary workaround. NOT-Signed-Off-By: Carlos Corbacho [EMAIL PROTECTED] CC: Len Brown [EMAIL PROTECTED] CC: Matthew Garrett [EMAIL PROTECTED] --- drivers/acpi/wmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[PATCH 4/5] [RFC] ACPI: WMI: Add sysfs userspace interface

2008-01-11 Thread Carlos Corbacho
Create a 'wmi' class, and populate it with a virtual device for each GUID. This also allows us to autoload WMI drivers based on GUID via MODULE_ALIAS. Under each GUID are a set of files that can be read and written to from userspace (these will be fully documented in a later patch). v1

Lenovo ThinkPads need acpi_osi=Linux

2008-01-11 Thread Henrique de Moraes Holschuh
While helping a user find out what happened to his mute key, I found out that the Lenovo BIOSes need the OSI string Linux defined to behave properly in Linux. Lenovo has been attempting to make things a bit easier for Linux on their ThinkPads, by disabling the more obnoxious behaviours of the

[PATCH 0/5] WMI

2008-01-11 Thread Carlos Corbacho
ANYWR - A New Year WMI release Len, Can you please review at least the first two patches in this series, as I would really like to try and get them into 2.6.25. -Carlos === Patch #1: (WMI - driver and in kernel interface) - No change Len: For you to review, and to go upstream. Patch

[PATCH 3/5] [RFC] tc1100-wmi: Add driver for HP Compaq TC1100 Tablets

2008-01-11 Thread Carlos Corbacho
This is based on the 2004 out-of-tree work of Jamey Hicks, to add support via WMI for controlling the jog dial and wireless on these tablets. v1: Original release v2: As per Joshua Wise's comments, change bluetooth to jogdial (an error from the original driver). Signed-off-by: Carlos Corbacho

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-11 Thread Andi Kleen
The real problem is that our current email workflow patterns don't provide a standardized way for maintainers to tell when a new patch submission is meant to override or replace an earlier submission (or even a set of earlier submissions). Does anybody have some suggestions for a good

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-11 Thread Andrew Morton
On Fri, 11 Jan 2008 22:11:52 -0500 (EST) Alan Stern [EMAIL PROTECTED] wrote: On Fri, 11 Jan 2008, Greg KH wrote: On Fri, Jan 11, 2008 at 04:49:04PM -0800, Andrew Morton wrote: err, no. pm-introduce-destroy_suspended_device.patch demolishes

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-11 Thread Greg KH
On Fri, Jan 11, 2008 at 10:11:52PM -0500, Alan Stern wrote: On Fri, 11 Jan 2008, Greg KH wrote: On Fri, Jan 11, 2008 at 04:49:04PM -0800, Andrew Morton wrote: err, no. pm-introduce-destroy_suspended_device.patch demolishes pm-acquire-device-locks-on-suspend-rev-3.patch

Re: [PATCH] ACPI: Fix acpi_pm_device_sleep_state()

2008-01-11 Thread Len Brown
On Thursday 10 January 2008 18:10, Rafael J. Wysocki wrote: From: Rafael J. Wysocki [EMAIL PROTECTED] Fix acpi_pm_device_sleep_state() to return the value returned by _SxD if the device is supposed to wake up the system from given sleep state and the evaluation of _SxW fails (e.g. _SxW is