蓝牙在 Linux Mint 18.2 上不起作用

蓝牙在 Linux Mint 18.2 上不起作用

我以前没有在Linux系统上使用过蓝牙,但我现在想使用它。我尝试使用它,但根本不起作用。以下是一些信息:

dmesg | grep -i bluetooth

[   21.787508] Bluetooth: Core ver 2.22
[   21.787528] Bluetooth: HCI device and connection manager initialized
[   21.787530] Bluetooth: HCI socket layer initialized
[   21.787532] Bluetooth: L2CAP socket layer initialized
[   21.787535] Bluetooth: SCO socket layer initialized
[   21.961854] Bluetooth: hci0: BCM: chip id 70
[   21.962852] Bluetooth: hci0: BCM: features 0x06
[   21.978852] Bluetooth: hci0: BCM43142A
[   21.978855] Bluetooth: hci0: BCM (001.001.011) build 0000
[   24.604038] Bluetooth: hci0: command 0x0a0a tx timeout
[   26.844010] Bluetooth: hci0: BCM: Patch command 0a0a failed (-19)
[   28.956044] Bluetooth: hci0: command 0x1001 tx timeout
[   37.084103] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[   39.420553] Bluetooth: hci0: command 0x1001 tx timeout
[   47.583855] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[   47.998349] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   47.998351] Bluetooth: BNEP filters: protocol multicast
[   47.998355] Bluetooth: BNEP socket layer initialized

此外:

hciconfig -a

hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
    DOWN 
    RX bytes:318 acl:0 sco:0 events:8 errors:0
    TX bytes:43 acl:0 sco:0 commands:11 errors:0
    Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    Packet type: DM1 DH1 HV1 
    Link policy: 
    Link mode: SLAVE ACCEPT 

uname -a

Linux xena-HP-Notebook 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

我已尝试按照下面用户 Goro 的建议编辑 .config 文件。我还卸载了 Blueberry 并安装了 Blueman,希望它能起作用。我在谷歌上进行了广泛的搜索,发现很多用户都面临类似的问题,这些问题在重新启动后可以自行纠正。我的情况没有发生这种情况。我的内核已更新到软件管理器下提供的最新版本。

编辑:我认为内核 4.15 及更高版本已停止使用蓝牙。我在某个地方读过它。无论如何,它仍然不起作用,我现在放弃了。

答案1

正如建议的Linux Mint 论坛,您可以尝试以下操作:

-Change #AutoEnable=false to AutoEnable=true in the /etc/bluetooth/main.conf (notice new line is un-commented)
-Unpair the headset
-Restart the bluetooth service sudo /etc/init.d/bluetooth restart
-Pair your headset again and connect it
-Go to sound settings. From the output device tab you should now see the headset listed along with other output device like internal speakers
-Choose it as the sound output device.

相关内容