From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 21 12:33:51 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AE617A7; Tue, 21 Oct 2014 12:33:51 +0000 (UTC) Received: from puchar.net (puchar.net [188.252.31.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "puchar.net", Issuer "puchar.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 230EF6C8; Tue, 21 Oct 2014 12:33:50 +0000 (UTC) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.14.9/8.14.9) with ESMTP id s9LCXcbG001744; Tue, 21 Oct 2014 14:33:40 +0200 (CEST) (envelope-from wojtek@puchar.net) Date: Tue, 21 Oct 2014 14:33:34 +0200 (CEST) From: Wojciech Puchar X-X-Sender: wojtek@laptop To: Adrian Chadd Subject: Re: help with backlight control and memory In-Reply-To: Message-ID: References: <20141019102848.GR72082@e-new.0x20.net> <86d29ot9dg.fsf@aguiar.info> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (puchar.net [10.0.1.1]); Tue, 21 Oct 2014 14:33:40 +0200 (CEST) Cc: "freebsd-hackers@freebsd.org" , Renato Aguiar , Lars Engels X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 12:33:51 -0000 OK so for now i will just keep it as is. it's not really a big deal On Sun, 19 Oct 2014, Adrian Chadd wrote: > Is this running the latest -HEAD? > > Yes, some extra code was glued into the i915kms / drm2 code from Linux > that correctly selected the right video output device for the > brightness controls. (the opcontrol patch that I committed a couple > months back.) > > The buttons don't work on my X series laptop, but the sysctl does. the > buttons work for others on other X series laptops. It's likely some > more ACPI and i915kms things need porting. > > > > -a > > > On 19 October 2014 07:34, Renato Aguiar wrote: >> Hi Lars, >> >> On my X230 I only can change brightness calling acpi directly using >> acpi_call. Did you make some additional configuration to be able to use >> sysctl to control brightness? >> >> Thanks, >> >> Lars Engels writes: >> >>> On Sat, Oct 18, 2014 at 11:03:38PM +0200, Wojciech Puchar wrote: >>>> tried. jsut after kernel is loaded backlight control keys stops working. >>>> tried loading every acpi_* kernel module that is available, with no >>>> results >>> >>> On my X230 running HEAD brightness keys only work when acpi_video.ko is >>> _not_ loaded. When it is loaded, I can control brightness with sysctl, >>> though. >> >> -- >> Renato Aguiar > >