Linux ACPI
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Tony Vroon <tony@linx.net>
Cc: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>,
	Peter Gruber <nokos@gmx.net>,
	linux-acpi@vger.kernel.org
Subject: Re: [PATCH] Add DMI callback for Lifebook S6420
Date: Tue, 11 Nov 2008 15:09:31 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0811111509010.4480@localhost.localdomain> (raw)
In-Reply-To: <20081109042005.4FF551008C@gold.linx.net>

applied to acpi-test

thanks,
-len

On Sun, 9 Nov 2008, Tony Vroon wrote:

> The Lifebook S6420 is the ICH9M-based follow-up to the S6410. The application panel 
> contains the following keys: lock, mobility center, eco, info.
> Whilst key 4 might be more appropriate for help then key 2, I've done things the 
> S6410 way. I can confirm that backlight control is functional, and that the lock key 
> activates the Gnome screensaver as expected.
> This should apply cleanly to acpi-test.
> 
> Signed-off-by: Tony Vroon <tony@linx.net>
> 
> diff --git a/drivers/misc/fujitsu-laptop.c b/drivers/misc/fujitsu-laptop.c
> index 2c7504f..a7dd3e9 100644
> --- a/drivers/misc/fujitsu-laptop.c
> +++ b/drivers/misc/fujitsu-laptop.c
> @@ -464,6 +464,14 @@ static int dmi_check_cb_s6410(const struct dmi_system_id *id)
>  	return 0;
>  }
>  
> +static int dmi_check_cb_s6420(const struct dmi_system_id *id)
> +{
> +	dmi_check_cb_common(id);
> +	fujitsu->keycode1 = KEY_SCREENLOCK;	/* "Lock" */
> +	fujitsu->keycode2 = KEY_HELP;	/* "Mobility Center" */
> +	return 0;
> +}
> +
>  static int dmi_check_cb_p8010(const struct dmi_system_id *id)
>  {
>  	dmi_check_cb_common(id);
> @@ -482,6 +490,13 @@ static struct dmi_system_id fujitsu_dmi_table[] = {
>  		     },
>  	 .callback = dmi_check_cb_s6410},
>  	{
> +	 .ident = "Fujitsu Siemens S6420",
> +	 .matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK S6420"),
> +		     },
> +	 .callback = dmi_check_cb_s6420},
> +	{
>  	 .ident = "Fujitsu LifeBook P8010",
>  	 .matches = {
>  		     DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

      parent reply	other threads:[~2008-11-11 20:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-09  4:20 [PATCH] Add DMI callback for Lifebook S6420 Tony Vroon
2008-11-09 22:22 ` Jonathan Woithe
2008-11-11 20:09 ` Len Brown [this message]

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=alpine.LFD.2.00.0811111509010.4480@localhost.localdomain \
    --to=lenb@kernel.org \
    --cc=jwoithe@physics.adelaide.edu.au \
    --cc=linux-acpi@vger.kernel.org \
    --cc=nokos@gmx.net \
    --cc=tony@linx.net \
    /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