Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 01:03:38 +0200
From:      Aragon Gouveia <aragon@phat.za.net>
To:        vova@fbsd.ru
Cc:        mobile <mobile@freebsd.org>
Subject:   Re: dbus and system events - howto
Message-ID:  <4A47F6CA.2050304@phat.za.net>
In-Reply-To: <1246052273.2303.6.camel@localhost>
References:  <1245773234.11855.22.camel@localhost> <4A451FE9.60002@freebsd.org> <1246052273.2303.6.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Vladimir Grebenschikov wrote:
> This will work only in case when volume keys generate keyboard events.
> In my case they generate devd events, as well as brightness keys.
> 
> That's why I am seeking a way to send appropriate events to dbus.

For adjusting screen brightness without X you might consider 
acpi_video(4).  If it works on your system you can short circuit X 
completely and just let devd adjust the brightness via sysctl.  The only 
downside is it does not have a fade effect like xbacklight.


Regards,
Aragon



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