From: "Kay Sievers" <kay.sievers@vrfy.org>
To: "Bjorn Helgaas" <bjorn.helgaas@hp.com>
Cc: ambx1@neo.rr.com, elendil@planet.nl, trenn@suse.de,
akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
tpm@selhorst.net, rjw@sisk.pl, greg@kroah.com
Subject: Re: char/tpm: tpm_infineon no longer loaded for HP 2510p laptop
Date: Sat, 4 Oct 2008 18:27:49 +0200 [thread overview]
Message-ID: <ac3eb2510810040927s475c370ek7cc597309e35fa8f@mail.gmail.com> (raw)
In-Reply-To: <200810040931.44067.bjorn.helgaas@hp.com>
On Sat, Oct 4, 2008 at 5:31 PM, Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:
> On Saturday 04 October 2008 6:09:38 am Kay Sievers wrote:
>> On Sat, Oct 4, 2008 at 12:01 AM, Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:
>> > On Friday 22 August 2008 06:43:05 am Kay Sievers wrote:
>> >> On Fri, 2008-08-22 at 06:06 -0600, Bjorn Helgaas wrote:
>> >> > Since PNP currently doesn't generate any uevents or modalias files,
>> >> > I expect that a non-ACPI system will be unable to autoload modules
>> >> > for ISAPNP or PNPBIOS devices. Right?
>> >>
>> >> They do create events, but without modalias. The shell script hack,
>> >> which udev runs, will make the event behave like it contained one.
>> >
>> > I'm finally looking at this again; sorry for the long hiatus. I'm
>> > working on a patch to add PNP uevent support, modalias sysfs files
>> > for PNP, and file2alias.c changes to match, and I just want to
>> > make sure I'm understanding this correctly.
>>
>> Sounds good, just in mind, that there are custom modprobe configs out
>> there, that rely on the current pnp alias format, like:
>> alias pnp:dPNP0510 irtty-sir
>> alias pnp:dPNP0511 irtty-sir
>> alias pnp:dPNP0700 floppy
>> alias pnp:dPNP0303 atkbd
>> alias pnp:dPNP0f13 psmouse
>> ...
>> We should make sure, that this still works, which wouldn't if we just
>> do the acpi style aliases.
>
> My thought is to make PNP emit uevents with modaliases like
> "MODALIAS=pnp:PNP0501:PNP0500:" and make file2alias generate
> aliases like "alias pnp*:PNP0500:* 8250_pnp".
Looks good, and it is how they should look like. The current pnp
aliases are totally broken and useless for any usual modalias
matching.
> Modprobe configs like "alias pnp:dPNP0510 irtty-sir" would
> still work but would continue to depend on the udev shell hack.
The way the current shell hack is done, is that it gets disabled
automatically at the moment pnp events carry $MODALIAS.
> I don't have any plan for actually removing the hacks or doing
> any user-space transition.
Hmm, I guess there is no way around that. :)
Thanks,
Kay
next prev parent reply other threads:[~2008-10-04 16:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 21:18 Kay Sievers
2008-08-21 21:58 ` Bjorn Helgaas
2008-08-22 8:40 ` Kay Sievers
2008-08-22 12:06 ` Bjorn Helgaas
2008-08-22 12:43 ` Kay Sievers
2008-10-03 22:01 ` Bjorn Helgaas
2008-10-04 12:09 ` Kay Sievers
2008-10-04 15:31 ` Bjorn Helgaas
2008-10-04 16:27 ` Kay Sievers [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-08-18 13:40 Frans Pop
2008-08-20 15:56 ` Bjorn Helgaas
2008-08-21 12:40 ` Rafael J. Wysocki
2008-08-21 13:28 ` Kay Sievers
2008-08-21 15:14 ` Bjorn Helgaas
2008-08-21 15:38 ` Kay Sievers
2008-08-21 16:31 ` Bjorn Helgaas
2008-08-21 20:30 ` Frans Pop
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=ac3eb2510810040927s475c370ek7cc597309e35fa8f@mail.gmail.com \
--to=kay.sievers@vrfy.org \
--cc=akpm@linux-foundation.org \
--cc=ambx1@neo.rr.com \
--cc=bjorn.helgaas@hp.com \
--cc=elendil@planet.nl \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=tpm@selhorst.net \
--cc=trenn@suse.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
all inboxes | Powered by JetHome®