From: Henrique de Moraes Holschuh Subject: Re: ThinkPad ACPI and BIOS option interface Date: Mon, 28 Dec 2015 11:06:53 -0200 Message-ID: <1451308013.2011008.477636498.1353AE39@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58561 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751915AbbL1NGy convert rfc822-to-8bit (ORCPT ); Mon, 28 Dec 2015 08:06:54 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0DEF52060F for ; Mon, 28 Dec 2015 08:06:54 -0500 (EST) Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Philipp Kern , platform-driver-x86@vger.kernel.org (re-send with all HTML stripped for vger.k.o): On Mon, Dec 28, 2015, at 10:35, Philipp Kern wrote: > I wrote a kernel module that allows access to BIOS options on Lenovo = machines using the WMI interface originally intended for Windows and do= cumented on https://support.lenovo.com/us/en/documents/ht100612. In the= ory this applies to both laptops and desktops of the Think series, howe= ver at this point I only care about and tested it on multiple laptops. >=20 > Now I have a few questions where I'd need some guidance: >=20 > * Should this live as a part of thinkpad_acpi.c, or should this be a = separate module? If so, should it live as lenovo-wmi.c, even though it = is unclear if non-Think-branded products can make use of it? Module aut= oload could be keyed off the WMI interface, but then the generic name m= ight hurt again=E2=80=A6 IMHO, it could live as a separate module, and you could name it something like tp-bioswmi or lenovo-bioswmi, or even a mix of the two (lenovo-tpbioswmi?). Autoloading will do its job, so it should be mostl= y transparent to users anyway, and we don't need to care that much if the module has an awkward name, as long as it is not *confusing* :p > * I wrote it so that individual BIOS options are (currrently) exposed= as /sys/devices/virtual/lenovowmi/