Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Nobody <me@...>
Cc: <linux-acpi@...>, Len Brown <lenb@...>, LKML <linux-kernel@...>, Pavel Machek <pavel@...>
Date: Sunday, April 6, 2008 - 4:21 pm

On Sunday, 6 of April 2008, Nick Nobody wrote:

Hi,


Can you try to run "echo mem > /sys/power/state" instead of s2ram and see
if the symptoms are the same?

Also, please try reverting commit 7c0ea45be4f114d85ee35caeead8e1660699c46f
(reproduced below for conveninence) and see if that helps.

Thanks,
Rafael

---
commit 7c0ea45be4f114d85ee35caeead8e1660699c46f
Author: Zhao Yakui <yakui.zhao@intel.com>
Date:   Tue Mar 11 16:56:47 2008 +0800

    ACPI: Ignore _BQC object when registering backlight device
    
    According to acpi spec , the objects of  _BCL and _BCM are required if
    integrated LCD is present and supports brightness level .The _BQC is
    the optional object. So the _BQC object is ignored when the backlight device
    is registered in ACPI video driver.
    
    http://bugzilla.kernel.org/show_bug.cgi?id=10206
    
    Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
    Signed-off-by: Zhang Rui  <rui.zhang@intel.com>
    Signed-off-by: Len Brown <len.brown@intel.com>

diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 12cce69..ace958c 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -713,7 +713,7 @@ static void acpi_video_device_find_cap(struct acpi_video_device *device)
 
 	kfree(obj);
 
-	if (device->cap._BCL && device->cap._BCM && device->cap._BQC && max_level > 0){
+	if (device->cap._BCL && device->cap._BCM && max_level > 0) {
 		int result;
 		static int count = 0;
 		char *name;
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8, Rafael J. Wysocki, (Sun Apr 6, 4:21 pm)
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8, Rafael J. Wysocki, (Sun Apr 6, 7:23 pm)
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8, Rafael J. Wysocki, (Mon Apr 7, 4:58 am)
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8, nikosapi, (Mon Apr 7, 10:08 am)
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8, Rafael J. Wysocki, (Mon Apr 7, 1:34 pm)
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8, Rafael J. Wysocki, (Mon Apr 7, 7:12 pm)
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8, Rafael J. Wysocki, (Mon Apr 7, 4:44 am)
Re: Suspend on Lenovo 3000 V200 - Linux 2.6.25rc8, nikosapi, (Mon Apr 7, 10:13 am)