Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2015 18:31:57 +0530
From:      Avinash Sonawane <rootkea@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Brightness control in FreeBSD 10.1-RELEASE
Message-ID:  <CAJ9BSW8RnL9EYc_YjWRAY7t5AxP4BCsWPbGgqPeEvCGw6Ljq8g@mail.gmail.com>
In-Reply-To: <20150521143734.91ac3a30.freebsd@edvax.de>
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> <20150521140123.a18aadc2.freebsd@edvax.de> <CAJ9BSW_uWFMB2=LD7=GMTDm3wGD%2BHz5HYuU2YgY89tgpOExVAw@mail.gmail.com> <20150521143734.91ac3a30.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 21, 2015 at 6:07 PM, Polytropon <freebsd@edvax.de> wrote:

> This is only for one of the keys (code 133), what about the
> other one?

For other one I got same never ending loop.
I guess these are the relevant specifics:

KeyRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436),
    state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES,
    XLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436),
    state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES,
    XLookupString gives 1 bytes: (2e) "."
    XmbLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

> If you find a way to modify screen brightness using a command,
> you can use xmodmap and xbindkeys to connect that command to
> a keypress of that key.

I guess that'll work. I am looking at `man acpi_video` which talks
about sysctling brightness variables.

-- 
Avinash Sonawane (RootKea)
PICT, Pune
http://rootkea.wordpress.com



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