From owner-freebsd-acpi@FreeBSD.ORG Wed May 7 13:51:21 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 255822D8; Wed, 7 May 2014 13:51:21 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D7E58B5A; Wed, 7 May 2014 13:51:20 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 4DECF6A600D; Wed, 7 May 2014 15:51:18 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id s47DpI7n094353; Wed, 7 May 2014 15:51:18 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id s47DpHZk093622; Wed, 7 May 2014 15:51:17 +0200 (CEST) (envelope-from lars) Date: Wed, 7 May 2014 15:51:17 +0200 From: Lars Engels To: Adrian Chadd Subject: Re: Emitting keyboard events Message-ID: <20140507135117.GL1451@e-new.0x20.net> References: <20140501205706.GA6007@coyotlan.Tlalpan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p4 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: rpaulo@freebsd.org, "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 13:51:21 -0000 On Tue, May 06, 2014 at 04:12:28PM -0700, Adrian Chadd wrote: > Just to follow up - I'd love to know how the hell to do this too. > acpi_ibm needs some updating. :( >=20 >=20 > -a >=20 >=20 > On 1 May 2014 13:57, X=C4=ABc=C3=B2 wrote: > > Dear freebsd-acpi, > > > > Being a systemd refugee, I am trying to setup FreeBSD on several > > machines here. As a first question, I cannot find any driver to handle > > the hotkeys on a 2011 Sony VPCZ2. sys/dev/acpi_support/acpi_sony.c only > > contains backlight support for old laptops. Is anyone aware of such a > > driver? > > > > In any case, I started playing a bit with ACPI in a module, and have > > been able to register a handler for the hotkeys, and decode the > > associated events. Unfortunately, I have no idead of what I could do > > with them. At some point, I would like Xorg to receive keyboard events, > > such as XF86MonBrightnessUp, but I lack the knowledge on how to emit > > that from kernel space. > > > > Thank you for your help! > > > > Best, > > IIRC Rui (CC'ed) did some work on implementing new ACPI key events in acpi_asus for the first EeePC.