我有一台运行 Linux 的迷你电脑,采用 Ampak AP6212 芯片组。蓝牙和 WiFi 模块在 Ubuntu 16.04 下无法工作。根据本网站我需要安装brcmfmac
。这样对吗?如果对,我可以从哪个存储库进行安装?
$ dmesg | grep brcm; ls /sys/firmware/efi/efivars
AcpiGlobalVariable-c020489e-6db2-4ef2-9aa5-ca06fc11d36a
AuthVarKeyDatabase-aaf32c78-947b-439a-a180-2e144ec37792
BackupPlatformLang-59d1c24f-50f1-401a-b101-f33e0daed443
Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c
Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c
Boot2001-8be4df61-93ca-11d2-aa0d-00e098032b8c
Boot2002-8be4df61-93ca-11d2-aa0d-00e098032b8c
Boot2003-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootType-a04a27f4-df00-4d42-b552-39511302113d
BugCheckCode-ba57e015-65b3-4c3c-b274-659192f699e3
BugCheckParameter1-ba57e015-65b3-4c3c-b274-659192f699e3
BugCheckProgress-ba57e015-65b3-4c3c-b274-659192f699e3
certdb-59d1c24f-50f1-401a-b101-f33e0daed443
ColdQ2SEnableVariable-cccd8c8e-8915-4d12-bb76-0d49b4fc0dcd
ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConInCandidateDev-59d1c24f-50f1-401a-b101-f33e0daed443
ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConO ut-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConOutCandidateDev-59d1c24f-50f1-401a-b101-f33e0daed443
ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
CurrentPolicy-77fa9abd-0359-4d32-bd60-28f4e78f784b
Custom-a04a27f4-df00-4d42-b552-39511302113d
CustomSecurity-59d1c24f-50f1-401a-b101-f33e0daed443
db-d719b2cb-3d3a-4596-a3bc-dad00e67656f
dbDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
dbx-d719b2cb-3d3a-4596-a3bc-dad00e67656f
dbxDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
IrsiInfo-5bce4c83-6a97-444b-63b4-672c014742ff
KEK-8be4df61-93ca-11d2-aa0d-00e098032b8c
KEKDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c
LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
LastBootOSVariable-936d3077-9722-41a8-88ae-91a7b7594a3c
MemoryConfig-10ba6bbe-a97e-41c3-9a07-607ad9bd60e5
MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829
MsdmAddress-fd21bf2b-f5d1-46c5-aee3-c60158339239
MTC-eb704011-1402-11d3-8e77-00a0c969723b
OfflineUniqueIDEKPubCRC-eaec226f-c9a3-477a-a826-ddc716cdc0e3
OfflineUniqueIDEKPub-eaec226f-c9a3-477a-a826-ddc716cdc0e3
OsIndications-8be4df61-93ca-11d2-aa0d-00e098032b8c
OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c
PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443
PK-8be4df61-93ca-11d2-aa0d-00e098032b8c
PKDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
PlatformCpuInfo-10ba6bbe-a97e-41c3-9a07-607ad9bd60e5
PlatformInfo-10ba6bbe-a97e-41c3-9a07-607ad9bd60e5
PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
Regparm-49e3577e-71fb-46cc-a4a3-21084b7bd99f
RestoreFactoryDefault-59d1c24f-50f1-401a-b101-f33e0daed443
SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
SecureBootEnforce-59d1c24f-50f1-401a-b101-f33e0daed443
Setup-a04a27f4-df00-4d42-b552-39511302113d
SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
SignatureSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
SmmEmmcCardDataVariable-3503b13d-2bd7-43ca-ba63-a1dfaa68da46
Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
TrEEPhysicalPresence-f24643c2-c622-494e-8a0d-4632579c2d5b
TrEEPhysicalPresenceFlags-f24643c2-c622-494e-8a0d-4632579c2d5b
VendorKeys-8be4df61-93ca-11d2-aa0d-00e098032b8c
$ cat /etc/lsb-release; lspci -nnk | grep -iA3 net
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=Xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
链接到wireless-info
结果。
更新输出dmesg | grep brcm
:
[ 6.587443] brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43430 rev 0 pmurev 24
[ 6.590452] usbcore: registered new interface driver brcmfmac
[ 7.706117] brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 8.710637] brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 9.714375] brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
$ dmesg | grep brcm
[ 6.590452] usbcore: registered new interface driver brcmfmac
[ 1503.630948] Modules linked in: asix usbnet mii input_leds joydev hid_microsoft hid_generic gpio_keys axp20x_pek snd_soc_sst_baytrail_pcm axp288_adc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_sst_byt_rt5640_mach intel_rapl intel_soc_dts_thermal intel_powerclamp coretemp kvm_intel usbhid kvm irqbypass punit_atom_debug crc32_pclmul aesni_intel brcmfmac aes_i586 xts lrw gf128mul ablk_helper brcmutil cryptd cfg80211 bmc150_accel_spi bmc150_accel_i2c bmc150_accel_core jsa1212 kxcjk_1013 industrialio_triggered_buffer kfifo_buf snd_intel_sst_acpi industrialio snd_intel_sst_core snd_soc_rt5640 goodix snd_soc_sst_mfld_platform snd_soc_rl6231 snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi mei_txe mei lpc_ich snd_seq snd_seq_device snd_timer 8250_fintek
[ 1503.730939] Modules linked in: asix usbnet mii input_leds joydev hid_microsoft hid_generic gpio_keys axp20x_pek snd_soc_sst_baytrail_pcm axp288_adc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_sst_byt_rt5640_mach intel_rapl intel_soc_dts_thermal intel_powerclamp coretemp kvm_intel usbhid kvm irqbypass punit_atom_debug crc32_pclmul aesni_intel brcmfmac aes_i586 xts lrw gf128mul ablk_helper brcmutil cryptd cfg80211 bmc150_accel_spi bmc150_accel_i2c bmc150_accel_core jsa1212 kxcjk_1013 industrialio_triggered_buffer kfifo_buf snd_intel_sst_acpi industrialio snd_intel_sst_core snd_soc_rt5640 goodix snd_soc_sst_mfld_platform snd_soc_rl6231 snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi mei_txe mei lpc_ich snd_seq snd_seq_device snd_timer 8250_fintek
[ 1503.963036] Modules linked in: asix usbnet mii input_leds joydev hid_microsoft hid_generic gpio_keys axp20x_pek snd_soc_sst_baytrail_pcm axp288_adc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_sst_byt_rt5640_mach intel_rapl intel_soc_dts_thermal intel_powerclamp coretemp kvm_intel usbhid kvm irqbypass punit_atom_debug crc32_pclmul aesni_intel brcmfmac aes_i586 xts lrw gf128mul ablk_helper brcmutil cryptd cfg80211 bmc150_accel_spi bmc150_accel_i2c bmc150_accel_core jsa1212 kxcjk_1013 industrialio_triggered_buffer kfifo_buf snd_intel_sst_acpi industrialio snd_intel_sst_core snd_soc_rt5640 goodix snd_soc_sst_mfld_platform snd_soc_rl6231 snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi mei_txe mei lpc_ich snd_seq snd_seq_device snd_timer 8250_fintek
[11622.144368] usbcore: deregistering interface driver brcmfmac
[11642.563260] usbcore: registered new interface driver brcmfmac
答案1
你有点乱。编辑你的 /etc/rc.local 文件以删除它,
echo "148F 7601" | tee /sys/bus/usb/drivers/ath9k_htc/new_id
因为 ath9k_htc 不支持该 USB 设备,它是联发科设备。
删除 /etc/modules 的所有内容,因为您不需要强制加载 ath9k 和 ath9k_htc。
卸载 ndiswrapper 并删除其配置文件。
sudo rm -f /etc/modprobe.d/ndiswrapper.conf
删除 Broadcom 专有模块。
sudo apt-get remove bcmwl-kernel-source
让我们确保它的黑名单文件已经消失。
sudo rm -f /etc/modprobe.d/blacklist-bcm43.conf
更新模块别名列表。
sudo depmod -a
重新启动并查看dmesg | grep brcm
问题是否消失。