![带有 Intel AX200NGW 的 Ubuntu 18.04 上的 hcitool lescan 输入/输出错误](https://linux22.com/image/1614859/%E5%B8%A6%E6%9C%89%20Intel%20AX200NGW%20%E7%9A%84%20Ubuntu%2018.04%20%E4%B8%8A%E7%9A%84%20hcitool%20lescan%20%E8%BE%93%E5%85%A5%2F%E8%BE%93%E5%87%BA%E9%94%99%E8%AF%AF.png)
我的目标是在hcitool lescan
带有 BLE 5.0 无线电的 Ubuntu 18.04 上运行。
我将 Dell Precision 7520 笔记本电脑的内部 WiFi/蓝牙卡从原来的 Qualcomm QCA61x4A (BLE 4.2) 升级到了 Intel AX200NGW (BLE 5.0)。更换之前,没有问题hcitool lescan
。更换硬件后,
# hcitool lescan Set scan parameters failed: Input/output error # hciconfig hci0 down && hciconfig hci0 up && hcitool lescan Set scan parameters failed: Input/output error # hciconfig hci0 down && hciconfig hci0 up && service bluetooth restart && hcitool lescan Could not open device: No such device # hciconfig hci0 down && hciconfig hci0 up && service bluetooth restart && sleep 1 && hcitool lescan Set scan parameters failed: Input/output error # service bluetooth stop && hciconfig hci0 down && hciconfig hci0 up && hcitool lescan Set scan parameters failed: Input/output error
无论是在硬件交换之前还是之后,bluetoothctl 和 GUI 界面都可以正常工作。
# bluetoothctl [bluetooth]# menu scan [bluetooth]# clear SetDiscoveryFilter success [bluetooth]# back [bluetooth]# scan on Discovery started
Ubuntu GUI 设置 - 蓝牙
安装新的 Intel AX200NGW 后的一些基本系统信息
# hciconfig -a hci0: Type: Primary Bus: USB BD Address: 5C:80:B6:58:52:D6 ACL MTU: 1021:4 SCO MTU: 96:6 UP RUNNING PSCAN ISCAN INQUIRY RX bytes:284131 acl:758 sco:6 events:4443 errors:0 TX bytes:747220 acl:72 sco:1 commands:3530 errors:0 Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'Ubuntu-1804-Laptop' Class: 0x1c010c Service Classes: Rendering, Capturing, Object Transfer Device Class: Computer, Laptop HCI Version: 5.0 (0x9) Revision: 0x100 LMP Version: 5.0 (0x9) Subversion: 0x100 Manufacturer: Intel Corp. (2) # uname -a Linux Ubuntu-1804-Laptop 5.3.0-26-generic #28~18.04.1-Ubuntu SMP Wed Dec 18 16:40:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux # bluetoothd -v 5.48