Re: [2.6.22-rc1-mm1] vaio laptop (SZ72B) immediately resumes after STR

2007-05-19 Thread Andrew Morton
On Sat, 19 May 2007 15:48:29 +0900 Mattia Dongili <[EMAIL PROTECTED]> wrote: > On Fri, May 18, 2007 at 12:22:40AM -0700, Andrew Morton wrote: > > On Fri, 18 May 2007 16:15:24 +0900 Mattia Dongili <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > > > > After finally catching fw-{ohci,core} to be

[RFC][PATCH 4/4] swsusp: Fix hibernation code ordering (updated)

2007-05-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Change the code ordering so that hibernation_ops->prepare() is called after device_suspend(). This is needed so that we don't violate the ACPI specification, which states that the _PTS and _GTS system-control methods, executed from acpi_sleep_prepare(),

[patch] Dell Optiplex GX240, ACPI and APIC

2007-05-19 Thread Tear
Hello, This patch removes Dell Optiplex GX240 from the ACPI blacklist. Please see the following for more information: http://marc.info/?l=linux-kernel&m=117897875024464&w=2 Regards, - Tear --- linux-2.6.21.1.orig/arch/i386/kernel/acpi/boot.c2007-05-01 17:10:30.0 +0300 +++ linux-2.

[RFC][PATCH] Hibernation: Prepare to enter the low power state

2007-05-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> During hibernation we call hibernation_ops->prepare() before creating the image, but then we cancel the power transition by calling hibernation_ops->finish() before saving it. Thus prior to calling hibernation_ops->enter() we should let the platform fir

2.6.22-rc1 regression: tifm prevents suspending [was: Re: [2.6.22-rc1-mm1] vaio laptop (SZ72B) immediately resumes after STR]

2007-05-19 Thread Mattia Dongili
On Sat, May 19, 2007 at 12:04:13AM -0700, Andrew Morton wrote: > On Sat, 19 May 2007 15:48:29 +0900 Mattia Dongili <[EMAIL PROTECTED]> wrote: > > > On Fri, May 18, 2007 at 12:22:40AM -0700, Andrew Morton wrote: > > > On Fri, 18 May 2007 16:15:24 +0900 Mattia Dongili <[EMAIL PROTECTED]> > > > wrot

Touchpad and i8042

2007-05-19 Thread Mircea Bardac
Hi all, I've noticed a weird behaviour when monitoring roughly the number of interrupts fired. The number of interrupts for "i8042" increase dramatically when I move the pointer using the touchpad. I've only used "watch cat /proc/interrupts". dramatically = ~800 interrupts for only moving the

Re: Touchpad and i8042

2007-05-19 Thread Matthew Garrett
On Sat, May 19, 2007 at 06:28:08PM +0300, Mircea Bardac wrote: > I've noticed a weird behaviour when monitoring roughly the number of > interrupts fired. The number of interrupts for "i8042" increase dramatically > when I move the pointer using the touchpad. The touchpad is attached to an i8042

Re: 2.6.22-rc1 regression: tifm prevents suspending [was: Re: [2.6.22-rc1-mm1] vaio laptop (SZ72B) immediately resumes after STR]

2007-05-19 Thread Mattia Dongili
On Sun, May 20, 2007 at 12:11:10AM +0900, Mattia Dongili wrote: ... > I'm now seeing if avoiding the tifm stuff in -mm1 fixes the > immediately-resumes-after-str problem (unfortunately the commint doesn't > revert cleanly). as (almost) expected it is not related... tomorrow is another bisecting da

2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Matt Mackall
Starting with 2.6.21-mm2, I'm seeing occassional failures to resume from suspend-to-ram on my Thinkpad R51. The screen will flash as it usually does, then go black and the machine will become totally unresponsive, even to holding down the power button for 30+ seconds. But the hard drive light will

Re: 2.6.22-rc1 regression: tifm prevents suspending [was: Re: [2.6.22-rc1-mm1] vaio laptop (SZ72B) immediately resumes after STR]

