fix backlight in compaq nx6110
PATCH 1/1 fix backlight in compaq nx6110
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,
Signature · 1 line
Sérgio M. B.
drivers/acpi/video.c +2 -1
@@ -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(ststatic 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)