From gavin@blade32.york.ac.uk  Tue Sep 23 15:46:26 2008
Return-Path: <gavin@blade32.york.ac.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 476CE1065676
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2008 15:46:26 +0000 (UTC)
	(envelope-from gavin@blade32.york.ac.uk)
Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245])
	by mx1.freebsd.org (Postfix) with ESMTP id D40218FC22
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2008 15:46:25 +0000 (UTC)
	(envelope-from gavin@blade32.york.ac.uk)
Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26])
	by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id m8NFkJiR016825
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2008 16:46:19 +0100 (BST)
Received: from blade32.york.ac.uk ([144.32.128.181])
	by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.68)
	(envelope-from <gavin@blade32.york.ac.uk>)
	id 1KiA5j-0002up-Lk
	for FreeBSD-gnats-submit@freebsd.org; Tue, 23 Sep 2008 16:46:19 +0100
Received: from blade32.york.ac.uk (localhost [127.0.0.1])
	by blade32.york.ac.uk (8.14.2/8.14.2) with ESMTP id m8NFkJXi047286
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2008 16:46:19 +0100 (BST)
	(envelope-from gavin@blade32.york.ac.uk)
Received: (from root@localhost)
	by blade32.york.ac.uk (8.14.2/8.14.2/Submit) id m8NFkJEx047285;
	Tue, 23 Sep 2008 16:46:19 +0100 (BST)
	(envelope-from gavin)
Message-Id: <200809231546.m8NFkJEx047285@blade32.york.ac.uk>
Date: Tue, 23 Sep 2008 16:46:19 +0100 (BST)
From: Gavin Atkinson <gavin@freebsd.org>
Reply-To: Gavin Atkinson <gavin@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] [acpi_sony] Add support for more Sony features
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         127581
>Category:       kern
>Synopsis:       [patch] [acpi_sony] Add support for more Sony features
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 23 15:50:02 UTC 2008
>Closed-Date:    Wed Mar 17 21:21:33 UTC 2010
>Last-Modified:  Wed Mar 17 21:21:33 UTC 2010
>Originator:     Gavin Atkinson
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD blade32.york.ac.uk 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Mon Aug 18 14:12:25 BST 2008 root@blade32.york.ac.uk:/usr/obj/usr/src/sys/B32 amd64
>Description:
	Add support for a few more Sony-specific ACPI features (default
display brightness, wired LAN power and bass gain), and update the description
of one previously unknown feature.  While here, expand on a comment and
remove two unused defines.  Also update man page and correct grammar.
>How-To-Repeat:
	N/A
>Fix:

--- sony_acpi_5001.diff begins here ---
Index: src/sys/dev/acpi_support/acpi_sony.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/acpi_support/acpi_sony.c,v
retrieving revision 1.11
diff -u -r1.11 acpi_sony.c
--- src/sys/dev/acpi_support/acpi_sony.c	20 May 2008 06:32:07 -0000	1.11
+++ src/sys/dev/acpi_support/acpi_sony.c	23 Sep 2008 15:42:20 -0000
@@ -40,14 +40,21 @@
 #define _COMPONENT	ACPI_OEM
 ACPI_MODULE_NAME("Sony")
 
