From owner-freebsd-current@FreeBSD.ORG Sun Feb 1 14:49:10 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 87074B85; Sun, 1 Feb 2015 14:49:10 +0000 (UTC) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 439D0D2C; Sun, 1 Feb 2015 14:49:10 +0000 (UTC) Received: by mail-ig0-f179.google.com with SMTP id l13so12078872iga.0; Sun, 01 Feb 2015 06:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=S2CTWcvncS8rZY7aPmdyp4xuBhBTAyql4IXyfg1KiY8=; b=wGdnXGC1qicltNCVQk3i+4lmWKmx+nWBxiCJ/LB82b2tyaoMnPUzi5Io+c4nGhVogD l5Nq4IgsSb6xVr0Zod6N5d95pJ7sJhorz0NCDu7Y/L8o6xqq/QsHAKpMEobZTSCGs4lV //LDT0t41FfJakptqTZ3SDbtlDdHihK+MiwClm1bSsVGtn6usvplKonvn5/Lpqb71L7E EvniUCX38mleXUnexgnp21eJKfsDkd/GVI/Qm48Z84P2Nu7QPeUSKQ6hxwQ6nWoI3Qxg a4M6S1brkBmR4RnDummhdLp02HLzHRL/V2MBSVLBELeGNSebl3GNQTEgeUcHq+QbvV4N PN8Q== X-Received: by 10.50.108.108 with SMTP id hj12mr6979584igb.47.1422802149743; Sun, 01 Feb 2015 06:49:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.236.106 with HTTP; Sun, 1 Feb 2015 06:48:49 -0800 (PST) In-Reply-To: References: <54C883E7.4000300@interlinked.me> <54CC57CE.2080001@interlinked.me> <54CC7288.3040409@interlinked.me> <54CC8FF7.4020507@interlinked.me> <54CD555E.9060101@shurik.kiev.ua> From: Miguel Clara Date: Sun, 1 Feb 2015 14:48:49 +0000 Message-ID: Subject: Re: Questions on adding backlight support for the i915 driver To: Alexandr Krivulya Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Adrian Chadd , freebsd-current , Konstantin Belousov , Justin Hibbits , Elizabeth Myers 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 14:49:10 -0000 On Sun, Feb 1, 2015 at 2:47 PM, Miguel Clara wrote= : > > On Sat, Jan 31, 2015 at 10:21 PM, Alexandr Krivulya < > shuriku@shurik.kiev.ua> wrote: > >> 31.01.2015 10:30, Miguel Clara =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> > On Sat, Jan 31, 2015 at 8:19 AM, Elizabeth Myers < >> elizabeth@interlinked.me> >> > wrote: >> > >> >> On 01/31/15 02:15, Miguel Clara wrote: >> >>> Working fine on a HP running current as I've noted in the other thre= ad >> >>> as for the keys. >> >>> This one (and most HP Pavillion models) use the Fn+F(2/3) but the >> keys, >> >>> and my Acer (and I think not all are like this) use "Fn+<-/->" >> >> If your keys work (as in, they do things in FreeBSD), does sysctl and >> >> the keys work together just fine with no weird effects? >> >> >> >> The only weird problem I could possibly think of that could come up i= s >> >> that the keys do a simple add/subtract to the PCM values, and so the >> >> brightness ends up wrong. See if that happens. >> >> >> >> >> > Well, in the HP the keys don't do nothing it seems not even "xev" >> reports >> > anything when I use them, but they could be wrongly mapped maybe... >> > >> > On the acer I do see keycodes from xev, but Im using lumina and If I >> try to >> > map them to anything it doesn't work... I'll see what happens after >> reboot >> > though. >> > >> > >> All works fine (sysctl and Fn-keys) on my Thinkpad E530 with IvyBridge! >> > > I my case it seems the issue wih the keys is that FreeBSD doesn't really > "know about them". > > In the Acer laptop, it compiled and installed fine, and after reboot the > sysctl works awesome, but I add to map the keycodes in fluxbox: > None 239 :Exec intel_backlight decr > None 123 :Exec intel_backlight incr > > I use the intel_backlight program still cause its easier to send the > "decr" and "incr". > > Forgot to add The acer is running FreeBSD 10 (stable/10) so eventually this could be merged!