From owner-freebsd-acpi@freebsd.org Sun Jul 17 12:00:29 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 113F2B9B88D for ; Sun, 17 Jul 2016 12:00:29 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from mail.metricspace.net (mail.metricspace.net [IPv6:2001:470:1f11:617::107]) by mx1.freebsd.org (Postfix) with ESMTP id D27BF1701 for ; Sun, 17 Jul 2016 12:00:28 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from [IPv6:2001:470:1f11:617:3210:b3ff:fe77:becd] (unknown [IPv6:2001:470:1f11:617:3210:b3ff:fe77:becd]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: eric) by mail.metricspace.net (Postfix) with ESMTPSA id 8D68E1C12 for ; Sun, 17 Jul 2016 12:00:22 +0000 (UTC) To: freebsd-acpi@freebsd.org From: Eric McCorkle Subject: Adding platform ACPI extras - getting started Message-ID: Date: Sun, 17 Jul 2016 08:00:17 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OgXITgrA0j25a6BKVi4rwqxPBUG96iwK2" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2016 12:00:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OgXITgrA0j25a6BKVi4rwqxPBUG96iwK2 Content-Type: multipart/mixed; boundary="tRmP0lEbTKqIPTj9KHEM3BPOj9RqU0lNn" From: Eric McCorkle To: freebsd-acpi@freebsd.org Message-ID: Subject: Adding platform ACPI extras - getting started --tRmP0lEbTKqIPTj9KHEM3BPOj9RqU0lNn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello everyone, I'm looking into what it would take to add support for various bits of functionality on my platform (Purism's Librem laptops). Specific things I'm looking to do are the following: * Screen brightness support (the brightness sysctls don't currently do anything when changed) * If possible, ambient light detection. * Hotkeys. Some presently work, others don't. Here are the ones I'd like to get working: * Suspend button * Volume up, down, and mute buttons * Video output switch * Bluetooth/wireless enable/disable * Brightness adjust I'm willing to write a driver in the style of acpi_ibm and others if necessary; however, I just need some pointers as to whether that's necessary and if so, how to get started. Thanks, Eric --tRmP0lEbTKqIPTj9KHEM3BPOj9RqU0lNn-- --OgXITgrA0j25a6BKVi4rwqxPBUG96iwK2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EARYIAAYFAleLc1UACgkQVsKIQKqABI0qWAEAz/Las1VfREoqtTwzZaIxSFHf TF1fuUTmaxC6Iqpfg6gA/jw69/bnYRPySeAfH2y0VFqKkm/h1VRfycE8QQyRZJML =I9yw -----END PGP SIGNATURE----- --OgXITgrA0j25a6BKVi4rwqxPBUG96iwK2--