Re: [PATCH] Recent Lenovo ThinkPads define a dummy grahpics device, find it and ignore it

2007-12-07 Thread Thomas Renninger
On Fri, 2007-12-07 at 13:55 +0100, Thomas Renninger wrote: > Hi Matthew, > > I posted this one already and you had some concerns about it: > http://www.mail-archive.com/linux-acpi@vger.kernel.org/msg09510.html > > IMO, this one should still be added to -mm, because: > - The patch itself is corr

[PATCH 0/3] ACPI autoloading of linux specific HIDs

2007-12-07 Thread Thomas Renninger
These are fixes which are in OpenSUSE 10.3 for some time already. I split patch 1 and 2, which was one originally and fixed a minor bug there: Fix autloading of dock, video, bay and all linux specific HID drivers -> If a video/bay/dock/... device has no HID, do not add the Linux specific HID to the

[PATCH] Recent Lenovo ThinkPads define a dummy grahpics device, find it and ignore it

2007-12-07 Thread Thomas Renninger
Hi Matthew, I posted this one already and you had some concerns about it: http://www.mail-archive.com/linux-acpi@vger.kernel.org/msg09510.html IMO, this one should still be added to -mm, because: - The patch itself is correct, it is the function that is called that must make sure to return

[PATCH 1/3] Fix autloading of dock, video, bay and all linux specific HID drivers

2007-12-07 Thread Thomas Renninger
From: Frank Seidel <[EMAIL PROTECTED]> Fix autloading of dock, video, bay and all linux specific HID drivers References: https://bugzilla.novell.com/show_bug.cgi?id=302482 Due to the new autloading of acpi drivers, the dock driver wasn't loaded anymore as there is no HID to identify it with (doc

Re: [RFC] EC registers - Adding sysfs interface?

2007-12-07 Thread Thomas Renninger
On Thu, 2007-12-06 at 21:52 -0500, Len Brown wrote: > On Wednesday 28 November 2007 11:28, Thomas Renninger wrote: > > On Tue, 2007-11-13 at 19:03 +, Carlos Corbacho wrote: > > > Alexey, > > > > > > > How about character /dev/ec0? > > > > > > Yes, that would be fine. > > > > > > On Tuesday 1

dmidecode output, as requested

2007-12-07 Thread Henk Koster
Please find attached the output of dmidecode after disabling _OSI(Linux), as per your request. -- Henk Koster "Behavioral axioms are right, but agents make mistakes." Attributed to L.J. Savage # dmidecode 2.9 SMBIOS 2.4 present. 37 structures occupying 1472 bytes. Table at 0x000E7440. Handle 0

Re: [PATCH 0/3] ACPI autoloading of linux specific HIDs

2007-12-07 Thread Len Brown
Thomas, Thank you for feeding the SuSE patches back to upstream. These are now queued on the ACPI test branch for 2.6.25. -Len On Friday 07 December 2007 07:20, Thomas Renninger wrote: > These are fixes which are in OpenSUSE 10.3 for some time already. > I split patch 1 and 2, which was one orig

Re: BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0]

2007-12-07 Thread Rafael J. Wysocki
On Saturday, 8 of December 2007, Andrew Morton wrote: > On Fri, 7 Dec 2007 17:53:47 -0500 > "Parag Warudkar" <[EMAIL PROTECTED]> wrote: > > > Got this on today's git (2.6.24-rc4) while compiling stuff - Looks > > like it is related to CpuIdle stuff. > > I chose CONFIG_CPU_IDLE for the first time

[RFC, PATCH 4/4] ACPI: WMI: Limit size of device string to 19 characters

2007-12-07 Thread Carlos Corbacho
Until Kay Sievers bus_id variable length code goes in, this is a temporary workaround. --- drivers/acpi/wmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/wmi.c b/drivers/acpi/wmi.c index 7662ca5..3467b34 100644 --- a/drivers/acpi/wmi.c +++ b/drivers/acpi/

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

2007-12-07 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 1/4] ACPI: WMI: Add ACPI-WMI mapping driver

2007-12-07 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 9/9] Suspend: Clean up Kconfig (V2)

2007-12-07 Thread Rafael J. Wysocki
From: Johannes Berg <[EMAIL PROTECTED]> This cleans up the suspend Kconfig and removes the need to declare centrally which architectures support suspend. All architectures that currently support suspend are modified accordingly. Signed-off-by: Johannes Berg <[EMAIL PROTECTED]> Acked-by: Russell K

[PATCH 8/9] Hibernation: Clean up Kconfig (V2)

2007-12-07 Thread Rafael J. Wysocki
From: Johannes Berg <[EMAIL PROTECTED]> This cleans up the hibernation Kconfig and removes the need to declare centrally which architectures support hibernation. All architectures that currently support hibernation are modified accordingly. Signed-off-by: Johannes Berg <[EMAIL PROTECTED]> Acked-b

[PATCH 4/9] Hibernation: Fix comment in disk.c

2007-12-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Fix a comment in kernel/power/disk.c so that it doesn't contain lines longer that 80 characters. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- kernel/power/disk.c |4 ++-- 1 file changed, 2 inse

[PATCH 2/9] Hibernation: Move low level resume to disk.c

