public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix backlight in compaq nx6110
@ 2008-02-08  6:22 Sergio Monteiro Basto
  0 siblings, 0 replies; only message in thread
From: Sergio Monteiro Basto @ 2008-02-08  6:22 UTC (permalink / raw)
  To: len; +Cc: acpi devel


[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]

Hi Len,

I thought, tell you my last bisect kernel, for find the bug
http://bugzilla.kernel.org/show_bug.cgi?id=9642

The patch in attach, the reverts (I don't create it, by myself) of 
a patch of the snapshot patch-2.6.23-rc7-git4. 

Applied on kernel-2.6.23.14 fix completely, my lid button event, switch
VGA event and set and unset backlight. 
I had done hibernation successfully, S3 suspend to ram feature has
worked but I need to switch to console and back to get X screen, but
this I think that is Xorg related and can be fix there.

So, I hope this patch can be accepted ...
Note, I just keep the printk because was the exactly patch that I test
it, by me can be removed. 
Thanks,
-- 
Sérgio M. B.

[-- Attachment #1.2: bitsecv3.patch --]
[-- Type: text/x-patch, Size: 688 bytes --]

--- a/drivers/acpi/video.c	2008-02-08 00:08:36.000000000 +0000
+++ b/drivers/acpi/video.c	2008-02-07 22:32:37.000000000 +0000
@@ -417,6 +417,7 @@ acpi_video_device_lcd_set_level(struct a
 	arg0.integer.value = level;
 	status = acpi_evaluate_object(device->dev->handle, "_BCM", &args, NULL);
 
+	printk(KERN_DEBUG "set_level status: %x\n", status);
 	return status;
 }
 
@@ -1764,7 +1765,7 @@ static int acpi_video_bus_put_devices(st
 
 static int acpi_video_bus_start_devices(struct acpi_video_bus *video)
 {
-	return acpi_video_bus_DOS(video, 0, 0);
+	return acpi_video_bus_DOS(video, 1, 0);
 }
 
 static int acpi_video_bus_stop_devices(struct acpi_video_bus *video)

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2192 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-08  6:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08  6:22 [PATCH] fix backlight in compaq nx6110 Sergio Monteiro Basto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox