![ubuntu 18.04 LTS 蓝牙“开启”按钮不起作用](https://linux22.com/image/1168868/ubuntu%2018.04%20LTS%20%E8%93%9D%E7%89%99%E2%80%9C%E5%BC%80%E5%90%AF%E2%80%9D%E6%8C%89%E9%92%AE%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我尝试通过电脑上的蓝牙适配器连接 Xbox one,但在遇到连接问题(像往常一样)之前,我甚至在启用蓝牙时也遇到了问题:按钮处于“关闭”状态并被锁定以进行更改。
我尝试了很多。首先我得到了 xpadneo,这样做:
sudo apt install sysfsutils
sudo nano /etc/sysfs.conf
将以下内容放在文件末尾。“/module/bluetooth/parameters/disable_ertm=1”
在这里尝试过的解决方案:ubuntu 18.04 LTS 蓝牙 [0cf3:3004] 发现不起作用
尝试过sudo rfkill unblock bluetooth
安装 bluez 和一些其他东西。没什么帮助。
bluetoothctl-没有响应
pruntoff@samus:~$ bluetoothctl
Waiting to connect to bluetoothd...
一些命令:
pruntoff@samus:~$ lspci -knn | grep Net -A3; lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 045e:02fe Microsoft Corp.
Bus 003 Device 002: ID 1a81:1004 Holtek Semiconductor, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pruntoff@samus:~$ dmesg | grep -i blue
[ 93.896221] audit: type=1107 audit(1572797372.145:56): pid=803 uid=106 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=2034 label="snap.chromium.chromium"
rfkill 已安装但没有返回任何内容。
我是 64 位 PC Intel® Core™ i5-4460 CPU @ 3.20GHz × 4 GNOME 3.28.2
pruntoff@samus:~$ uname -r
4.15.0-66-generic
提前致谢!
UPD:更多命令:
pruntoff@samus:~$ sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
Active: inactive (dead)
Docs: man:bluetoothd(8)
更新2:是的,它是外部的,只是加密狗。请求的输出:
pruntoff@samus:~$ dmesg | tail
[ 2493.764744] usb 3-4: Product: XBOX ACC
[ 2493.764747] usb 3-4: Manufacturer: Microsoft Inc.
[ 2493.764750] usb 3-4: SerialNumber: 140770
[ 2501.628448] usb 3-4: USB disconnect, device number 5
[ 2519.475760] usb 3-4: new high-speed USB device number 6 using xhci_hcd
[ 2519.625396] usb 3-4: New USB device found, idVendor=045e, idProduct=02fe
[ 2519.625401] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2519.625404] usb 3-4: Product: XBOX ACC
[ 2519.625407] usb 3-4: Manufacturer: Microsoft Inc.
[ 2519.625409] usb 3-4: SerialNumber: 140770
似乎找不到驱动程序...
pruntoff@samus:~$ usb-devices
...
T: Bus=03 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#= 6 Spd=480 MxCh= 0
D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=045e ProdID=02fe Rev=01.00
S: Manufacturer=Microsoft Inc.
S: Product=XBOX ACC
S: SerialNumber=140770
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
...
答案1
当您使用 BlueZ 时,您必须使用其控件和设置,而不是内置的控件和设置。