Petter Reinholdtsen wrote: > Here is another draft, this time also providing the module name. I > dropped the code looking in /proc/modules, as three ways to find > firmware seem a bit too much.
Looking at dmesg might fail if something is spamming it and the message drops out of the ring buffer. Maybe it would be better to look in syslog? The modinfo check, which has been removed, avoids that problem, although it doesn't work for some modules that don't load at all when missing firmware. I don't know how many modules have that behavior, but if most of them don't, the modinfo check seems worth keeping as more robust for the modules it does work for. -- see shy jo
signature.asc
Description: Digital signature