Skip to contentSkip to conversation

asus_acpi: Add support for Asus Z81SP

PATCH Applied [email protected] 2 participants 4 messages Dec 19, 2006 – Jan 5, 2007 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 19/19 asus_acpi: Add support for Asus Z81SP

From: Matthew C Campbell <[email protected]>

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

---

 drivers/acpi/asus_acpi.c |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletion(-)
drivers/acpi/asus_acpi.c renamed from drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp +13 -1
diff -puN drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp drivers/acpi/asus_acpi.c
@@ -145,6 +145,7 @@ struct asus_hotk {
 		W5F,            //W5F
 		V6V,            //V6V
 		xxN,		//M2400N, M3700N, M5200N, M6800N, S1300N, S5200N
+		A4S,            //Z81sp
 		//(Centrino)
 		END_MODEL
 	} model;		//Models currently supported
@@ -450,7 +451,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 */
@@ -1188,6 +1198,8 @@ static int asus_model_match(char *model)
 		return W5F;
 	else if (strncmp(model, "V6V", 3) == 0)
 		return V6V;
+	else if (strncmp(model, "A4S", 3) == 0)
+		return A4S;
 	else
 		return END_MODEL;
 }

_

reviewer NAK
#1 lore raw

NAK

The proper way to update the asus_acpi driver
is through its (new) maintainer and mailing list on [email protected] which will forward the patches through the acpi tree when tested.

thanks,
-Len

Quoted 57 lines · On Tuesday 19 December 2006 15:56, [email protected] wrote:

From: Matthew C Campbell <[email protected]>

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

---

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

diff -puN drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp drivers/acpi/asus_acpi.c

drivers/acpi/asus_acpi.c renamed from drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp +13 -1
@@ -145,6 +145,7 @@ struct asus_hotk {
 		W5F,            //W5F
 		V6V,            //V6V
 		xxN,		//M2400N, M3700N, M5200N, M6800N, S1300N, S5200N
+		A4S,            //Z81sp
 		//(Centrino)
 		END_MODEL
 	} model;		//Models currently supported
@@ -450,7 +451,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 */
@@ -1188,6 +1198,8 @@ static int asus_model_match(char *model)
 		return W5F;
 	else if (strncmp(model, "V6V", 3) == 0)
 		return V6V;
+	else if (strncmp(model, "A4S", 3) == 0)
+		return A4S;
 	else
 		return END_MODEL;
 }

_
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 6 lines · On Fri, 22 Dec 2006 21:13:23 -0500 Len Brown <[email protected]> wrote:

NAK

The proper way to update the asus_acpi driver
is through its (new) maintainer and mailing list on [email protected] which will forward the patches through the acpi tree when tested.

So why the NAK? The patch is good, isn't it?

Quoted 59 lines · On Tuesday 19 December 2006 15:56, [email protected] wrote:
Quoted 57 lines

From: Matthew C Campbell <[email protected]>

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

---

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

diff -puN drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp drivers/acpi/asus_acpi.c

drivers/acpi/asus_acpi.c renamed from drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp +13 -1
@@ -145,6 +145,7 @@ struct asus_hotk {
 		W5F,            //W5F
 		V6V,            //V6V
 		xxN,		//M2400N, M3700N, M5200N, M6800N, S1300N, S5200N
+		A4S,            //Z81sp
 		//(Centrino)
 		END_MODEL
 	} model;		//Models currently supported
@@ -450,7 +451,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 */
@@ -1188,6 +1198,8 @@ static int asus_model_match(char *model)
 		return W5F;
 	else if (strncmp(model, "V6V", 3) == 0)
 		return V6V;
+	else if (strncmp(model, "A4S", 3) == 0)
+		return A4S;
 	else
 		return END_MODEL;
 }

_
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

reviewer
#3 lore raw
Quoted 11 lines · Andrew Morton
Quoted 6 lines · On Fri, 22 Dec 2006 21:13:23 -0500 Len Brown <[email protected]> wrote:

NAK

The proper way to update the asus_acpi driver
is through its (new) maintainer and mailing list on [email protected] which will forward the patches through the acpi tree when tested.

So why the NAK? The patch is good, isn't it?

Okay, call it lack of an ACK:-)

When it comes from the asus_acpi maintainer having passed the muster of the acpi4asus-user list I'll be delighted to apply it.

cheers,
-Len