lkml.org 
[lkml]   [2013]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 31/93] ACPI video: ignore BIOS backlight value for HP dm4
    Date
    3.5.7.15 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Gustavo Maciel Dias Vieira <gustavo@sagui.org>

    commit 771d09b3c4c45d4d534a83a68e6331b97fd82e15 upstream.

    On a HP Pavilion dm4 laptop the BIOS sets minimum backlight on boot,
    completely dimming the screen. Ignore this initial value for this
    machine.

    Signed-off-by: Gustavo Maciel Dias Vieira <gustavo@sagui.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Cc: Alex Hung <alex.hung@canonical.com>
    Signed-off-by: Luis Henriques <luis.henriques@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 3837739..f3b3027 100644
    --- a/drivers/acpi/video.c
    +++ b/drivers/acpi/video.c
    @@ -447,6 +447,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
    DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13 - 2000 Notebook PC"),
    },
    },
    + {
    + .callback = video_ignore_initial_backlight,
    + .ident = "HP Pavilion dm4",
    + .matches = {
    + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
    + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"),
    + },
    + },
    {}
    };

    --
    1.8.1.2


    \
     
     \ /
      Last update: 2013-06-18 14:42    [W:4.133 / U:0.136 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site