
Ich habe ein Problem mit meinem WLAN in Ubuntu. Unter W10 funktioniert es einwandfrei, aber unter Ubuntu ist kein Adapter sichtbar. Ich habe verschiedene Ubuntu-Versionen ausprobiert und bin jetzt bei 20.04
.
uname -a
Linux F6-Plus 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Wenn ich es lspci
im Terminal ausführe, gibt es keine Informationen zum Netzwerkcontroller.
Danach führe ich aus:
echo 1 | sudo tee /sys/bus/pci/rescan
Wenn ich lspci
danach ausführe, werden Informationen zum Netzwerkcontroller angezeigt
02:00.0 Network controller: Intel Corporation Wireless 3165 (rev 79)
WLAN funktioniert immer noch nicht, aber der Controller scheint vorhanden zu sein. Wenn ich neu starte und ausführe, lspci
gibt es wieder keine Informationen zum Netzwerkcontroller.
Ich bin völlig ratlos und weiß nicht, was ich dagegen tun soll.
Danke
Bearbeiten1, um weitere Informationen hinzuzufügen
sudo dmesg modprobe iwlwifi && dmesg | grep -e wlp -e iwl
Nichts.
Danachecho 1 | sudo tee /sys/bus/pci/rescan
sudo dmesg modprobe iwlwifi && dmesg | grep -e wlp -e iwl
[ 159.974862] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[ 159.975268] iwlwifi 0000:02:00.0: HW_REV=0xFFFFFFFF, PCI issues?
[ 159.998862] iwlwifi: probe of 0000:02:00.0 failed with error -5
dmesg | grep 02:00
[ 4.545917] Goodix-TS i2c-GDIX1002:00: i2c-GDIX1002:00 supply AVDD28 not found, using dummy regulator
[ 4.545940] Goodix-TS i2c-GDIX1002:00: i2c-GDIX1002:00 supply VDDIO not found, using dummy regulator
[ 4.548360] Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 1: -121
[ 4.573798] Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 2: -121
[ 4.601624] Goodix-TS i2c-GDIX1002:00: I2C communication failure: -121
[ 4.601749] Goodix-TS: probe of i2c-GDIX1002:00 failed with error -121
[ 159.971421] pci 0000:02:00.0: [8086:3165] type 00 class 0x028000
[ 159.971817] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[ 159.972300] pci 0000:02:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
[ 159.972318] pci 0000:02:00.0: Max Payload Size set to 128 (was 128, max 128)
[ 159.973158] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 159.974677] pci 0000:02:00.0: BAR 0: assigned [mem 0x80100000-0x80101fff 64bit]
[ 159.974862] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[ 159.975268] iwlwifi 0000:02:00.0: HW_REV=0xFFFFFFFF, PCI issues?
[ 159.998862] iwlwifi: probe of 0000:02:00.0 failed with error -5
Die WLAN-Karte ist auf die Platine gelötet, es handelt sich nicht um einen externen PCI-Adapter.
Antwort1
Ich habe meinen Adapter endlich auf meinem Teclast F6 Plus zum Laufen gebracht.
Der Schlüssel liegt darin, die BIOS-Einstellungen zu aktualisieren. Hier ist eine Konfiguration, die bei mir funktioniert:
BIOS
- Stellen Sie sicher, dass D3Cold aktiviert ist (die Standardkonfiguration ist ausreichend)
- Chipsatz > PCI-Express-Konfiguration > PCI-Express-Root-Port2(dies ist die von der Karte verwendete)
- Hot-Plug:
enabled
- Halber Schwung des Senders:
enabled
- Zusätzlich reservierte Busse: 7
- Hot-Plug:
PCI-Neuscan erzwingen
Wie der OP sagt, wird die Karte nicht aufgeführt, sofern kein erneuter PCI-Scan erzwungen wird.
Ich habe einen kleinen systemd-Dienst eingerichtet, der beim Start aktiviert wird
/opt/pci/rescan.sh
#!/bin/sh
set -e
echo 1 | tee /sys/bus/pci/rescan
lspci | grep 02:00.0
/etc/systemd/system/pci-rescan.service
[Unit]
Description=PCI rescan
[Service]
Type=oneshot
ExecStart=/opt/pci/rescan.sh
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
# setup and enable as root
chmod a+x /opt/pci/rescan.sh
systemctl enable pci-rescan
systemctl start pci-rescan
Die Schnittstelle erscheint nun und ich kann sie verwenden (benannt wls1
auf meinem Arch-System). Mit nmcli zum Beispiel:
nmcli d wifi connect <SSID> password <password> ifname wls1