From owner-freebsd-doc@FreeBSD.ORG Mon Jul 27 10:10:01 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53AE01065672 for ; Mon, 27 Jul 2009 10:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4AB8FC16 for ; Mon, 27 Jul 2009 10:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6RAA1QR068400 for ; Mon, 27 Jul 2009 10:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6RAA1Lf068399; Mon, 27 Jul 2009 10:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 27 Jul 2009 10:10:01 GMT Resent-Message-Id: <200907271010.n6RAA1Lf068399@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patrick Lamaiziere Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5536A1065672 for ; Mon, 27 Jul 2009 10:07:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 43EEC8FC12 for ; Mon, 27 Jul 2009 10:07:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6RA7e5g071109 for ; Mon, 27 Jul 2009 10:07:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6RA7e4b071108; Mon, 27 Jul 2009 10:07:40 GMT (envelope-from nobody) Message-Id: <200907271007.n6RA7e4b071108@www.freebsd.org> Date: Mon, 27 Jul 2009 10:07:40 GMT From: Patrick Lamaiziere To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/137168: asmc(4) documents dev.asmc.%d.light.control sysctl X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 10:10:01 -0000 >Number: 137168 >Category: docs >Synopsis: asmc(4) documents dev.asmc.%d.light.control sysctl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 10:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patrick Lamaiziere >Release: 8.0-CURRENT/i386 >Organization: >Environment: FreeBSD baby-jane.lamaiziere.net 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Tue Jul 21 08:04:55 CEST 2009 patrick@baby-jane.lamaiziere.net:/usr/obj/usr/src/sys/BABY-JANE i386 >Description: The description of the sysctl dev.asmc.%d.light.control (to set the light of the keyboard) is missing in the manual page. >How-To-Repeat: >Fix: See the attached patch (feel free to fix my english thanks) Patch attached with submission follows: --- asmc.4.old 2009-07-27 11:16:50.000000000 +0200 +++ asmc.4 2009-07-27 12:04:55.000000000 +0200 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD: src/share/man/man4/asmc.4,v 1.4 2008/04/07 11:27:16 rpaulo Exp $ .\" -.Dd April 7, 2008 +.Dd July 27, 2009 .Dt ASMC 4 .Os .Sh NAME @@ -72,15 +72,18 @@ .Sh KEYBOARD BACKLIGHT On .Tn MacBook Pro -systems, you can control the keyboard brightness by writing values to +systems, you can control the keyboard brightness by writing value to the +.Va dev.asmc.%d.light.control +sysctl MIB +.Pp +Each of these sysctl MIBs contains the raw value returned by the left +and right light sensors: .Va dev.asmc.%d.light.left or .Va dev.asmc.%d.light.right sysctl MIBs. .Pp -Each of these sysctl MIBs contains the raw value returned by the left -and right light sensors. .Sh TEMPERATURES The number of temperature sensors and their description varies among systems. >Release-Note: >Audit-Trail: >Unformatted: