On Sun, 10 February 2013 Maxim Kammerer <m...@dee.su> wrote:
> On Sun, Feb 10, 2013 at 5:05 PM, Pacho Ramos <pa...@gentoo.org> wrote:
> > I agree as I have also needed to google and search in forums to get
> > proper firmware installed in the past in some machines :/
> 
> for fw in $(strings -a -n 10 $(find /lib/modules -name '*.ko') | sed
> -n 's/^firmware=//p' | sort -u); do
>   if [ ! -e /lib/firmware/${fw} ]; then
>     echo ${fw}
>   fi
> done
> 
> I guess you can do something similar with vmlinux.bin if compiling
> modules into kernel.

Last I looked into that the list of firmwares needed by built-in drivers
is not available as is the case for modules (and in addition those
built-in drivers may need the firmware long before /lib/firmware/ is
available)

Bruno

> Looking into kernel sources is more robust, but
> gets annoying fast. Full script I am using is here:
> https://github.com/mkdesu/liberte/blob/master/src/root/helpers/lst-firmwares
> 
> You can encounter superfluous warnings with modules that support
> multiple firmware subversions (e.g., iwlwifi).

Reply via email to