-#define ACPI_SONY_GET_BRIGHTNESS "GBRT"
-#define ACPI_SONY_SET_BRIGHTNESS "SBRT"
 #define ACPI_SONY_GET_PID "GPID"
 
 /*
  * SNY5001
+ *   This is the ACPI handle for the "Sony Notebook Control" driver under
+ *   Windows.
+ *   It provides several methods within the ACPI namespace, including:
  *  [GS]BRT [GS]PBR [GS]CTR [GS]PCR [GS]CMI [CDPW GCDP]? GWDP PWAK PWRN 
  *
+ * SNY6001
+ *   This is the ACPI handle for the "Sony Programmable I/O" driver under
+ *   Windows.
+ *   It is not yet supported by this driver, but provides control over the
+ *   power to the bluetooth, built-in camera and HSDPA modem devices in some
+ *   laptops, and also allows some control of the fan speed.
  */
 
 struct acpi_sony_softc {
@@ -61,14 +68,17 @@
 	char *comment;
 } acpi_sony_oids[] = {
 	{ "brightness", "GBRT", "SBRT", "Display Brightness"},
-	{ "ctr", "GCTR", "SCTR", "??"},
+	{ "brightness_default", "GPBR", "SPBR", "Default Display Brightness"},
+	{ "contrast", "GCTR", "SCTR", "Display Contrast"},
+	{ "bass_gain", "GMGB", "SMGB", "Multimedia Bass Gain"},
 	{ "pcr", "GPCR", "SPCR", "???"},
 #if 0
-	{ "cmi", "GCMI", "SCMI", "????"},
+	{ "cmi", "GCMI", "SCMI", "???"},
 #endif
-	{ "wdp", "GWDP", NULL, "?????"},
+	{ "wdp", "GWDP", NULL, "???"},
 	{ "cdp", "GCDP", "CDPW", "CD Power"},  /*shares [\GL03]&0x8 flag*/
 	{ "azp", "GAZP", "AZPW", "Audio Power"}, 
+	{ "lnp", "GLNP", "LNPW", "LAN Power"},
 	{ NULL, NULL, NULL }
 };
 
Index: src/share/man/man4/acpi_sony.4
===================================================================
RCS file: /home/ncvs/src/share/man/man4/acpi_sony.4,v
retrieving revision 1.1
diff -u -r1.1 acpi_sony.4
--- src/share/man/man4/acpi_sony.4	21 Aug 2008 00:40:55 -0000	1.1
+++ src/share/man/man4/acpi_sony.4	23 Sep 2008 17:16:23 -0000
@@ -48,15 +48,24 @@
 The
 .Nm
 driver provides support for the notebook controller in Sony laptops.
+Note that not all features will work on all laptop models.
 .Sh SYSCTLS
-The following sysctl is currently implemented:
+The following sysctl nodes are currently implemented:
 .Bl -tag -width indent
 .It Va dev.acpi_sony.0.brightness
 Current brightness level of the display.
+.It Va dev.acpi_sony.0.brightness_default
+Default brightness level of the display (survives reboot).
+.It Va dev.acpi_sony.0.contrast
+Current contrast level of the display.
+.It Va dev.acpi_sony.0.bass_gain
+Enable or disable the Bass Gain feature.
 .It Va dev.acpi_sony.0.cdp
 Turns the CD power on or off.
 .It Va dev.acpi_sony.0.azp
 Turns the audio power on or off.
+.It Va dev.acpi_sony.0.lnp
+Turns the wired network interface power on or off.
 .El
 .Sh SEE ALSO
 .Xr acpi 4 ,

--- sony_acpi_5001.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Thu Sep 25 02:26:16 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127581 
State-Changed-From-To: open->patched 
State-Changed-By: gavin 
State-Changed-When: Sun Feb 7 18:36:36 UTC 2010 
State-Changed-Why:  
Fixed in head (r203622), MFC in 2 weeks. 


Responsible-Changed-From-To: freebsd-acpi->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sun Feb 7 18:36:36 UTC 2010 
Responsible-Changed-Why:  
Mine 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127581 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/127581: commit references a PR
Date: Sun,  7 Feb 2010 18:36:41 +0000 (UTC)

 Author: gavin
 Date: Sun Feb  7 18:36:30 2010
 New Revision: 203622
 URL: http://svn.freebsd.org/changeset/base/203622
 
 Log:
   Add support for a few more Sony-specific ACPI features (default display
   brightness, wired LAN power and bass gain), and update the description of
   one previously unknown feature (display contrast).  While here, expand on
   a comment and remove two defines left over from an old version of the code.
   
   Also update man page to document the above changes, and correct grammar.
   
   PR:		kern/127581
 
 Modified:
   head/share/man/man4/acpi_sony.4
   head/sys/dev/acpi_support/acpi_sony.c
 
 Modified: head/share/man/man4/acpi_sony.4
 ==============================================================================
 --- head/share/man/man4/acpi_sony.4	Sun Feb  7 18:06:55 2010	(r203621)
 +++ head/share/man/man4/acpi_sony.4	Sun Feb  7 18:36:30 2010	(r203622)
 @@ -24,7 +24,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd September 14, 2005
 +.Dd February 7, 2010
  .Dt ACPI_SONY 4 i386
  .Os
  .Sh NAME
 @@ -48,15 +48,24 @@ acpi_sony_load="YES"
  The
  .Nm
  driver provides support for the notebook controller in Sony laptops.
 +Note that not all features will work on all laptop models.
  .Sh SYSCTLS
 -The following sysctl is currently implemented:
 +The following sysctl nodes are currently implemented:
  .Bl -tag -width indent
  .It Va dev.acpi_sony.0.brightness
  Current brightness level of the display.
 +.It Va dev.acpi_sony.0.brightness_default
 +Default brightness level of the display (survives reboot).
 +.It Va dev.acpi_sony.0.contrast
 +Current contrast level of the display.
 +.It Va dev.acpi_sony.0.bass_gain
 +Enable or disable the Bass Gain feature.
  .It Va dev.acpi_sony.0.cdp
  Turns the CD power on or off.
  .It Va dev.acpi_sony.0.azp
  Turns the audio power on or off.
 +.It Va dev.acpi_sony.0.lnp
 +Turns the wired network interface power on or off.
  .El
  .Sh SEE ALSO
  .Xr acpi 4 ,
 
 Modified: head/sys/dev/acpi_support/acpi_sony.c
 ==============================================================================
 --- head/sys/dev/acpi_support/acpi_sony.c	Sun Feb  7 18:06:55 2010	(r203621)
 +++ head/sys/dev/acpi_support/acpi_sony.c	Sun Feb  7 18:36:30 2010	(r203622)
 @@ -42,14 +42,21 @@ __FBSDID("$FreeBSD$");
  #define _COMPONENT	ACPI_OEM
  ACPI_MODULE_NAME("Sony")
  
 -#define ACPI_SONY_GET_BRIGHTNESS "GBRT"
 -#define ACPI_SONY_SET_BRIGHTNESS "SBRT"
  #define ACPI_SONY_GET_PID "GPID"
  
  /*
   * SNY5001
 + *   This is the ACPI handle for the "Sony Notebook Control" driver under
 + *   Windows.
 + *   It provides several methods within the ACPI namespace, including:
   *  [GS]BRT [GS]PBR [GS]CTR [GS]PCR [GS]CMI [CDPW GCDP]? GWDP PWAK PWRN 
   *
 + * SNY6001
 + *   This is the ACPI handle for the "Sony Programmable I/O" driver under
 + *   Windows.
 + *   It is not yet supported by this driver, but provides control over the
 + *   power to the bluetooth, built-in camera and HSDPA modem devices in some
 + *   laptops, and also allows some control of the fan speed.
   */
  
  struct acpi_sony_softc {
 @@ -63,14 +70,17 @@ static struct acpi_sony_name_list
  	char *comment;
  } acpi_sony_oids[] = {
  	{ "brightness", "GBRT", "SBRT", "Display Brightness"},
 -	{ "ctr", "GCTR", "SCTR", "??"},
 +	{ "brightness_default", "GPBR", "SPBR", "Default Display Brightness"},
 +	{ "contrast", "GCTR", "SCTR", "Display Contrast"},
 +	{ "bass_gain", "GMGB", "SMGB", "Multimedia Bass Gain"},
  	{ "pcr", "GPCR", "SPCR", "???"},
  #if 0
 -	{ "cmi", "GCMI", "SCMI", "????"},
 +	{ "cmi", "GCMI", "SCMI", "???"},
  #endif
 -	{ "wdp", "GWDP", NULL, "?????"},
 +	{ "wdp", "GWDP", NULL, "???"},
  	{ "cdp", "GCDP", "CDPW", "CD Power"},  /*shares [\GL03]&0x8 flag*/
  	{ "azp", "GAZP", "AZPW", "Audio Power"}, 
 +	{ "lnp", "GLNP", "LNPW", "LAN Power"},
  	{ NULL, NULL, NULL }
  };
  
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed  
State-Changed-By: takawata 
State-Changed-When: Fri Mar 12 06:28:52 UTC 2010 
State-Changed-Why:  
Patched and no objection for two years. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=127581 
State-Changed-From-To: closed->patched 
State-Changed-By: gavin 
State-Changed-When: Fri Mar 12 18:41:59 UTC 2010 
State-Changed-Why:  
Reopen, I plan to MFC this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127581 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/127581: commit references a PR
Date: Wed, 17 Mar 2010 20:39:35 +0000 (UTC)

 Author: gavin
 Date: Wed Mar 17 20:39:21 2010
 New Revision: 205262
 URL: http://svn.freebsd.org/changeset/base/205262
 
 Log:
   Merge r203622 from head:
   
     Add support for a few more Sony-specific ACPI features (default display
     brightness, wired LAN power and bass gain), and update the description of
     one previously unknown feature (display contrast).  While here, expand on
     a comment and remove two defines left over from an old version of the code.
   
     Also update man page to document the above changes, and correct grammar.
   
   PR:		kern/127581
 
 Modified:
   stable/8/share/man/man4/acpi_sony.4
   stable/8/sys/dev/acpi_support/acpi_sony.c
 Directory Properties:
   stable/8/share/man/man4/   (props changed)
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
   stable/8/sys/dev/xen/xenpci/   (props changed)
 
 Modified: stable/8/share/man/man4/acpi_sony.4
 ==============================================================================
 --- stable/8/share/man/man4/acpi_sony.4	Wed Mar 17 20:32:13 2010	(r205261)
 +++ stable/8/share/man/man4/acpi_sony.4	Wed Mar 17 20:39:21 2010	(r205262)
 @@ -24,7 +24,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd September 14, 2005
 +.Dd February 7, 2010
  .Dt ACPI_SONY 4 i386
  .Os
  .Sh NAME
 @@ -48,15 +48,24 @@ acpi_sony_load="YES"
  The
  .Nm
  driver provides support for the notebook controller in Sony laptops.
 +Note that not all features will work on all laptop models.
  .Sh SYSCTLS
 -The following sysctl is currently implemented:
 +The following sysctl nodes are currently implemented:
  .Bl -tag -width indent
  .It Va dev.acpi_sony.0.brightness
  Current brightness level of the display.
 +.It Va dev.acpi_sony.0.brightness_default
 +Default brightness level of the display (survives reboot).
 +.It Va dev.acpi_sony.0.contrast
 +Current contrast level of the display.
 +.It Va dev.acpi_sony.0.bass_gain
 +Enable or disable the Bass Gain feature.
  .It Va dev.acpi_sony.0.cdp
  Turns the CD power on or off.
  .It Va dev.acpi_sony.0.azp
  Turns the audio power on or off.
 +.It Va dev.acpi_sony.0.lnp
 +Turns the wired network interface power on or off.
  .El
  .Sh SEE ALSO
  .Xr acpi 4 ,
 
 Modified: stable/8/sys/dev/acpi_support/acpi_sony.c
 ==============================================================================
 --- stable/8/sys/dev/acpi_support/acpi_sony.c	Wed Mar 17 20:32:13 2010	(r205261)
 +++ stable/8/sys/dev/acpi_support/acpi_sony.c	Wed Mar 17 20:39:21 2010	(r205262)
 @@ -42,14 +42,21 @@ __FBSDID("$FreeBSD$");
  #define _COMPONENT	ACPI_OEM
  ACPI_MODULE_NAME("Sony")
  
 -#define ACPI_SONY_GET_BRIGHTNESS "GBRT"
 -#define ACPI_SONY_SET_BRIGHTNESS "SBRT"
  #define ACPI_SONY_GET_PID "GPID"
  
  /*
   * SNY5001
 + *   This is the ACPI handle for the "Sony Notebook Control" driver under
 + *   Windows.
 + *   It provides several methods within the ACPI namespace, including:
   *  [GS]BRT [GS]PBR [GS]CTR [GS]PCR [GS]CMI [CDPW GCDP]? GWDP PWAK PWRN 
   *
 + * SNY6001
 + *   This is the ACPI handle for the "Sony Programmable I/O" driver under
 + *   Windows.
 + *   It is not yet supported by this driver, but provides control over the
 + *   power to the bluetooth, built-in camera and HSDPA modem devices in some
 + *   laptops, and also allows some control of the fan speed.
   */
  
  struct acpi_sony_softc {
 @@ -63,14 +70,17 @@ static struct acpi_sony_name_list
  	char *comment;
  } acpi_sony_oids[] = {
  	{ "brightness", "GBRT", "SBRT", "Display Brightness"},
 -	{ "ctr", "GCTR", "SCTR", "??"},
 +	{ "brightness_default", "GPBR", "SPBR", "Default Display Brightness"},
 +	{ "contrast", "GCTR", "SCTR", "Display Contrast"},
 +	{ "bass_gain", "GMGB", "SMGB", "Multimedia Bass Gain"},
  	{ "pcr", "GPCR", "SPCR", "???"},
  #if 0
 -	{ "cmi", "GCMI", "SCMI", "????"},
 +	{ "cmi", "GCMI", "SCMI", "???"},
  #endif
 -	{ "wdp", "GWDP", NULL, "?????"},
 +	{ "wdp", "GWDP", NULL, "???"},
  	{ "cdp", "GCDP", "CDPW", "CD Power"},  /*shares [\GL03]&0x8 flag*/
  	{ "azp", "GAZP", "AZPW", "Audio Power"}, 
 +	{ "lnp", "GLNP", "LNPW", "LAN Power"},
  	{ NULL, NULL, NULL }
  };
  
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/127581: commit references a PR
Date: Wed, 17 Mar 2010 21:19:39 +0000 (UTC)

 Author: gavin
 Date: Wed Mar 17 21:19:30 2010
 New Revision: 205267
 URL: http://svn.freebsd.org/changeset/base/205267
 
 Log:
   Merge r203622 from head:
   
     Add support for a few more Sony-specific ACPI features (default display
     brightness, wired LAN power and bass gain), and update the description of
     one previously unknown feature (display contrast).  While here, expand on
     a comment and remove two defines left over from an old version of the code.
   
     Also update man page to document the above changes, and correct grammar.
   
   PR:		kern/127581
 
 Modified:
   stable/7/share/man/man4/man4.i386/acpi_sony.4
   stable/7/sys/dev/acpi_support/acpi_sony.c
 Directory Properties:
   stable/7/sys/   (props changed)
   stable/7/sys/cddl/contrib/opensolaris/   (props changed)
   stable/7/sys/contrib/dev/acpica/   (props changed)
   stable/7/sys/contrib/pf/   (props changed)
 
 Modified: stable/7/share/man/man4/man4.i386/acpi_sony.4
 ==============================================================================
 --- stable/7/share/man/man4/man4.i386/acpi_sony.4	Wed Mar 17 21:18:28 2010	(r205266)
 +++ stable/7/share/man/man4/man4.i386/acpi_sony.4	Wed Mar 17 21:19:30 2010	(r205267)
 @@ -24,7 +24,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd September 14, 2005
 +.Dd February 7, 2010
  .Dt ACPI_SONY 4 i386
  .Os
  .Sh NAME
 @@ -48,13 +48,22 @@ acpi_sony_load="YES"
  The
  .Nm
  driver provides support for the notebook controller in Sony laptops.
 +Note that not all features will work on all laptop models.
  .Sh SYSCTLS
 -The following sysctl is currently implemented:
 +The following sysctl nodes are currently implemented:
  .Bl -tag -width indent
  .It Va dev.acpi_sony.0.brightness
  Current brightness level of the display.
 +.It Va dev.acpi_sony.0.brightness_default
 +Default brightness level of the display (survives reboot).
 +.It Va dev.acpi_sony.0.contrast
 +Current contrast level of the display.
 +.It Va dev.acpi_sony.0.bass_gain
 +Enable or disable the Bass Gain feature.
  .It Va dev.acpi_sony.0.cdp
  Turns the CD power on or off.
 +.It Va dev.acpi_sony.0.lnp
 +Turns the wired network interface power on or off.
  .El
  .Sh SEE ALSO
  .Xr acpi 4 ,
 
 Modified: stable/7/sys/dev/acpi_support/acpi_sony.c
 ==============================================================================
 --- stable/7/sys/dev/acpi_support/acpi_sony.c	Wed Mar 17 21:18:28 2010	(r205266)
 +++ stable/7/sys/dev/acpi_support/acpi_sony.c	Wed Mar 17 21:19:30 2010	(r205267)
 @@ -40,14 +40,21 @@ __FBSDID("$FreeBSD$");
  #define _COMPONENT	ACPI_OEM
  ACPI_MODULE_NAME("Sony")
  
 -#define ACPI_SONY_GET_BRIGHTNESS "GBRT"
 -#define ACPI_SONY_SET_BRIGHTNESS "SBRT"
  #define ACPI_SONY_GET_PID "GPID"
  
  /*
   * SNY5001
 + *   This is the ACPI handle for the "Sony Notebook Control" driver under
 + *   Windows.
 + *   It provides several methods within the ACPI namespace, including:
   *  [GS]BRT [GS]PBR [GS]CTR [GS]PCR [GS]CMI [CDPW GCDP]? GWDP PWAK PWRN 
   *
 + * SNY6001
 + *   This is the ACPI handle for the "Sony Programmable I/O" driver under
 + *   Windows.
 + *   It is not yet supported by this driver, but provides control over the
 + *   power to the bluetooth, built-in camera and HSDPA modem devices in some
 + *   laptops, and also allows some control of the fan speed.
   */
  
  struct acpi_sony_softc {
 @@ -61,13 +68,16 @@ static struct acpi_sony_name_list
  	char *comment;
  } acpi_sony_oids[] = {
  	{ "brightness", "GBRT", "SBRT", "Display Brightness"},
 -	{ "ctr", "GCTR", "SCTR", "??"},
 +	{ "brightness_default", "GPBR", "SPBR", "Default Display Brightness"},
 +	{ "contrast", "GCTR", "SCTR", "Display Contrast"},
 +	{ "bass_gain", "GMGB", "SMGB", "Multimedia Bass Gain"},
  	{ "pcr", "GPCR", "SPCR", "???"},
  #if 0
 -	{ "cmi", "GCMI", "SCMI", "????"},
 +	{ "cmi", "GCMI", "SCMI", "???"},
  #endif
 -	{ "wdp", "GWDP", NULL, "?????"},
 +	{ "wdp", "GWDP", NULL, "???"},
  	{ "cdp", "GCDP", "CDPW", "CD Power"},  /*shares [\GL03]&0x8 flag*/
 +	{ "lnp", "GLNP", "LNPW", "LAN Power"},
  	{ NULL, NULL, NULL }
  };
  
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: gavin 
State-Changed-When: Wed Mar 17 21:21:10 UTC 2010 
State-Changed-Why:  
Fixed in head, merged to stable/8 and stable/7. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127581 
>Unformatted:
