Re: char/tpm: tpm_infineon no longer loaded for HP 2510p laptop

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bjorn Helgaas
Date: Thursday, August 21, 2008 - 9:31 am

On Thursday 21 August 2008 09:38:25 am Kay Sievers wrote:

Sorry, I should have prefaced my question with "I'm completely ignorant
of this modalias stuff."  Is there a "complete idiot's guide to modules
and udev"?  There's precious little in Documentation/ other than a bunch
of sample rules for various subsystems.


I'm guessing this has something to do with acpi_device_uevent().


pnp_bus_type has no .uevent method.  What if I added one?  Would that
help this situation?

It seems wrong for file2alias.c to take every PNP device (even if it's
an ISAPNP or PNPBIOS device) and add "acpi*" aliases for it.


Is this the shell hack you mean (from etc/udev/rules.d/80-drivers.rules
in udev-117)?

  SUBSYSTEM=="pnp", DRIVER!="?*", ENV{MODALIAS}!="?*", \
    RUN{ignore_error}+="/bin/sh -c '/sbin/modprobe -a $$(while read id; do echo pnp:d$$id; done < /sys$devpath/id)'"

I agree that's gross.  Could I fix this by implementing pnp_device_uevent()?

Bjorn
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: char/tpm: tpm_infineon no longer loaded for HP 2510p l ..., Rafael J. Wysocki, (Thu Aug 21, 5:40 am)
Re: char/tpm: tpm_infineon no longer loaded for HP 2510p l ..., Bjorn Helgaas, (Thu Aug 21, 9:31 am)