Re: [PATCH] ACPI video: ignore BIOS backlight value for HP dm4

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

 



On Monday, March 04, 2013 12:23:37 PM Gustavo Maciel Dias Vieira wrote:
> 
> 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@xxxxxxxxx>
> ---
> 
> This is the same situation as with the HP Folio
> (http://www.spinics.net/lists/linux-acpi/msg40401.html).
> 
> Without this patch, the only way to get a correct display is with the
> video.use_bios_initial_backlight=0 command line switch. With it the
> display works out of the box.

Applied to linux-pm.git/linux-next.

Thanks,
Rafael


>  drivers/acpi/video.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
> index ac9a69c..d7329bc 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"),
> +		},
> +	},
>  	{}
>  };
>  
> 
-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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