From: Kay Sievers <kay.sievers@vrfy.org>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Philipp Kohlbecher <xt28@gmx.de>,
Alessandro Zummo <a.zummo@towertech.it>,
rtc-linux@googlegroups.com, Vojtech Pavlik <vojtech@ucw.cz>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Jiri Kosina <jkosina@suse.cz>,
linux-input@vger.kernel.org, Pau Oliva Fora <pof@eslack.org>,
Hans Verkuil <hverkuil@xs4all.nl>,
"David S. Miller" <davem@davemloft.net>,
Jaroslav Kysela <perex@perex.cz>, Adam Belay <abelay@mit.edu>,
Len Brown <lenb@kernel.org>,
Jonathan Woithe <jwoithe@physics.adelaide.edu.au>,
Carlos Corbacho <carlos@strangeworlds.co.uk>,
linux-acpi@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Make PNP IDs all uppercase
Date: Wed, 21 Jan 2009 18:30:08 +0100 [thread overview]
Message-ID: <ac3eb2510901210930r1d9f0609w86bddbb6b363c79a@mail.gmail.com> (raw)
In-Reply-To: <200901211009.48191.bjorn.helgaas@hp.com>
On Wed, Jan 21, 2009 at 18:09, Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:
> On Wednesday 21 January 2009 12:56:07 am Philipp Kohlbecher wrote:
>> Bjorn Helgaas wrote:
>> > Did you trip over an actual problem that is fixed by this patch? If
>> > so, can you give any more details?
>>
>> Yes. After a package update, hwclock stopped using the "--directisa"
>> switch and could not access the RTC anymore. My RTC is handled by
>> rtc-cmos, which is compiled as a module. However, udev did not load this
>> module, as the device's modalias "acpi:PNP0B00:" did not match any of
>> the module's aliasas, including "acpi*:PNP0b00:*". Thus, the system
>> clock was not set correctly at startup (my hardware clock is set to
>> local time). Changing the PNP IDs in drivers/rtc/rtc-cmos.c to use
>> uppercase hex digits solved that problem for me.
>
> Nice work debugging that problem! I would include that synopsis in
> the changelog, because it helps people who trip over the same problem
> and are looking for a solution, and it helps people who want to
> understand why the change was made.
We uppercase all acpi alias strings now, so that should be solved:
http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f=driver-core.current/pnp-fix-broken-pnp-lowercasing-for-acpi-module-aliases.patch;hb=HEAD
Kay
next prev parent reply other threads:[~2009-01-21 17:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <49733678.40006@gmx.de>
2009-01-21 0:42 ` [PATCH] Make PNP IDs all uppercase Bjorn Helgaas
2009-01-21 7:56 ` Philipp Kohlbecher
2009-01-21 8:18 ` Alessandro Zummo
2009-01-21 17:09 ` Bjorn Helgaas
2009-01-21 17:30 ` Kay Sievers [this message]
2009-01-22 23:03 ` Carlos Corbacho
2009-01-18 14:02 Philipp Kohlbecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ac3eb2510901210930r1d9f0609w86bddbb6b363c79a@mail.gmail.com \
--to=kay.sievers@vrfy.org \
--cc=a.zummo@towertech.it \
--cc=abelay@mit.edu \
--cc=bjorn.helgaas@hp.com \
--cc=carlos@strangeworlds.co.uk \
--cc=davem@davemloft.net \
--cc=dmitry.torokhov@gmail.com \
--cc=hpa@zytor.com \
--cc=hverkuil@xs4all.nl \
--cc=jkosina@suse.cz \
--cc=jwoithe@physics.adelaide.edu.au \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=perex@perex.cz \
--cc=pof@eslack.org \
--cc=rtc-linux@googlegroups.com \
--cc=tglx@linutronix.de \
--cc=vojtech@ucw.cz \
--cc=xt28@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).