[PATCH] fix backlight in compaq nx6110

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--- 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: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux