public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 11/13] sony_acpi: add lanpower and audiopower controls
@ 2007-02-06  0:09 akpm
  2007-02-07 21:07 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-02-06  0:09 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi, akpm, malattia

From: Mattia Dongili <malattia@linux.it>

audiopower works well on my SZ72B so it's not marked has "debug" while
lanpower has at least one report of not resuming power happily so morked as
"debug"

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/acpi/sony_acpi.c |   20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff -puN drivers/acpi/sony_acpi.c~sony_acpi-add-lanpower-and-audiopower-controls drivers/acpi/sony_acpi.c
--- a/drivers/acpi/sony_acpi.c~sony_acpi-add-lanpower-and-audiopower-controls
+++ a/drivers/acpi/sony_acpi.c
@@ -102,11 +102,27 @@ static struct sony_acpi_value {
 		.name		= "cdpower",
 		.acpiget	= "GCDP",
 		.acpiset	= "SCDP",
-		.min		= -1,
-		.max		= -1,
+		.min		= 0,
+		.max		= 1,
 		.debug		= 0,
 	},
 	{
+		.name           = "audiopower",
+		.acpiget        = "GAZP",
+		.acpiset        = "AZPW",
+		.min            = 0,
+		.max            = 1,
+		.debug          = 0,
+	},
+	{
+		.name           = "lanpower",
+		.acpiget        = "GLNP",
+		.acpiset        = "LNPW",
+		.min            = 0,
+		.max            = 1,
+		.debug          = 1,
+	},
+	{
 		.name		= "PID",
 		.acpiget	= "GPID",
 		.debug		= 1,
_

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

* Re: [patch 11/13] sony_acpi: add lanpower and audiopower controls
  2007-02-06  0:09 [patch 11/13] sony_acpi: add lanpower and audiopower controls akpm
@ 2007-02-07 21:07 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2007-02-07 21:07 UTC (permalink / raw)
  To: akpm; +Cc: linux-acpi, malattia

NAK
now included in sony-laptop patch series.

-Len

On Monday 05 February 2007 19:09, akpm@linux-foundation.org wrote:
> From: Mattia Dongili <malattia@linux.it>
> 
> audiopower works well on my SZ72B so it's not marked has "debug" while
> lanpower has at least one report of not resuming power happily so morked as
> "debug"
> 
> Signed-off-by: Mattia Dongili <malattia@linux.it>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  drivers/acpi/sony_acpi.c |   20 ++++++++++++++++++--
>  1 file changed, 18 insertions(+), 2 deletions(-)
> 
> diff -puN drivers/acpi/sony_acpi.c~sony_acpi-add-lanpower-and-audiopower-controls drivers/acpi/sony_acpi.c
> --- a/drivers/acpi/sony_acpi.c~sony_acpi-add-lanpower-and-audiopower-controls
> +++ a/drivers/acpi/sony_acpi.c
> @@ -102,11 +102,27 @@ static struct sony_acpi_value {
>  		.name		= "cdpower",
>  		.acpiget	= "GCDP",
>  		.acpiset	= "SCDP",
> -		.min		= -1,
> -		.max		= -1,
> +		.min		= 0,
> +		.max		= 1,
>  		.debug		= 0,
>  	},
>  	{
> +		.name           = "audiopower",
> +		.acpiget        = "GAZP",
> +		.acpiset        = "AZPW",
> +		.min            = 0,
> +		.max            = 1,
> +		.debug          = 0,
> +	},
> +	{
> +		.name           = "lanpower",
> +		.acpiget        = "GLNP",
> +		.acpiset        = "LNPW",
> +		.min            = 0,
> +		.max            = 1,
> +		.debug          = 1,
> +	},
> +	{
>  		.name		= "PID",
>  		.acpiget	= "GPID",
>  		.debug		= 1,
> _
> -
> 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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-06  0:09 [patch 11/13] sony_acpi: add lanpower and audiopower controls akpm
2007-02-07 21:07 ` Len Brown

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