From owner-freebsd-current@FreeBSD.ORG Sat Jan 31 06:17:09 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 CB2EA415; Sat, 31 Jan 2015 06:17:09 +0000 (UTC) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90027119; Sat, 31 Jan 2015 06:17:09 +0000 (UTC) Received: by mail-ig0-f172.google.com with SMTP id l13so8131258iga.5; Fri, 30 Jan 2015 22:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5m55nEY29BNKPDaRPMjmVM+RH+czSWiTuVPf9TrPGuI=; b=gfj8vRFa6afcDpTjqqDL6ZFxcjdwq7ppT8EGTI0Pf68sawIKM6lEDq4LJTiEHCk1NW UBJ5cMUhC7z+7nNBr9A/wIYpFxlKYvtSdKFwA+dNqTgNrR2vpQiR8dVVZtJg2N6RSGKf NPtlRY5paMbnn4nMAhezz5V6yBEOQUgF2WFPxQAtU18KCexv3SPjKeCkwkMS7jh0DmaN jE7WgSHV5bOidceDqBBk/NBbyh+6Tv1sktRcXag2cChQyCIFlTsK9JRx+M9mlD+gZfSE zjojxiCEnFwfjV8VFmoNQ4Wl4xOuNgrsdky8ESbrU7UfiUrFoDau6li9CMlzrr6XqUoq M3gA== MIME-Version: 1.0 X-Received: by 10.107.31.16 with SMTP id f16mr6658120iof.88.1422685028960; Fri, 30 Jan 2015 22:17:08 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.78.14 with HTTP; Fri, 30 Jan 2015 22:17:08 -0800 (PST) In-Reply-To: <54CC7288.3040409@interlinked.me> References: <54C883E7.4000300@interlinked.me> <54CC57CE.2080001@interlinked.me> <54CC7288.3040409@interlinked.me> Date: Fri, 30 Jan 2015 22:17:08 -0800 X-Google-Sender-Auth: ibnR7OW552ajWepWw4Ib7F5dDJc Message-ID: Subject: Re: Questions on adding backlight support for the i915 driver From: Adrian Chadd To: Elizabeth Myers Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current , Konstantin Belousov , 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:17:09 -0000 On 30 January 2015 at 22:13, Elizabeth Myers wrote: > 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. *nod* cool. I don't have any Dell hardware and I have no idea how any of that holds together. :( I'll wait and see what kib/jhb say and if there aren't any issues I'll commit your i915 debug patch. -adrian