[PATCH 1/1] UBUNTU: SAUCE: switch the Asus Pundit P1-AH2 to old acpi sleep ordering

Stefan Bader stefan.bader at canonical.com
Tue Feb 10 16:16:17 UTC 2009


Andy Whitcroft wrote:
> Bug: #327267
> 
> Switch the Asus Pundit P1-AH2 (M2N8L motherboard) to the old ACPI 1.0
> sleep ordering by default.  Without this it will not suspend/resume
> correctly.
> 
> Signed-off-by: Andy Whitcroft <apw at canonical.com>
> ---
>  drivers/acpi/sleep/main.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c
> index 28a691c..d77800a 100644
> --- a/drivers/acpi/sleep/main.c
> +++ b/drivers/acpi/sleep/main.c
> @@ -378,6 +378,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
>  		DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
>  		},
>  	},
> +	{
> +	.callback = init_old_suspend_ordering,
> +	.ident = "Asus Pundit P1-AH2 (M2N8L motherboard)",
> +	.matches = {
> +		DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTek Computer INC."),
> +		DMI_MATCH(DMI_BOARD_NAME, "M2N8L"),
> +		},
> +	},
>  	{},
>  };
>  #endif /* CONFIG_SUSPEND */
ACK

-- 

When all other means of communication fail, try words!






More information about the kernel-team mailing list