From: Sergio Monteiro Basto <sergio@sergiomb.no-ip.org>
To: len@vger.kernel.org
Cc: acpi devel <linux-acpi@vger.kernel.org>
Subject: [PATCH] fix backlight in compaq nx6110
Date: Fri, 08 Feb 2008 06:22:07 +0000 [thread overview]
Message-ID: <1202451727.2792.32.camel@localhost.localdomain> (raw)
[-- 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 --]
reply other threads:[~2008-02-08 6:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1202451727.2792.32.camel@localhost.localdomain \
--to=sergio@sergiomb.no-ip.org \
--cc=len@vger.kernel.org \
--cc=linux-acpi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox