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. 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). -- Maxim Kammerer Liberté Linux: http://dee.su/liberte