蓝牙无法工作

蓝牙无法工作

我的蓝牙适配器无法在 Linux mint(和其他发行版)上运行。我已经尝试了在互联网上可以找到的所有可能的解决方案。我什至尝试了基于 Arch 和 ubuntu 的不同发行版,但没有用。

我的加密狗非常通用,在 Windows 上运行良好。它不需要任何驱动程序或软件。我有一些dmesg和其他日志,请看一下。

$ dmesg | grep Blue
[  104.529258] Bluetooth: Core ver 2.22
[  104.529285] Bluetooth: HCI device and connection manager initialized
[  104.529293] Bluetooth: HCI socket layer initialized
[  104.529295] Bluetooth: L2CAP socket layer initialized
[  104.529299] Bluetooth: SCO socket layer initialized
[  104.729614] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  104.729616] Bluetooth: BNEP filters: protocol multicast
[  104.729626] Bluetooth: BNEP socket layer initialized
[  106.626960] Bluetooth: hci0: command 0x2003 tx timeout
[  108.674989] Bluetooth: hci0: command 0x2007 tx timeout
[  316.130957] Bluetooth: hci0: command 0x2003 tx timeout
[  318.178971] Bluetooth: hci0: command 0x2007 tx timeout

我也尝试过用blueman代替blueberry,但没有用。

$ rfkill list all
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

这是另一个

$ inxi -Fxz
System:    Host: mark85 Kernel: 5.3.0-24-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
           Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:   Type: Desktop System: Hewlett-Packard product: HP Compaq dc7900 Small Form Factor v: N/A 
           serial: <filter> 
           Mobo: Hewlett-Packard model: 3031h serial: <filter> BIOS: Hewlett-Packard v: 786G1 v01.27 
           date: 10/22/2015 
CPU:       Topology: Dual Core model: Intel Core2 Duo E8400 bits: 64 type: MCP arch: Penryn rev: A 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11969 
           Speed: 1995 MHz min/max: 1998/3000 MHz Core speeds (MHz): 1: 1995 2: 1995 
Graphics:  Device-1: Intel 4 Series Integrated Graphics vendor: Hewlett-Packard driver: i915 
           v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1024x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Q45/Q43 v: 2.1 Mesa 19.0.8 direct render: Yes 
Audio:     Device-1: Intel 82801JD/DO HD Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.3.0-24-generic 
Network:   Device-1: Intel 82567LM-3 Gigabit Network vendor: Hewlett-Packard driver: e1000e 
           v: 3.2.6-k port: 1100 bus ID: 00:19.0 
           IF: enp0s25 state: down mac: <filter> 
           Device-2: Atheros AR9271 802.11n type: USB driver: ath9k_htc bus ID: 1-1:2 
           IF: wlx60e327170563 state: up mac: <filter> 
Drives:    Local Storage: total: 149.05 GiB used: 14.24 GiB (9.6%) 
           ID-1: /dev/sda vendor: Seagate model: ST3160023AS size: 149.05 GiB temp: 21 C 
Partition: ID-1: / size: 18.65 GiB used: 9.01 GiB (48.3%) fs: ext4 dev: /dev/sda3 
           ID-2: /home size: 32.65 GiB used: 5.23 GiB (16.0%) fs: ext4 dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 28.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 199 Uptime: 16m Memory: 3.74 GiB used: 1.56 GiB (41.8%) Init: systemd 
           runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 inxi: 3.0.32 

是的,我的 BT 已连接,但输出显示

$ sudo bluetoothctl
Agent registered
[bluetooth]# show
No default controller available

$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 10c4:8108 Cygnal Integrated Products, Inc. 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

答案1

的输出dmesg | grep Blue告诉您内核启动了自己的蓝牙支持,而不是它已检测到您的硬件。

lsusb 输出显示属于具有内核支持的加密狗的 VID(供应商 ID)和 PID(产品 ID)在过去

然而,在当前版本的linux内核中,好像没有支持。

相关内容