From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Corbacho Subject: Re: [PATCH] Make PNP IDs all uppercase Date: Thu, 22 Jan 2009 23:03:38 +0000 Message-ID: <200901222303.41737.carlos@strangeworlds.co.uk> References: <49733678.40006@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from phoenix.slamd64.com ([217.10.145.2]:41784 "EHLO phoenix.slamd64.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757612AbZAVXG2 (ORCPT ); Thu, 22 Jan 2009 18:06:28 -0500 In-Reply-To: <49733678.40006@gmx.de> Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Philipp Kohlbecher Cc: Alessandro Zummo , rtc-linux@googlegroups.com, Vojtech Pavlik , Dmitry Torokhov , Jiri Kosina , linux-input@vger.kernel.org, Pau Oliva Fora , Hans Verkuil , "David S. Miller" , Jaroslav Kysela , Adam Belay , Bjorn Helgaas , Len Brown , Jonathan Woithe , linux-acpi@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org On Sunday 18 January 2009 14:02:32 Philipp Kohlbecher wrote: > If I understand correctly, ACPI _HIDs (including PNP IDs) should be all > uppercase, including the hex digits, cf. ACPI Specification 3.0b [1], > pp. 162-3 and acpi_glb_hex_to_ascii[] in drivers/acpi/utilities/utglobal.c. ACPI-WMI violates the spec here. > diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c > index 8a8b377..79b8af7 100644 > --- a/drivers/platform/x86/wmi.c > +++ b/drivers/platform/x86/wmi.c > @@ -84,7 +84,7 @@ static int acpi_wmi_add(struct acpi_device *device); > > static const struct acpi_device_id wmi_device_ids[] = { > {"PNP0C14", 0}, > - {"pnp0c14", 0}, > + {"PNP0C14", 0}, > {"", 0}, > }; > MODULE_DEVICE_TABLE(acpi, wmi_device_ids); > diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c > index 8473fe5..18c9335 100644 NAK to the ACPI-WMI changes. There really is a pnp0c14 and a PNP0C14, and removing the lower case version breaks ACPI-WMI on my laptop. -Carlos -- E-Mail: carlos@strangeworlds.co.uk Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D