2007-12-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Move the low level restore code to kernel/power/disk.c , since the corresponding low level hibernation code is already there. Make restore fail if device_power_down(PMSG_PRETHAW) returns an error. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Ac

[PATCH 3/9] Suspend: Fix comment in main.c

2007-12-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Fix a comment in kernel/power/main.c so that it doesn't contain lines longer that 80 characters. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- kernel/power/main.c |4 ++-- 1 file changed, 2 inse

[PATCH 0/9] More suspend patches for 2.6.25 (cleanups mostly)

2007-12-07 Thread Rafael J. Wysocki
Hi Len, The following series of patches contains some suspend and hibernation code cleanups and Kconfig cleanups. Please add them to the suspend branch. Thanks, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth - To unsubscribe from this list: send the line "unsubscr

dmidecode of Acer 5050 Aspire 5053NWXMi

2007-12-07 Thread Thomas Ramapuram
# dmidecode 2.7 SMBIOS 2.4 present. 35 structures occupying 1106 bytes. Table at 0x000F1790. Handle 0x, DMI type 0, 24 bytes. BIOS Information Vendor: Acer Version: v1.3309 Release Date: 04/17/07 Address: 0xE5230 Runtime Size: 110032 bytes ROM

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

2007-12-07 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 (2007-11-0

[PATCH 0/4] WMI & acer_wmi

2007-12-07 Thread Carlos Corbacho
Patch 1: Add ACPI-WMI mapping driver Len - unless there are any objections, I would like this patch applied. --- Patch 2: Add driver for newer Acer laptops (acer-wmi) Matthew - I've added both GUID based matching (long term plan - see notes for patch 3 & 4) and WMI based matching (short term -

[PATCH 6/9] Suspend: Use common prefix in messages

2007-12-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make suspend messages start with one common prefix "PM: ". Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- kernel/power/main.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: li

RE: + restore-missing-sysfs-max_cstate-attr.patch added to -mm tree

2007-12-07 Thread Pallipadi, Venkatesh
>-Original Message- >From: Pavel Machek [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 05, 2007 3:17 AM >To: Pallipadi, Venkatesh >Cc: Andrew Morton; [EMAIL PROTECTED]; [EMAIL PROTECTED]; >[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; >[EMAIL PROTECTED]; linux-acpi@vg

Re: + restore-missing-sysfs-max_cstate-attr.patch added to -mm tree

2007-12-07 Thread Pavel Machek
Hi! > >It is not known whether Mark is actually writing to this > >thing. Perhaps > >read-only permissions would be a suitable fix? > > > > Exporting it as read only should be OK. We also need to know if there > are hard user space dependency on writing to this from userspace. Some people are

[PATCH 5/9] Hibernation: Remove unnecessary variable declaration

2007-12-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Remove the unnecessary extern declaration of resume_file[] from kernel/power/swap.c . Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- kernel/power/swap.c |2 -- 1 file changed, 2 deletions(-) Ind

[PATCH 7/9] Hibernation: Update messages

2007-12-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make hibernation messages start with one common prefix "PM: " and use the word "hibernation" in the messages as a synonym of "suspend to disk". Turn some KERN_INFO messages into debug ones. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by:

Re: [PATCH] Recent Lenovo ThinkPads define a dummy grahpics device, find it and ignore it

2007-12-07 Thread Matthew Garrett
On Fri, Dec 07, 2007 at 01:55:13PM +0100, Thomas Renninger wrote: > Hi Matthew, > > I posted this one already and you had some concerns about it: > http://www.mail-archive.com/linux-acpi@vger.kernel.org/msg09510.html > > IMO, this one should still be added to -mm, because: > - The patch itself

[PATCH 2/3] Add autoload info to dock driver

2007-12-07 Thread Thomas Renninger
From: Frank Seidel <[EMAIL PROTECTED]> Add autoload info to dock driver References: https://bugzilla.novell.com/show_bug.cgi?id=302482 Signed-off-by: Thomas Renninger <[EMAIL PROTECTED]> Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Frank Seidel <[EMAIL PROTECTED]> --- drivers/

[PATCH 1/9] Suspend: Fix compilation warning for CONFIG_SUSPEND unset

2007-12-07 Thread Rafael J. Wysocki
Suspend: Make debug facility depend on CONFIG_SUSPEND Make the new suspend debug facility code depend on CONFIG_SUSPEND, as appropriate, to remove the compiler warning printed when CONFIG_PM is set and CONFIG_SUSPEND is not set. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel

[PATCH 3/3] Also autoload the bay driver, was forgotten

2007-12-07 Thread Thomas Renninger
Also autoload the bay driver, was forgotten... Signed-off-by: Thomas Renninger <[EMAIL PROTECTED]> --- drivers/acpi/bay.c |6 ++ 1 file changed, 6 insertions(+) Index: linux-2.6.22-SL103_BRANCH/drivers/acpi/bay.c === --- li

Re: BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0]

2007-12-07 Thread Andrew Morton
On Fri, 7 Dec 2007 17:53:47 -0500 "Parag Warudkar" <[EMAIL PROTECTED]> wrote: > Got this on today's git (2.6.24-rc4) while compiling stuff - Looks > like it is related to CpuIdle stuff. > I chose CONFIG_CPU_IDLE for the first time so I don't know when this > was introduced. > > This is on x86_32