From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 28 23:21:17 2009 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29999106564A for ; Sun, 28 Jun 2009 23:21:17 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id BC08E8FC0C for ; Sun, 28 Jun 2009 23:21:16 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from igor.geek.sh (unknown [196.209.243.224]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.geek.sh (Postfix) with ESMTPSA id DF4DD3A654; Mon, 29 Jun 2009 01:03:40 +0200 (SAST) Message-ID: <4A47F6CA.2050304@phat.za.net> Date: Mon, 29 Jun 2009 01:03:38 +0200 From: Aragon Gouveia User-Agent: Thunderbird 2.0.0.21 (X11/20090331) MIME-Version: 1.0 To: vova@fbsd.ru References: <1245773234.11855.22.camel@localhost> <4A451FE9.60002@freebsd.org> <1246052273.2303.6.camel@localhost> In-Reply-To: <1246052273.2303.6.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: mobile Subject: Re: dbus and system events - howto X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 23:21:17 -0000 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