最近,也许经过一些升级,我的笔记本电脑 BCM43142 WiFi 不工作。我可以确认两个月前它在 18.04 上工作。我已经尝试
apt update; apt upgrade
并重新安装 bcmwl-kernel-source 包,但不工作,没有安装内核模块 wl。我还检查了双操作系统 Win10,是的,WiFi 工作正常。如果插入网线,有线网络连接。
在系统设置 >> WiFi 部分,它显示:“未找到 WiFi 适配器”
有关详细日志,请参阅此链接,谢谢!
今天我从 更新Ubuntu 18.04.something LTS
到Ubuntu 20.04.1 LTS
。我的笔记本电脑不再自动连接到 Wifi(隐藏网络),它在更新之前工作“正常”。每次打开电脑或从睡眠中恢复时,我都必须转到设置,然后是 WiFi,然后单击“连接到隐藏网络...”。更糟糕的是,手动连接后,如果我在可用网络列表中单击我的网络旁边的齿轮图标,设置窗口会完全冻结,我必须重新启动计算机才能使窗口消失。知道如何自动连接,就像更新之前一样?
WiFi 不起作用,我收到“未找到 WiFi 适配器”错误。
网络信息脚本的结果:
########## wireless info START ##########
Report from: 01 Sep 2020 14:55 +03 +0300
Booted last: 01 Sep 2020 00:00 +03 +0300
Script from: 22 Oct 2018 03:34 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
##### kernel ############################
Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
Ubuntu
##### lspci #############################
01:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1025:0866]
Kernel driver in use: r8169
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6645]
Kernel modules: wl
##### lsusb #############################
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 04f2:b452 Chicony Electronics Co., Ltd HD WebCam
Bus 002 Device 002: ID 04ca:2009 Lite-On Technology Corp. BCM43142A0
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: acer-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
6: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
##### secure boot #######################
SecureBoot enabled
##### lsmod #############################
cfg80211 704512 0
acer_wmi 24576 0
wmi_bmof 16384 0
sparse_keymap 16384 1 acer_wmi
mxm_wmi 16384 1 nouveau
wmi 32768 4 acer_wmi,wmi_bmof,mxm_wmi,nouveau
video 49152 3 acer_wmi,i915,nouveau
##### interfaces ########################
##### ifconfig ##########################
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback <MAC address> brd <MAC address>
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether <MAC 'enp1s0f1' [IF1]> brd <MAC address>
##### iwconfig ##########################
enp1s0f1 no wireless extensions.
lo no wireless extensions.
##### route #############################
##### resolv.conf #######################
[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']
nameserver 127.0.0.53
options edns0
##### network managers ##################
Installed:
NetworkManager
Running:
root 702 1 0 Aug31 ? 00:00:01 /usr/sbin/NetworkManager --no-daemon
##### NetworkManager info ###############
GENERAL.DEVICE: enp1s0f1
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/Devices/2
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: --
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: <MAC 'enp1s0f1' [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.REASON: 2 (Device is now managed)
GENERAL.IP4-CONNECTIVITY: 1 (none)
GENERAL.IP6-CONNECTIVITY: 1 (none)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.1/net/enp1s0f1
GENERAL.IP-IFACE: --
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: --
GENERAL.CON-UUID: --
GENERAL.CON-PATH: --
GENERAL.METERED: unknown
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 1000 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
INTERFACE-FLAGS.UP: yes
INTERFACE-FLAGS.LOWER-UP: no
INTERFACE-FLAGS.CARRIER: no
WIRED-PROPERTIES.CARRIER: off
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
##### NetworkManager.state ##############
cat: /var/lib/NetworkManager/NetworkManager.state: Permission denied
##### NetworkManager config #############
[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3
[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved
[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma
[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/
[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
##### NetworkManager profiles ###########
##### Netplan config ####################
[/etc/netplan/01-network-manager-all.yaml]
network:
version: 2
renderer: NetworkManager
##### iw reg get ########################
Region: Asia/Riyadh (based on set time zone)
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
##### iwlist channels ###################
enp1s0f1 no frequency information.
lo no frequency information.
##### iwlist scan #######################
enp1s0f1 Interface doesn't support scanning.
lo Interface doesn't support scanning.
##### module infos ######################
[cfg80211]
filename: /lib/modules/5.4.0-42-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 2369BA84B34843FE73A01F4
depends:
retpoline: Y
intree: Y
name: cfg80211
vermagic: 5.4.0-42-generic SMP mod_unload
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 02:B6:04:06:D9:82:F4:38:95:E4:6F:84:9F:1D:B4:8E:C5:85:90:8B
sig_hashalgo: sha512
signature: 11:09:20:94:BE:F4:40:A6:FA:D0:3E:51:A8:D4:D2:61:63:79:98:EB:
10:58:65:0E:8E:46:FF:83:C3:09:4D:0D:4E:43:FF:34:22:F3:75:27:
0C:0C:C2:CC:1D:94:31:F0:20:B9:61:67:C9:7C:B4:64:FD:F6:76:2F:
90:66:77:66:E4:CD:48:E9:0A:AA:2D:4C:AB:65:64:6C:0E:B8:FE:80:
29:21:79:61:2D:DE:8B:C2:7F:A5:6D:DD:B8:22:E7:4C:5E:DB:36:17:
98:BE:79:AC:F2:32:15:A4:1A:A5:F3:7D:53:27:44:66:05:C1:4D:9E:
B4:42:CF:CF:B6:D3:5E:76:51:CD:FE:49:CB:88:40:18:05:12:03:3B:
C7:00:6A:E2:C2:67:CF:BD:42:FF:1D:7A:22:73:6B:13:85:1C:40:E3:
2E:66:00:D2:99:A3:DC:1F:21:AB:2F:E4:DB:02:74:83:5B:6D:B7:AE:
D8:35:05:4D:8F:99:27:08:8D:7A:C8:F3:E8:70:7B:B2:C3:0F:59:B6:
4F:8F:F4:FE:02:1C:10:A5:60:27:F0:B4:9D:49:00:47:55:BB:14:73:
4F:25:B1:41:AC:F3:E7:C7:C9:0E:3A:2A:B1:8E:81:B9:8D:29:C9:4E:
58:BA:82:AC:EB:D2:EA:30:BB:90:F0:72:A4:38:8A:D2:81:65:1B:FB:
D3:D8:C9:F5:41:3F:5B:9F:AB:76:C0:F4:3D:44:C1:B4:1D:7B:75:0B:
C6:70:E0:E9:83:D8:33:A7:FE:DB:A0:B1:97:B1:12:26:F7:22:CB:99:
A8:77:A3:EA:3A:DF:A8:8C:82:64:9F:5B:CD:34:E2:1F:79:09:03:C8:
3B:F5:A7:20:CA:B2:8C:EF:C6:50:1F:A2:1F:11:21:91:50:6E:6F:A9:
89:00:5C:4D:84:9D:07:09:BC:A9:2E:B5:F0:1E:BB:75:D7:8E:9C:20:
8A:6F:40:DD:7E:40:54:38:09:A3:8B:C2:3C:7B:0A:0F:7E:7E:F3:86:
33:CE:FF:D7:54:5F:89:E4:FE:BB:0F:A2:46:65:20:CE:CC:88:5B:53:
CF:C9:AD:14:9C:FD:0C:6C:F2:A6:2E:DF:B0:E5:7D:A5:28:B1:9F:ED:
12:31:4C:BD:DD:15:F3:A3:13:61:5A:FD:51:3C:7B:3F:5B:9F:D5:C9:
74:B4:2B:F3:6D:6B:96:48:06:29:63:50:1C:6A:3F:F8:C5:43:D4:B1:
A6:D8:00:1D:D8:A1:BF:B4:66:05:36:3A:E5:9F:BC:8E:F9:A4:F1:31:
E1:8D:1C:DF:F5:27:19:95:38:73:DE:FF:D1:81:D5:B7:37:D2:B1:81:
F9:0C:71:F5:5C:30:FF:47:DB:F2:A6:7D
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
##### module parameters #################
[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
##### modprobe options ##################
[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
##### rc.local ##########################
grep: /etc/rc.local: No such file or directory
##### pm-utils ##########################
##### udev rules ########################
##### dmesg #############################
[ 5426.988330] r8169 0000:01:00.1 enp1s0f1: Link is Down
[ 7457.323889] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-04ca-2009.hcd failed with error -2
[ 7457.323893] Bluetooth: hci0: BCM: Patch brcm/BCM43142A0-04ca-2009.hcd not found
[ 7459.563934] r8169 0000:01:00.1 enp1s0f1: Link is Down
########## wireless info END ############
我现在可以从桌面菜单打开和关闭 WiFi 适配器。当它打开时,我可以看到我周围的所有 WiFi 网络,但是我无法建立连接。
这是我能得到的最有用的输出。
$ lspci -knn | grep Network -A3
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4364 802.11ac Wireless Network Adapter [14e4:4464] (rev 03)
Subsystem: Apple Inc. BCM4364 802.11ac Wireless Network Adapter [106b:07bf]
Kernel driver in use: brcmfmac
Kernel modules: brcmfmac
04:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetXtreme BCM57766 Gigabit Ethernet PCIe [14e4:1686] (rev 01)
$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
$ iwconfig
lo no wireless extensions.
enp4s0 no wireless extensions.
wlp3s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
enxd6f46f983b7a no wireless extensions
$ nmcli dev wifi
Cell 02 - Address: 2C:30:33:73:96:2E
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=63/70 Signal level=-47 dBm
Encryption key:on
ESSID:"Telstra2D55"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 56ms ago
IE: Unknown: 000B54656C7374726132443535
IE: Unknown: 010882848B962430486C
IE: Unknown: 030101
IE: Unknown: 0706415520010D24
IE: Unknown: 200100
IE: Unknown: 23021500
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
任何人都可以发现任何东西吗?我看到网络,像往常一样连接,输入密码,大约 10 秒后它只是不断地再次询问我的密码。
编辑:
sudo dmesg | grep brcm
[6.862585]usbcore:注册的新接口驱动程序brcmfmac
[6.862614]brcmfmac 0000:03:00.0:启用设备(0000 -> 0002)
[6.969173]brcmfmac:brcmf_fw_alloc_request:使用brcm/brcmfmac4364-pcie芯片BCM4918364/3
蓝牙芯片hci0:brcm/BCM.hcd 的直接固件加载失败,错误 -2
[7.589185] 蓝牙:hci0:BCM:未找到补丁 brcm/BCM.hcd
[7.590453] brcmfmac:brcmf_fw_alloc_request:使用 brcm/brcmfmac4364-pcie 用于芯片 BCM4364/ 3
[7.740463] brcmfmac:brcmf_c_preinit_dcmds:固件:BCM4364/3 wl0:2019 年 10 月 23 日 08:32:36 版本 9.137.11.0.32.6.36 FWID 01-671ec60c
[7.780405] brcmfmac 0 wlan0
: 30:03:00 重命名)
我在 Mac Mini 8,1 上运行 Ubuntu。“未找到 WiFi 适配器”我从 20.04 开始,只升级以获得最新的 Linux 固件,希望能让 wifi 正常工作。我还将内核版本更新为 5.7.1,因为希望能够为这个 BCM4364 排序固件。
$ lspci -vvnn | grep -A 9 Network
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4364 802.11ac Wireless Network Adapter [14e4:4464] (rev 03)
Subsystem: Apple Inc. BCM4364 802.11ac Wireless Network Adapter [106b:07bf]
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at 81400000 (64-bit, non-prefetchable) [size=32K]
Region 2: Memory at 81000000 (64-bit, non-prefetchable) [size=4M]
Capabilities: <access denied>
Kernel modules: brcmfmac
然后我检查它是否正在加载,我可以看到固件在启动后尝试加载,这可能是问题所在。
$ dmesg | grep brcmfmac
[ 6.373544] usbcore: registered new interface driver brcmfmac
[ 6.392893] brcmfmac 0000:03:00.0: enabling device (0000 -> 0002)
[ 6.501153] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4364-pcie for chip BCM4364/3
[ 6.560328] brcmfmac 0000:03:00.0: Direct firmware load for brcm/brcmfmac4364-pcie.bin failed with error -2
[ 6.576825] Modules linked in: snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device mei_hdcp snd_timer intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp brcmfmac coretemp snd brcmutil hci_uart btqca cfg80211 btrtl kvm_intel btbcm applesmc(+) kvm btintel intel_cstate intel_rapl_perf joydev efi_pstore input_leds soundcore 8250_dw intel_pch_thermal bluetooth mei_me mei ecdh_generic ecc acpi_tad mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj hid_generic usbhid uas hid usb_storage crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 aesni_intel crypto_simd cryptd glue_helper i2c_algo_bit drm_kms_helper syscopyarea sysfillrect nvme sysimgblt fb_sys_fops intel_lpss_pci cec intel_lpss i2c_i801 idma64 rc_core virt_dma nvme_core tg3 drm thunderbolt video
[ 6.576866] brcmf_fweh_detach+0x19/0x70 [brcmfmac]
[ 6.576871] brcmf_detach+0x78/0x100 [brcmfmac]
[ 6.576877] brcmf_pcie_remove+0x78/0x110 [brcmfmac]
[ 6.576888] brcmf_pcie_setup+0x25/0x490 [brcmfmac]
[ 6.576892] brcmf_fw_request_done+0x71/0x100 [brcmfmac]
[ 6.576914] WARNING: CPU: 1 PID: 158 at drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:309 brcmf_fweh_detach+0x60/0x70 [brcmfmac]
[ 6.576915] Modules linked in: snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device mei_hdcp snd_timer intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp brcmfmac coretemp snd brcmutil hci_uart btqca cfg80211 btrtl kvm_intel btbcm applesmc(+) kvm btintel intel_cstate intel_rapl_perf joydev efi_pstore input_leds soundcore 8250_dw intel_pch_thermal bluetooth mei_me mei ecdh_generic ecc acpi_tad mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj hid_generic usbhid uas hid usb_storage crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 aesni_intel crypto_simd cryptd glue_helper i2c_algo_bit drm_kms_helper syscopyarea sysfillrect nvme sysimgblt fb_sys_fops intel_lpss_pci cec intel_lpss i2c_i801 idma64 rc_core virt_dma nvme_core tg3 drm thunderbolt video
[ 6.576932] RIP: 0010:brcmf_fweh_detach+0x60/0x70 [brcmfmac]
[ 6.576942] brcmf_detach+0x78/0x100 [brcmfmac]
[ 6.576946] brcmf_pcie_remove+0x78/0x110 [brcmfmac]
[ 6.576954] brcmf_pcie_setup+0x25/0x490 [brcmfmac]
[ 6.576958] brcmf_fw_request_done+0x71/0x100 [brcmfmac]
我认为它已经完成了这项工作,但可能需要启动?我尝试了 modprobe,但它并没有改变我能看到的任何东西。请不要建议任何旧的 Broadcom b43 驱动程序/修复程序,因为它们都与该芯片无关。
我已经在我的戴尔笔记本电脑(Inspiron-5420)上安装了 Ubuntu 20.04。Wi-fi 连接在此安装中无法开箱即用,但在谷歌搜索后,我碰到了页面
https://ibcomputing.com/install-wifi-driver-broadcom-bcm43142-linux/
并按照那里的步骤进行操作后,它开始工作。
现在使用罗技无线键盘/鼠标(型号 MK220)时,键盘会间歇性断开连接,然后自动重新连接。我看到的另一个特殊行为是,每当它断开连接时,它会自动截取屏幕截图并保存。
任何人都可以帮助解决无线键盘的频繁断开问题吗?
这是我在 Raspberry Pi 4 上的分区布局(Ubuntu 20.04 LTS 映像)
root@jk4:/home/ubuntu# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.7T 0 disk
└─sda1 8:1 0 3.7T 0 part
mmcblk0 179:0 0 29.1G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot/firmware
└─mmcblk0p2 179:2 0 28.9G 0 part /
我想知道/boot/firmware
是什么?是覆盆子特有的吗?
在维基百科中我只找到了/boot
,这也是我多年前从书中学到的。
root@jk4:/home/ubuntu# ls -al /boot/firmware
total 99020
drwxr-xr-x 3 root root 4096 Jan 1 1970 .
drwxr-xr-x 4 root root 4096 Jul 4 05:29 ..
-rwxr-xr-x 1 root root 26247 Jul 4 05:29 bcm2710-rpi-2-b.dtb
-rwxr-xr-x 1 root root 26247 Jul 4 05:28 bcm2710-rpi-2-b.dtb.bak
-rwxr-xr-x 1 root root 27288 Jul 4 05:29 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root 27288 Jul 4 05:28 bcm2710-rpi-3-b.dtb.bak
-rwxr-xr-x 1 root root 27907 Jul 4 05:29 bcm2710-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root root 27907 Jul 4 05:28 bcm2710-rpi-3-b-plus.dtb.bak
-rwxr-xr-x 1 root root 26102 Jul 4 05:29 bcm2710-rpi-cm3.dtb
-rwxr-xr-x 1 root root 26102 Jul 4 05:28 bcm2710-rpi-cm3.dtb.bak
-rwxr-xr-x 1 root root 46368 Jul 4 05:29 bcm2711-rpi-4-b.dtb
-rwxr-xr-x 1 root root 46368 Jul 4 05:28 bcm2711-rpi-4-b.dtb.bak
-rwxr-xr-x 1 root root 19924 Jul 4 05:29 bcm2837-rpi-3-a-plus.dtb
-rwxr-xr-x 1 root root 19924 Jul 4 05:28 bcm2837-rpi-3-a-plus.dtb.bak
-rwxr-xr-x 1 root root 20373 Jul 4 05:29 bcm2837-rpi-3-b.dtb
-rwxr-xr-x 1 root root 20373 Jul 4 05:28 bcm2837-rpi-3-b.dtb.bak
-rwxr-xr-x 1 root root 20793 Jul 4 05:29 bcm2837-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root root 20793 Jul 4 05:28 bcm2837-rpi-3-b-plus.dtb.bak
-rwxr-xr-x 1 root root 19700 Jul 4 05:29 bcm2837-rpi-cm3-io3.dtb
-rwxr-xr-x 1 root root 19700 Jul 4 05:28 bcm2837-rpi-cm3-io3.dtb.bak
-rwxr-xr-x 1 root root 52304 Apr 23 15:12 bootcode.bin
-rwxr-xr-x 1 root root 2603 Jul 4 05:29 boot.scr
-rwxr-xr-x 1 root root 2603 Jul 4 05:28 boot.scr.bak
-rwxr-xr-x 1 root root 141 Apr 23 15:12 cmdline.txt
-rwxr-xr-x 1 root root 1117 Apr 23 15:12 config.txt
-rwxr-xr-x 1 root root 3112 Apr 23 15:12 fixup4cd.dat
-rwxr-xr-x 1 root root 6200 Apr 23 15:12 fixup4.dat
-rwxr-xr-x 1 root root 9192 Apr 23 15:12 fixup4db.dat
-rwxr-xr-x 1 root root 9192 Apr 23 15:12 fixup4x.dat
-rwxr-xr-x 1 root root 2656 Apr 23 15:12 fixup_cd.dat
-rwxr-xr-x 1 root root 6745 Apr 23 15:12 fixup.dat
-rwxr-xr-x 1 root root 9817 Apr 23 15:12 fixup_db.dat
-rwxr-xr-x 1 root root 9819 Apr 23 15:12 fixup_x.dat
-rwxr-xr-x 1 root root 29527996 Jul 4 05:29 initrd.img
-rwxr-xr-x 1 root root 29528551 Jul 4 05:28 initrd.img.bak
-rwxr-xr-x 1 root root 240 Apr 23 15:12 meta-data
-rwxr-xr-x 1 root root 770 Apr 23 15:12 network-config
-rwxr-xr-x 1 root root 1371 Jul 4 05:29 overlay_map.dtb
-rwxr-xr-x 1 root root 1371 Jul 4 05:28 overlay_map.dtb.bak
drwxr-xr-x 2 root root 34816 Jul 4 05:29 overlays
-rwxr-xr-x 1 root root 1514 Apr 23 15:12 README
-rwxr-xr-x 1 root root 784316 Apr 23 15:12 start4cd.elf
-rwxr-xr-x 1 root root 4593508 Apr 23 15:12 start4db.elf
-rwxr-xr-x 1 root root 2784800 Apr 23 15:12 start4.elf
-rwxr-xr-x 1 root root 3546468 Apr 23 15:12 start4x.elf
-rwxr-xr-x 1 root root 690884 Apr 23 15:12 start_cd.elf
-rwxr-xr-x 1 root root 4859912 Apr 23 15:12 start_db.elf
-rwxr-xr-x 1 root root 2883204 Apr 23 15:12 start.elf
-rwxr-xr-x 1 root root 3797384 Apr 23 15:12 start_x.elf
-rwxr-xr-x 1 root root 327 Apr 23 15:12 syscfg.txt
-rwxr-xr-x 1 root root 493528 Apr 23 15:12 uboot_rpi_3.bin
-rwxr-xr-x 1 root root 492824 Apr 23 15:12 uboot_rpi_4.bin
-rwxr-xr-x 1 root root 200 Apr 23 15:12 usercfg.txt
-rwxr-xr-x 1 root root 2114 Apr 23 15:12 user-data
-rwxr-xr-x 1 root root 8381742 Jul 4 05:29 vmlinuz
-rwxr-xr-x 1 root root 8381742 Jul 4 05:28 vmlinuz.bak
我认识一些文件,例如 Linux 内核。bcm*
看起来像博通的东西。请提供有关它的详细信息。
我正在尝试使基于 Broadcom 的蓝牙 USB 适配器在 Ubuntu 20.04 中工作(具体来说就是这个)。它只是拒绝工作。症状总是相同的:我在我的 中收到以下错误kern.log
:
Bluetooth: hci0: command 0x0c03 tx timeout
Bluetooth: hci0: BCM: Reset failed (-110)
我已经从Winterheart repo 下载并安装了固件文件,甚至从 Windows 8 驱动程序包中提取并转换了固件,但结果仍然是一样的:上面的错误并且在hcitool dev
.
任何帮助将不胜感激!下面的一些诊断信息:
$ lsusb | grep Blu
Bus 005 Device 002: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
$ dmesg | egrep -i 'blue|firm' | cut -c 16-
Bluetooth: Core ver 2.22
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Bluetooth: hci0: command 0x0c03 tx timeout
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: hci0: BCM: Reset failed (-110)
Bluetooth: hci0: command 0x0c03 tx timeout
Bluetooth: hci0: BCM: Reset failed (-110)
$ rfkill list
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
$ hcitool dev
Devices:
$
$ ll /lib/firmware/brcm/*21e8*
-rw-r--r-- 1 root root 35934 Jun 13 03:43 /lib/firmware/brcm/BCM20702A0-0a5c-21e8.hcd
-rw-r--r-- 1 root root 34700 Jun 13 19:56 /lib/firmware/brcm/BCM20702A1-0a5c-21e8.hcd
更新:看起来它可能与主板有关(在我的情况下为 AsRock P67 Extreme4 Gen3):在不同的笔记本电脑上尝试相同的适配器使其工作正常(只要我提供固件)......
所以我不知道是什么导致了这个问题。更改内核或意外删除连接的设备。但在那之后我无法连接到 wi-fi 并且 iwconfig 显示没有无线扩展。
此时我已切换回多个旧/新内核,尝试安装适用于我的设备和许多其他东西的 bcmwl-kernel-source。我四处寻找,发现遗留模式用户存在一个错误,因此我对源 bcmwl 包应用了一个补丁并构建了一个 deb,但仍然无法正常工作。
rfkill 列出所有返回
0: sony-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: sony-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
在附加驱动程序的软件和更新中,broadcom 是唯一列出的,并且已安装并启用。主要问题是每当我尝试安装 bcmwl-kernel-source 它都会返回
installed bcmwl-kernel-source package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
这不是硬件问题,因为我从引导 USB 引导 ubuntu 并在那里安装了 bcmwl,它工作正常。我唯一的选择是重新安装,但我没有时间,而且太痛苦了。其他一切正常,包括以太网和显卡。请帮我
lspci -knn | grep 网络 -A3
lspci: Unable to load libkmod resources: error -12
07:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Foxconn International, Inc. BCM43142 802.11b/g/n [105b:e071]
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
Subsystem: Sony Corporation RTS5209 PCI Express Card Reader [104d:90b8]