From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DBB85138972 for ; Sun, 10 Feb 2013 16:42:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9801121C0CE; Sun, 10 Feb 2013 16:42:14 +0000 (UTC) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71257E064C for ; Sun, 10 Feb 2013 16:42:13 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id hi18so2377065wib.3 for ; Sun, 10 Feb 2013 08:42:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dee.su; s=google; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=Tom+EsssVJiIwTnggX1jxJsERVcunz5uVrGRH1VEFyc=; b=UvI1b1L/VRauxrdLi378eNHAvezaDXRDH7a0+q2eHSrD91iygS07z/GkK7Zu2aQJw5 elB2rvFr6LrppsMSIy37pPtE2QyRpbDw1M6KGDh2/AsUXSluT2pHzROalhFNboyOvlvK yEjXYLFncK5sDSkl4z41Nc6H1IMzlHdqvsnrE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding :x-gm-message-state; bh=Tom+EsssVJiIwTnggX1jxJsERVcunz5uVrGRH1VEFyc=; b=Ncwp6juw2c/YDkQedP1qc/NAHkMpROlxc5BAPpjgKu07XslHJwsetL7Kk6HJyM1wgj /Hl2VBhN+Zh1CzPNO7A5RiHjqWGiaBgysVXFYFCY/iuz61m/jxHXIV6kLU5tQCj9LOrQ hsRo/HRQZjHHNdRCbw3u15ALW+M11ZJntLAelks/hqfV56bH+bfcBpEPOJark4ARBK5M cG6nzw6gvnsIBFkVtBfxzOaNjo1gyQR6fJgrc3Poglmw6wAPHJF2FRQGRAYPNMK2XDYx nmeIsFjijeZwx1LLO0ykTI29ByqLHMk4Z2W3001AsUXZWUC8ctaiGHl4gKZLmYfhqpOi fMuA== X-Received: by 10.195.13.11 with SMTP id eu11mr19430966wjd.39.1360514532104; Sun, 10 Feb 2013 08:42:12 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.185.68 with HTTP; Sun, 10 Feb 2013 08:41:42 -0800 (PST) In-Reply-To: <1360508715.26312.8.camel@belkin4> References: <5117560B.3090709@gentoo.org> <20130210174634.77631769@sf> <1360508715.26312.8.camel@belkin4> From: Maxim Kammerer Date: Sun, 10 Feb 2013 18:41:42 +0200 Message-ID: Subject: Re: RFC: install linux-firmware with kernel sources (was Re: [gentoo-dev] Lastrite: Firmware cleanup, part #1) To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnXEnT7ulQULIwzTpP0ZFbN3KQZkgRpV5llJxT2jBii/czpkeHgR1B0OV6A6tTpzyxAQDrL X-Archives-Salt: 8e31d145-ebe8-4f36-87b3-eafe84e9e069 X-Archives-Hash: 591ab49da6b03bbba5b75dcf5deb3bfc On Sun, Feb 10, 2013 at 5:05 PM, Pacho Ramos 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=3D//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-firmware= s You can encounter superfluous warnings with modules that support multiple firmware subversions (e.g., iwlwifi). --=20 Maxim Kammerer Libert=E9 Linux: http://dee.su/liberte