linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Hung <alex.hung@canonical.com>
To: alex.hung@canonical.com, rui.zhang@intel.com, lenb@kernel.org,
	rjw@sisk.pl, linux-acpi@vger.kernel.org
Subject: [PATCH] ACPI video: ignore BIOS initial backlight value for HP 1000
Date: Mon,  6 May 2013 16:23:43 +0800	[thread overview]
Message-ID: <1367828623-22998-1-git-send-email-alex.hung@canonical.com> (raw)

On HP 1000 lapops, BIOS reports minimum backlight on boot and
causes backlight to dim completely. This ignores the initial backlight
values and set to max brightness.

Buglink: https://bugs.launchpad.net/bugs/1167760

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 drivers/acpi/video.c |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index c3932d0..5b32e15 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -456,6 +456,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"),
 		},
 	},
+	{
+	 .callback = video_ignore_initial_backlight,
+	 .ident = "HP 1000 Notebook PC",
+	 .matches = {
+		DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"),
+		},
+	},
 	{}
 };
 
-- 
1.7.9.5


             reply	other threads:[~2013-05-06  8:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-06  8:23 Alex Hung [this message]
2013-05-07 23:59 ` [PATCH] ACPI video: ignore BIOS initial backlight value for HP 1000 Rafael J. Wysocki
2013-11-12  2:03 ` Aaron Lu
2013-11-12 17:04   ` Alex Hung
2013-11-13  2:07     ` More initial black screen system for removal from DMI table Aaron Lu
2013-11-14 11:50       ` Gustavo Maciel Dias Vieira
2013-11-15  0:42         ` Aaron Lu
2013-11-15  1:17           ` Gustavo Maciel Dias Vieira
2013-11-15  1:31             ` Aaron Lu
2013-11-15  1:33               ` Gustavo Maciel Dias Vieira
2013-11-15  3:24                 ` [PATCH] ACPI / video: clean up DMI table for initial black screen problem Aaron Lu
2013-11-15  6:39                   ` [PATCH v2] " Aaron Lu
2013-11-16  1:28                     ` Rafael J. Wysocki

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=1367828623-22998-1-git-send-email-alex.hung@canonical.com \
    --to=alex.hung@canonical.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=rui.zhang@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).