From owner-freebsd-current@FreeBSD.ORG Sun Feb 1 09:35:23 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 804791DD for ; Sun, 1 Feb 2015 09:35:23 +0000 (UTC) Received: from mail.wilcox-tech.com (mail.foxkit.us [192.99.209.192]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.wilcox-tech.com", Issuer "mail.wilcox-tech.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 30DCCD0B for ; Sun, 1 Feb 2015 09:35:22 +0000 (UTC) Received: (qmail 15237 invoked from network); 1 Feb 2015 09:36:39 -0000 Received: from c-71-57-141-247.hsd1.fl.comcast.net (HELO Todd) (AWilcox@Wilcox-Tech.com@71.57.141.247) by mail.foxkit.us with ESMTPA; 1 Feb 2015 09:36:39 -0000 From: "Andrew Wilcox" To: "'Lars Engels'" References: <000e01d039fb$d5959930$80c0cb90$@Wilcox-Tech.com> <009501d03acb$4f380d70$eda82850$@Wilcox-Tech.com> <54CA7949.6060202@shurik.kiev.ua> <20150201091821.GN41565@e-new.0x20.net> In-Reply-To: <20150201091821.GN41565@e-new.0x20.net> Subject: RE: drm2 regression: backlight adjustment on ivybridge no longer works Date: Sun, 1 Feb 2015 03:35:15 -0600 Message-ID: <004001d03e02$62d7f040$2887d0c0$@Wilcox-Tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIkD3QRswOKHk1/aLD21PpFfsdgwgGR9mCRAv4GIYoBQ/0CWQFVsuEzAdu6yxICF+RyFwHU1tELAhApZbkBHhSMQQFipJRdm6fJWEA= Content-Language: en-gb Cc: 'freebsd-current' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2015 09:35:23 -0000 Lars Engels sent: 01 February 2015 03:18: > With acpi_video I get some interesting sysctl: > hw.acpi.video.lcd0.levels: 100 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 = 15 > 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 = 39 > 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 = 63 > 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 = 87 > 88 89 90 91 92 93 94 95 96 97 98 99 100 >=20 > I guess it should not be 100 100 0 ... 100? Actually, the "standard" internal ACPI brightness level struct (BRTN in = the DSDT) is laid out as: * "Full power" value (one byte, the value at which the brightness should = be set on AC by default) * "Economy" value (one byte, the value at which the brightness should be = set on battery by default) * Actual values (N bytes, up to Max but frequently not) So, no, that value indeed sounds correct. On my laptop the value is: 80 47 0 7 13 20 27 33 40 47 53 60 67 73 80 87 93 100 What revision of -CURRENT are you running? What is the outcome of = trying the patch posted Saturday morning (UTC) from Elizabeth Myers = (message ID <54CC5311.9070604@interlinked.me>)? Andrew -- Andrew Wilcox, C/C++/Python developer, kernel hacker Blog: http://blog.foxkit.us/ WWW: http://foxkit.us/ GitHub: https://github.com/awilfox