2007-05-19 Thread Michal Piotrowski
Hi, On 19/05/07, Mattia Dongili <[EMAIL PROTECTED]> wrote: On Sat, May 19, 2007 at 12:04:13AM -0700, Andrew Morton wrote: > On Sat, 19 May 2007 15:48:29 +0900 Mattia Dongili <[EMAIL PROTECTED]> wrote: > > > On Fri, May 18, 2007 at 12:22:40AM -0700, Andrew Morton wrote: > > > On Fri, 18 May 2007

Re: 2.6.19: ACPI reports AC not present after resume from STD

2007-05-19 Thread Andrey Borzenkov
On Tuesday 06 March 2007, Rafael J. Wysocki wrote: > [changed Cc list] > > On Sunday, 25 February 2007 18:14, Andrey Borzenkov wrote: > > On Воскресенье 25 февраля 2007, Rafael J. Wysocki wrote: > > > On Sunday, 25 February 2007 11:37, Andrey Borzenkov wrote: > > > > On Воскресенье 25 февраля 2007,

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Rafael J. Wysocki
Hi, On Saturday, 19 May 2007 18:57, Matt Mackall wrote: > Starting with 2.6.21-mm2, I'm seeing occassional failures to resume > from suspend-to-ram on my Thinkpad R51. The screen will flash as it > usually does, then go black and the machine will become totally > unresponsive, even to holding down

Re: 2.6.22-rc1 regression: tifm prevents suspending [was: Re: [2.6.22-rc1-mm1] vaio laptop (SZ72B) immediately resumes after STR]

2007-05-19 Thread Rafael J. Wysocki
On Saturday, 19 May 2007 19:17, Michal Piotrowski wrote: > Hi, > > On 19/05/07, Mattia Dongili <[EMAIL PROTECTED]> wrote: > > On Sat, May 19, 2007 at 12:04:13AM -0700, Andrew Morton wrote: > > > On Sat, 19 May 2007 15:48:29 +0900 Mattia Dongili <[EMAIL PROTECTED]> > > > wrote: > > > > > > > On Fr

[RFC][PATCH] Hibernation: Prepare to enter the low power state (updated)

2007-05-19 Thread Rafael J. Wysocki
Sorry, the code ordering was wrong in the previous version. --- From: Rafael J. Wysocki <[EMAIL PROTECTED]> During hibernation we call hibernation_ops->prepare() before creating the image, but then, before saving it, we cancel the power transition by calling hibernation_ops->finish(). Thus prior

Re: [PATCH] Workaround for _PPC (BIOS cpufreq limitations)

2007-05-19 Thread Thomas Renninger
On Sat, 2007-05-19 at 00:55 -0400, Len Brown wrote: > On Friday 18 May 2007 22:59, Thomas Renninger wrote: > > Len, can you apply this one, pls. > > > > Workaround for _PPC (BIOS cpufreq limitations) > > > > There have been fixes using _PPC, which seem to unhide a problem > > on HP nx6125 (double

Re: 2.6.22-rc1-mm1 [cannot change thermal trip points]

2007-05-19 Thread Thomas Renninger
On Thu, 2007-05-17 at 15:17 -0400, Len Brown wrote: > On Thursday 17 May 2007 05:23, Pavel Machek wrote: > > > > ACPI: thermal trip points are read-only > > > > What was the rationale? Can we get this one reverted? > > > > Some machines (HP omnibook xe3) have broken trip points -- too high

Re: [BUG] acpi double resume and fail

2007-05-19 Thread Christian Leber
On Fri, May 18, 2007 at 03:45:07PM -0700, Andrew Morton wrote: > > I still can suspend, but after the first resume it goes back to sleep > > directly again, when resuming again it works. > > After the second suspend it won't resume at all. I should add, that it goes from the suspend state to "on"

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Henrique de Moraes Holschuh
On Sat, 19 May 2007, Matt Mackall wrote: > usually does, then go black and the machine will become totally > unresponsive, even to holding down the power button for 30+ seconds. Now, that means either the BIOS or EC have been thrown out of whack, otherwise one of the two would have force-powered-o

Re: 2.6.22-rc1 regression: tifm prevents suspending [was: Re: [2.6.22-rc1-mm1] vaio laptop (SZ72B) immediately resumes after STR]

2007-05-19 Thread Michal Piotrowski
On 19/05/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: On Saturday, 19 May 2007 19:17, Michal Piotrowski wrote: [..] > Subject: Broken suspend on SMP with tifm > References : http://lkml.org/lkml/2007/5/13/161 > Submitter : Rafael J. Wysocki <[EMAIL PROTECTED]> > Status : patch was

[1/5] 2.6.22-rc2: known regressions

2007-05-19 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.22-rc2. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions Unclassified Subject: 2.6.22-rc2 prepatch breaks compile on Dreamcast References : http://lkml.org/lkml/2007/5/19/75 Submitter : A

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Matt Mackall
On Sat, May 19, 2007 at 05:45:04PM -0300, Henrique de Moraes Holschuh wrote: > On Sat, 19 May 2007, Matt Mackall wrote: > > usually does, then go black and the machine will become totally > > unresponsive, even to holding down the power button for 30+ seconds. > > Now, that means either the BIOS o

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Matt Mackall
On Sat, May 19, 2007 at 08:24:16PM +0200, Rafael J. Wysocki wrote: > Hi, > > On Saturday, 19 May 2007 18:57, Matt Mackall wrote: > > Starting with 2.6.21-mm2, I'm seeing occassional failures to resume > > from suspend-to-ram on my Thinkpad R51. The screen will flash as it > > usually does, then go

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Rafael J. Wysocki
On Sunday, 20 May 2007 00:40, Matt Mackall wrote: > On Sat, May 19, 2007 at 08:24:16PM +0200, Rafael J. Wysocki wrote: > > Hi, > > > > On Saturday, 19 May 2007 18:57, Matt Mackall wrote: > > > Starting with 2.6.21-mm2, I'm seeing occassional failures to resume > > > from suspend-to-ram on my Think

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Henrique de Moraes Holschuh
On Sat, 19 May 2007, Matt Mackall wrote: > On Sat, May 19, 2007 at 05:45:04PM -0300, Henrique de Moraes Holschuh wrote: > > On Sat, 19 May 2007, Matt Mackall wrote: > > > usually does, then go black and the machine will become totally > > > unresponsive, even to holding down the power button for 30

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

2007-05-19 Thread Len Brown
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. This caused unpredictable results,

Re: [2.6.22-rc1-mm1] vaio laptop (SZ72B) immediately resumes after STR

2007-05-19 Thread Mattia Dongili
On Sat, May 19, 2007 at 12:04:13AM -0700, Andrew Morton wrote: > On Sat, 19 May 2007 15:48:29 +0900 Mattia Dongili <[EMAIL PROTECTED]> wrote: > > > On Fri, May 18, 2007 at 12:22:40AM -0700, Andrew Morton wrote: > > > On Fri, 18 May 2007 16:15:24 +0900 Mattia Dongili <[EMAIL PROTECTED]> > > > wrot

Re: [2.6.22-rc1-mm1] vaio laptop (SZ72B) immediately resumes after STR

2007-05-19 Thread Andrew Morton
On Sun, 20 May 2007 15:14:08 +0900 Mattia Dongili <[EMAIL PROTECTED]> wrote: > On Sat, May 19, 2007 at 12:04:13AM -0700, Andrew Morton wrote: > > On Sat, 19 May 2007 15:48:29 +0900 Mattia Dongili <[EMAIL PROTECTED]> wrote: > > > > > On Fri, May 18, 2007 at 12:22:40AM -0700, Andrew Morton wrote: >