Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2014 18:56:35 -0400
From:      Anthony Jenkins <Scoobi_doo@yahoo.com>
To:        =?UTF-8?B?WMSrY8Oy?= <xico@atelo.org>, freebsd-acpi@freebsd.org
Subject:   Re: Emitting keyboard events
Message-ID:  <5362D123.9040505@yahoo.com>
In-Reply-To: <20140501205706.GA6007@coyotlan.Tlalpan>
References:  <20140501205706.GA6007@coyotlan.Tlalpan>

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


On 05/01/2014 16:57, Xīcò 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.
No idea how hard this would be, or if it's the right way to go, but I'm picturing an ACPI keyboard driver that consumes keyboard events from ACPI and can attach to the keyboard multiplexer device kbdmux(4).    Your ACPI mods for your machine would inject events into it (if it's loaded).  That'd be modular and pretty self-contained and could be extended to support other machines.

--
Anthony Jenkins

> Thank you for your help!
>
> Best,
>
> --
> Xīcò
> _______________________________________________
> freebsd-acpi@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org"




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