From owner-freebsd-questions@FreeBSD.ORG Wed Sep 4 08:30:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 467632CB for ; Wed, 4 Sep 2013 08:30:54 +0000 (UTC) (envelope-from matthias@petermann-it.de) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 0303F2E75 for ; Wed, 4 Sep 2013 08:30:53 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 8917584F25BA for ; Wed, 4 Sep 2013 10:30:46 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id gkSVMUI5yBJZ for ; Wed, 4 Sep 2013 10:30:44 +0200 (CEST) Received: from www.s1.d2ux.org (unknown [10.0.0.4]) by mail.s1.d2ux.org (Postfix) with ESMTP id 614BC84F2589 for ; Wed, 4 Sep 2013 10:30:44 +0200 (CEST) Received: from 188.92.33.52 ([188.92.33.52]) by d2ux.org (Horde Framework) with HTTP; Wed, 04 Sep 2013 10:30:44 +0200 Date: Wed, 04 Sep 2013 10:30:44 +0200 Message-ID: <20130904103044.Horde.cIfa0FIz0Yk1WO9-khv0NQ1@d2ux.org> From: Matthias Petermann To: freebsd-questions@freebsd.org Subject: Re: Intel graphics card brightness control issue References: In-Reply-To: User-Agent: Internet Messaging Program (IMP) H5 (6.1.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Sep 2013 08:30:54 -0000 Hi Ethan, Zitat von "Ethan W. House" : > What could be causing my brightness control to not work on my Intel > graphics card. The acpi values change but no effect takes place. > > ehouse@derpy ~ $ sudo sysctl hw.acpi.video.lcd0.brightness=50 > hw.acpi.video.lcd0.brightness: 100 -> 50 > ehouse@derpy ~ $ sudo sysctl hw.acpi.video.lcd0.active=1 > hw.acpi.video.lcd0.active: 0 -> 0 > > I also have an issue were upon resume by machine reboots. I believe the two > might be related but I am not sure. > > I found a couple of other email chains with similar issues but most of them > have been inactive for more then a year. Which Laptop model do you have? This issue appears a bit familiar to me[1] - I have the same on my Thinkpad. As a workaround you could try to change the brightness by direct ACPI calls. Preparation: * install sysutils/acpi_call * kldload acpi_call Change brightness: * acpi_call -p '\VBRU' (Brightness Up) * acpi_call -p '\VBRD' (Brightness Down) It might be that these calls are specific to Thinkpads, not sure if they work with others. You can try to find out with acpidump[1]. Kind regards, Matthias [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=amd64/181357 [2] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html -- Matthias Petermann Ihr Partner für anspruchsvolle IT-Lösungen www.petermann-it.de - lösungsorientiert, innovativ und erfolgreich