From nobody Mon Dec 19 21:25:28 2022 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NbXmr44K4z1H5Pk for ; Mon, 19 Dec 2022 21:25:32 +0000 (UTC) (envelope-from freebsd-wireless@lordsith.net) Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NbXmq4jH9z4PpW for ; Mon, 19 Dec 2022 21:25:31 +0000 (UTC) (envelope-from freebsd-wireless@lordsith.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-wireless@lordsith.net designates 185.233.34.146 as permitted sender) smtp.mailfrom=freebsd-wireless@lordsith.net; dmarc=none Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4NbXmp1d04zFh for ; Mon, 19 Dec 2022 21:25:30 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4NbXmn5g4fzLP for ; Mon, 19 Dec 2022 21:25:29 +0000 (UTC) Date: Mon, 19 Dec 2022 21:25:28 +0000 X-Soverin-Authenticated: true From: Marco To: "freebsd-wireless@freebsd.org" Subject: Re: New laptop: AC 9461/9560: iwm or iwlwifi? Message-ID: Reply-To: marco Mail-Followup-To: marco , "freebsd-wireless@freebsd.org" References: <2e3618b7-646b-02be-eb19-8a58aaf3619f@netfence.it> <537f4871-5184-394e-1f93-bf625dc088cf@netfence.it> List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: lordsith.net X-Operating-System: FreeBSD 13.1-STABLE amd64 X-Unix: Use Unix or die X-Uptime: 9:19PM up 9 days, 9:19, 1 user, load averages: 0.24, 0.30, 0.30 X-Spamd-Result: default: False [-2.30 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.902]; R_SPF_ALLOW(-0.20)[+ip4:185.233.34.146]; RCVD_IN_DNSWL_LOW(-0.10)[185.233.34.146:from]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_REPLYTO(0.00)[freebsd-wireless@lordsith.net]; DMARC_NA(0.00)[lordsith.net]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:211993, ipnet:185.233.34.0/24, country:NL]; REPLYTO_ADDR_EQ_FROM(0.00)[]; REPLYTO_DN_EQ_FROM_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org]; HAS_ORG_HEADER(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4NbXmq4jH9z4PpW X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Mon, Dec 19, 2022 at 08:56:02PM +0000, you (Marco) sent the following to [freebsd-wireless] : > On Sat, Dec 17, 2022 at 10:40:25PM +0000, you (Bjoern A. Zeeb) sent the following to [freebsd-wireless] : > > > > Did you try again to switch back to iwlwifi? > > > > What happens if you are on a running iwm setup and then do the devctl > > detach, set driver dance? So on my current running iwm setup without changing anything else I did the devtl detach, set driver dance which failed as follows: [~] doas pciconf -lBbcevV iwm0 iwm0@pci0:0:20:3: class=0x028000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x9df0 subvendor=0x8086 subdevice=0x0030 vendor = 'Intel Corporation' device = 'Cannon Point-LP CNVi [Wireless-AC]' class = network bar [10] = type Memory, range 64, base 0xea238000, size 16384, enabled cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[40] = PCI-Express 2 root endpoint max data 128(128) FLR RO NS max read 128 cap 11[80] = MSI-X supports 16 messages Table in map 0x10[0x2000], PBA in map 0x10[0x3000] ecap 0000[100] = unknown 0 ecap 0018[14c] = LTR 1 ecap 000b[164] = Vendor [1] ID 0010 Rev 0 Length 20 [~] kldstat | grep -e wlan -e wi-fi -e wifi -e iwm 3 1 0xffffffff82d4c000 290cc0 iwm9000fw.ko 6 1 0xffffffff82fe6000 3130 wlan_xauth.ko 7 1 0xffffffff82fea000 2e870 if_iwm.ko [~] doas kldload /boot/kernel/if_iwlwifi.ko [~] kldstat | grep -e wlan -e wi-fi -e wifi -e iwm 3 1 0xffffffff82d4c000 290cc0 iwm9000fw.ko 6 1 0xffffffff82fe6000 3130 wlan_xauth.ko 7 1 0xffffffff82fea000 2e870 if_iwm.ko 39 1 0xffffffff85565000 880c8 if_iwlwifi.ko [~] doas devctl detach pci0:0:20:3 [~] doas pciconf -lBbcevV iwm0 pciconf: Device not found [~] doas devctl set driver pci0:0:20:3 iwlwifi devctl: Failed to set pci0:0:20:3 driver to iwlwifi: Input/output error [~] ifconfig lagg0 lagg0: flags=8843 metric 0 mtu 1500 options=800000<> ether f8:75:a4:fa:9d:bf inet6 fe80::fa75:a4ff:fefa:9dbf%lagg0/64 scopeid 0x4 inet6 2a10:3781:41f:1:fa75:a4ff:fefa:9dbf/64 autoconf inet6 2a10:3781:41f:1:4df2:19b7:b73e:17bc/64 deprecated autoconf temporary inet6 2a10:3781:41f:1:6ce0:18a5:8fdb:52ab/64 autoconf temporary inet 192.168.3.114/24 broadcast 192.168.3.255 laggproto failover lagghash l2,l3,l4 laggport: em0 flags=5 groups: lagg media: Ethernet autoselect status: active nd6 options=23 [~] ifconfig wlan0 ifconfig: interface wlan0 does not exist My next action could be to define both wlans_ entries in rc.conf and set the devmatch_blocklist to if_iwm and reboot the laptop (without rebuilding world and/or kernel) ? -- Marco van Lienen -- FreeBSD enthusiast https://keybase.io/scarcry , GnuPG fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB "The Tuck Pendleton machine...zero defects."