From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B25B1138359 for ; Tue, 14 Jul 2020 14:46:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CAACE087C; Tue, 14 Jul 2020 14:46:41 +0000 (UTC) Received: from mail.suugaku.co.uk (unknown [2.125.59.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC5F8E086E for ; Tue, 14 Jul 2020 14:46:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=suugaku.co.uk; s=mail; t=1594738151; bh=4DEa4gaQ59Dg1FcVdMdZo4go8y28INUvGQLHlwb7akc=; h=Date:From:To:Subject:References:In-Reply-To; b=l+dRfNkMz7S+wwhfXUMP5vTVrFDybgGTvojCVRDzRV77sVH6DiCPJjMs5yfP3jZYX 5NcZt1BukF/2YSc/JWDhzYO/DtQ6jbf9U4jY7AXTR1AYbKVM7FVtgTMUU7Gbet512v b3mb/cuXHmy03bEmpqNNVexAzefSJXDxrXW9sXNE= Date: Tue, 14 Jul 2020 15:45:40 +0100 From: Ashley Dixon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] No wifi Message-ID: <20200714144540.7izyxpb2kd5ju3if@ad-gentoo-main> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20200714015336.GA14116@waltdnes.org> <20200714021229.mnhlk66g3wew4u4t@ad-gentoo-main> <20200714041951.GA14890@waltdnes.org> <20200714045937.7k3thcbxe7tvtbzb@ad-gentoo-main> <20200714143121.GA16503@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e4v3khtspojz4yjh" Content-Disposition: inline In-Reply-To: <20200714143121.GA16503@waltdnes.org> X-PGP-Key: fp="2A9A DA96 8A7B A30E F290 4117 D18A B0D2 BF25 A8AA"; id="0xBF25A8AA"; get=; get= X-Operating-System: Linux ad-gentoo-main 5.4.48-gentoo X-Editor: vim 8.2 User-Agent: NeoMutt/20180716 X-Archives-Salt: 56a1e15f-9080-4e1b-b094-69772a48f595 X-Archives-Hash: 5640ccc2e2e4ddfd8fbec318ad333a3c --e4v3khtspojz4yjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 14, 2020 at 10:31:21AM -0400, Walter Dnes wrote: > One thing I should've mentioned in the first post is that booting from > the minimal install USB, wlan0 does show up, so the hardware works. That's because the "minimal" install disk actually has quite a lot of = stuff installed/enabled, to support all (or, as much as possible) common hardware= in a live environment, as this generally runs before the point at which the user= can configure their own kernel. > On Tue, Jul 14, 2020 at 05:59:37AM +0100, Ashley Dixon wrote > > It doesn't look like it's loading the firmware. Are there any obvious > > firmware-loading errors in dmesg ? >=20 > What is ASPM and what is error -2? BTW, on my first attempt, when I > accidentally tried a non-existant firmware path, the kernel compile died > early on. Here is what I get in dmesg with ucode 8.83.5.1-1 Error -2 means that it can't find the file: "ENOENT 2 No such fil= e or directory". You should install the firmware through `sys-kernel/linux-firmw= are`, and then edit your .config accordingly (as Michael mentioned, no subdirect= ories are added by the Gentoo package): =20 CONFIG_EXTRA_FIRMWARE_DIR=3D"/lib/firmware/" CONFIG_EXTRA_FIRMWARE=3D"iwlwifi-5000-1.ucode iwlwifi-5000-2.ucode = iwlwifi-5000-5.ucode" > > That looks fine, although why are you using such an outdated version > > of the microcode ? For kernels 2.6.38+, you can use 8.83.5.1-1. >=20 > The way the items lined up on the webpage, I mis-interpreted it to > mean one driver for 5100AGN, one for 5300AGN, and one for 5350AGN. See > attachment. The table is slightly misleading, but I think that any of the listed fir= mware packages can work for any of the listed devices, and the only distin= ction between the files is the supported kernel versions. Thus, you should be ab= le to safely use the latest version. > > Perhaps it would be better to install it from > > the Gentoo-provided firmware package ? Amend > > /etc/portage/savedconfig/sys-kernel/linux-firmware to include the > > appropriate entries (listing at [1]), and emerge `linux-firmware` > > with the `savedconfig` USE-flag. >=20 > I'll do that next if there's nothing obvious here. Yes, that is your next step. Append the appropriate entries to your savedc= onfig file and emerge `linux-firmware` with `savedconfig`: iwlwifi-5000-1.ucode iwlwifi-5000-2.ucode iwlwifi-5000-5.ucode --=20 Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA --e4v3khtspojz4yjh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEKpralop7ow7ykEEX0Yqw0r8lqKoFAl8NxRMACgkQ0Yqw0r8l qKrO/Q/+Ow3ZCuoABfob4T1CABCXn2vAsS3ArPro1CzkmSjnR3wGWIPBSaaMpBK/ jzG01cV0h1EQNSTSw4spSvwviMzVgGufeZaeIRUA3TH1RJYoZcRDashSqHWtfnKo JiVDeZDIo8rCMg57LrbCrkFgO9TTpn7aaZ2L2wGc1xF/8zVf0Ysna3vMgWTRs3bg oDEWR8F2ESvFSzmSUQBjGAWvX5+XXAhcYeOAQGxcI06gPiL2RekYCkWroAGavu6v h/0ZvnRBzMPWnLLsuwqpU4BEPvK9+GEvqowF9Y8gGkg2NBit6g13WGf6KmAA3oKX FuH6IvrauH1Au/QcMSQu69R3lqz+0i2CYoB9EsQsVBpEA7PGtJAofePZzwxxfhWJ gIiVoelzFscwXYrrd1Ru6t8FjE0fz2qM9wKPcp7iVBFry3KHpl3ImLp8ROBl14EY /xrJ4Vmi5TDWknLyuqnskne1Izrx3u8UAEpDeYqdKfKfCHYVUdpoorgkX3xDK57C kj4CA7H8brsB2ciFJId0yoJ+lDW2f7woHd4f4lq3qaiKWMP1Q01VE0Qi2zYqFkaS lAb/bEyxrWbEbb7fSVbKimmBqtmtxJAtAusTAvZSCSkX+czIuIf2XAmdNI1BcKpI RjB22OkUvbBxUByM/+JVRVNxVSjob5ztf80x79/NtH/v6qmcYRg= =SJEZ -----END PGP SIGNATURE----- --e4v3khtspojz4yjh--