Date: Sun, 1 Feb 2015 14:47:35 +0000 From: Miguel Clara <miguelmclara@gmail.com> To: Alexandr Krivulya <shuriku@shurik.kiev.ua> Cc: Adrian Chadd <adrian@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>, Konstantin Belousov <kib@freebsd.org>, Justin Hibbits <jrh29@alumni.cwru.edu>, Elizabeth Myers <elizabeth@interlinked.me> Subject: Re: Questions on adding backlight support for the i915 driver Message-ID: <CADGo8CUt3M-sUctZO3thPzrf1ca9VmD6t0o-hpNW_TjqezcTBQ@mail.gmail.com> In-Reply-To: <54CD555E.9060101@shurik.kiev.ua> References: <54C883E7.4000300@interlinked.me> <CAJ-Vmokw2FqLHMkc%2B0MDsDxChMC68KdkvO43qhFztTZf8F89Mg@mail.gmail.com> <CAHSQbTCrU-8kYpNoL_UiNd1PHtSG8sPnt8jRfGvEOZEWa_G4FA@mail.gmail.com> <54CC57CE.2080001@interlinked.me> <CAJ-VmonuAC9YFXR8jai5%2BKdW5q2x%2BjVVEABP0zRXiwHyWAC8pA@mail.gmail.com> <54CC7288.3040409@interlinked.me> <CAJ-Vmo=HsO9usEN2r_7EP-NvBBLUyUciX%2BQUuhT0FzRZWtONcQ@mail.gmail.com> <CADGo8CW8oKZTxpSrxuDMSdnrEGen%2BTah2Tr7Dnfeu9RGin0y4A@mail.gmail.com> <54CC8FF7.4020507@interlinked.me> <CADGo8CV6RDCwbdVE=nKRuMUxFgY_m_-592LeW132zT49ejvXPQ@mail.gmail.com> <54CD555E.9060101@shurik.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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 threa= d > >>> as for the keys. > >>> This one (and most HP Pavillion models) use the Fn+F(2/3) but the key= s, > >>> 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 is > >> 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" repor= ts > > 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 tr= y > 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".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CUt3M-sUctZO3thPzrf1ca9VmD6t0o-hpNW_TjqezcTBQ>