From owner-freebsd-current@FreeBSD.ORG Sat Jan 31 06:13:34 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 3932D298 for ; Sat, 31 Jan 2015 06:13:34 +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 CA4F6F1 for ; Sat, 31 Jan 2015 06:13:32 +0000 (UTC) Received: (qmail 29860 invoked from network); 31 Jan 2015 06:14:48 -0000 Received: from ip68-13-243-137.ok.ok.cox.net (HELO ?192.168.1.253?) (emyers@wilcox-tech.com@68.13.243.137) by mail.foxkit.us with ESMTPA; 31 Jan 2015 06:14:48 -0000 Message-ID: <54CC7288.3040409@interlinked.me> Date: Sat, 31 Jan 2015 00:13:28 -0600 From: Elizabeth Myers User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Adrian Chadd , Konstantin Belousov Subject: Re: Questions on adding backlight support for the i915 driver References: <54C883E7.4000300@interlinked.me> <54CC57CE.2080001@interlinked.me> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current , Justin Hibbits 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: Sat, 31 Jan 2015 06:13:34 -0000 On 01/30/15 23:20, Adrian Chadd wrote: > Do you have brightness buttons anywhere? What happens when you set it > through this API and then you use the backlight buttons? I do, but FreeBSD doesn't have the needed WMI doodads to interact with this, nor do I have the needed Dell laptop doodads in the kernel to test otherwise. To get /those/ working will require something else entirely. I have been looking at the Linux drivers: https://github.com/torvalds/linux/blob/master/drivers/platform/x86/dell-wmi.c https://github.com/torvalds/linux/blob/master/drivers/platform/x86/dell-laptop.c I'll save those for another day though, this is a bit off-topic. If anyone else has laptop keys I'd like to see how they interact too. -- Cheers, Elizabeth