Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2015 14:01:23 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Avinash Sonawane <rootkea@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Brightness control in FreeBSD 10.1-RELEASE
Message-ID:  <20150521140123.a18aadc2.freebsd@edvax.de>
In-Reply-To: <CAJ9BSW_Pf5BkL2TJfChy69k9ndCq_4Vku=ExTFFa5RbeWjHbkg@mail.gmail.com>
References:  <CAJ9BSW-w6YvA71zu=zV2e_r4Lg78tCPahCc2_6CBkEDdmairFw@mail.gmail.com> <CAJ-VmomybDZX54aP1UWCZvw-H-JUmbbTaocmg4X_kHw7-E1mzg@mail.gmail.com> <CAJ9BSW_Pf5BkL2TJfChy69k9ndCq_4Vku=ExTFFa5RbeWjHbkg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 May 2015 17:17:45 +0530, Avinash Sonawane wrote:
> Another observation:
> I can change the brightness (increase/decrease) while FreeBSD is
> booting so it looks like FreeBSD does properly loads the driver
> controlling the brightness change. (?)

Is this really a thing of "driver"? Yes, I know: "Modern" laptops
use software to "connect" the keys to the brightness, whereas old
laptops did that "in hardware" somehow - independent from the OS,
even working in BIOS or during bluescreens.

I could imagine that somehow, when the OS and the GUI is loaded,
the keys designed to adjust brightness emit a "normal" key code
that the GUI (here: X's keyboard input machanism) picks up and
does something stupid with it. You can easily check for that
possibility: install the "xev" (X event viewer) port and press
those keys. Look for "KeyPress" entries. What happens?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150521140123.a18aadc2.freebsd>