public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 19/19] asus_acpi: Add support for Asus Z81SP
@ 2006-12-19 20:56 akpm
  2006-12-23  2:13 ` Len Brown
  0 siblings, 1 reply; 4+ messages in thread
From: akpm @ 2006-12-19 20:56 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi, akpm, calvinmc

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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 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
--- a/drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp
+++ a/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;
 }
_

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

* Re: [patch 19/19] asus_acpi: Add support for Asus Z81SP
  2006-12-19 20:56 [patch 19/19] asus_acpi: Add support for Asus Z81SP akpm
@ 2006-12-23  2:13 ` Len Brown
  2006-12-23  4:15   ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Len Brown @ 2006-12-23  2:13 UTC (permalink / raw)
  To: akpm; +Cc: linux-acpi, calvinmc, acpi4asus-user

NAK

The proper way to update the asus_acpi driver
is through its (new) maintainer and mailing list on acpi4asus-user@lists.sourceforge.net
which will forward the patches through the acpi tree when tested.

thanks,
-Len

On Tuesday 19 December 2006 15:56, akpm@osdl.org wrote:
> 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>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
> 
>  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
> --- a/drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp
> +++ a/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;
>  }
> _
> -
> 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] 4+ messages in thread

* Re: [patch 19/19] asus_acpi: Add support for Asus Z81SP
  2006-12-23  2:13 ` Len Brown
@ 2006-12-23  4:15   ` Andrew Morton
  2007-01-05  7:06     ` Len Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2006-12-23  4:15 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi, calvinmc, acpi4asus-user

On Fri, 22 Dec 2006 21:13:23 -0500
Len Brown <lenb@kernel.org> wrote:

> NAK
> 
> The proper way to update the asus_acpi driver
> is through its (new) maintainer and mailing list on acpi4asus-user@lists.sourceforge.net
> which will forward the patches through the acpi tree when tested.
> 

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



> 
> On Tuesday 19 December 2006 15:56, akpm@osdl.org wrote:
> > 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>
> > Signed-off-by: Andrew Morton <akpm@osdl.org>
> > ---
> > 
> >  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
> > --- a/drivers/acpi/asus_acpi.c~asus_acpi-add-support-for-asus-z81sp
> > +++ a/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;
> >  }
> > _
> > -
> > 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] 4+ messages in thread

* Re: [patch 19/19] asus_acpi: Add support for Asus Z81SP
  2006-12-23  4:15   ` Andrew Morton
@ 2007-01-05  7:06     ` Len Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2007-01-05  7:06 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-acpi, calvinmc, acpi4asus-user

On Friday 22 December 2006 23:15, Andrew Morton wrote:
> On Fri, 22 Dec 2006 21:13:23 -0500
> Len Brown <lenb@kernel.org> wrote:
> 
> > NAK
> > 
> > The proper way to update the asus_acpi driver
> > is through its (new) maintainer and mailing list on acpi4asus-user@lists.sourceforge.net
> > 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

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

end of thread, other threads:[~2007-01-05  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 20:56 [patch 19/19] asus_acpi: Add support for Asus Z81SP akpm
2006-12-23  2:13 ` Len Brown
2006-12-23  4:15   ` Andrew Morton
2007-01-05  7:06     ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox