All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 03/13] asus_acpi: Add support for Asus Z81SP
@ 2007-02-06  0:09 akpm
  2007-02-06 19:20 ` Corentin CHARY
  0 siblings, 1 reply; 3+ messages in thread
From: akpm @ 2007-02-06  0:09 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi, akpm, calvinmc, acpi4asus-user, corentincj, sziwan

From: Matthew C Campbell <calvinmc@gmail.com>

Adds support in asus_acpi for the Asus Z81SP laptop.  This preserves all
old functionality when improperly detected as well as enabling Bluetooth
support.

Signed-off-by: Matthew C Campbell <calvinmc@gmail.com>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Karol Kozimor <sziwan@users.sourceforge.net>
Cc: <acpi4asus-user@lists.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/acpi/asus_acpi.c |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff -puN drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp drivers/acpi/asus_acpi.c
--- a/drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp
+++ a/drivers/acpi/asus_acpi.c
@@ -141,6 +141,7 @@ struct asus_hotk {
 		W5A,		//W5A
 		W3V,            //W3030V
 		xxN,		//M2400N, M3700N, M5200N, M6800N, S1300N, S5200N
+		A4S,            //Z81sp
 		//(Centrino)
 		END_MODEL
 	} model;		//Models currently supported
@@ -397,7 +398,16 @@ static struct model_data model_conf[END_
 	 .brightness_set = "SPLV",
 	 .brightness_get = "GPLV",
 	 .display_set = "SDSP",
-	 .display_get = "\\ADVG"}
+	.display_get = "\\ADVG"},
+
+	{
+		.name              = "A4S",
+		.brightness_set    = "SPLV",
+		.brightness_get    = "GPLV",
+		.mt_bt_switch      = "BLED",
+		.mt_wled           = "WLED"
+	}
+
 };
 
 /* procdir we use */
@@ -1117,6 +1127,8 @@ static int asus_model_match(char *model)
 		return W3V;
 	else if (strncmp(model, "W5A", 3) == 0)
 		return W5A;
+	else if (strncmp(model, "A4S", 3) == 0)
+		return A4S;
 	else
 		return END_MODEL;
 }
_

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 03/13] asus_acpi: Add support for Asus Z81SP
  2007-02-06  0:09 [patch 03/13] asus_acpi: Add support for Asus Z81SP akpm
@ 2007-02-06 19:20 ` Corentin CHARY
  2007-02-09  5:42   ` Len Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Corentin CHARY @ 2007-02-06 19:20 UTC (permalink / raw)
  To: akpm; +Cc: lenb, linux-acpi, calvinmc, acpi4asus-user, sziwan

Le Tuesday 06 February 2007 01:09:09 akpm@linux-foundation.org, vous avez 
écrit :
> From: Matthew C Campbell <calvinmc@gmail.com>
>
> Adds support in asus_acpi for the Asus Z81SP laptop.  This preserves all
> old functionality when improperly detected as well as enabling Bluetooth
> support.
I don't know if this patch is realy usefull, as there is the new asus-laptop 
driver (in acpi-test), but let's Ack this ...

> Signed-off-by: Matthew C Campbell <calvinmc@gmail.com>
> Cc: Corentin Chary <corentincj@iksaif.net>
Acked-by: Corentin Chary <corentincj@iksaif.net>
> Cc: Karol Kozimor <sziwan@users.sourceforge.net>
> Cc: <acpi4asus-user@lists.sourceforge.net>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

-- 
CHARY 'Iksaif' Corentin
http://xf.iksaif.net
-
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 03/13] asus_acpi: Add support for Asus Z81SP
  2007-02-06 19:20 ` Corentin CHARY
@ 2007-02-09  5:42   ` Len Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Len Brown @ 2007-02-09  5:42 UTC (permalink / raw)
  To: corentincj; +Cc: akpm, linux-acpi, calvinmc, acpi4asus-user, sziwan

On Tuesday 06 February 2007 14:20, Corentin CHARY wrote:
> Le Tuesday 06 February 2007 01:09:09 akpm@linux-foundation.org, vous avez 
> écrit :
> > From: Matthew C Campbell <calvinmc@gmail.com>
> >
> > Adds support in asus_acpi for the Asus Z81SP laptop.  This preserves all
> > old functionality when improperly detected as well as enabling Bluetooth
> > support.
> I don't know if this patch is realy usefull, as there is the new asus-laptop 
> driver (in acpi-test), but let's Ack this ...
> 
> > Signed-off-by: Matthew C Campbell <calvinmc@gmail.com>
> > Cc: Corentin Chary <corentincj@iksaif.net>
> Acked-by: Corentin Chary <corentincj@iksaif.net>
> > Cc: Karol Kozimor <sziwan@users.sourceforge.net>
> > Cc: <acpi4asus-user@lists.sourceforge.net>
> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Okay, I'll include this one, and I'll assume that Corentin
will port it to asus-laptop later.

thanks,
-Len

-
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-09  5:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-06  0:09 [patch 03/13] asus_acpi: Add support for Asus Z81SP akpm
2007-02-06 19:20 ` Corentin CHARY
2007-02-09  5:42   ` Len Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.