[Hardware] 蓝牙音箱无法识别
Tofloor
poster avatar
renothing
deepin
2021-04-13 07:12
Author

免提蓝牙音箱是华为的,适配器能正常识别出来,测试5.4和5.10两个版本内核一样的问题

但是就是死活无法让设备连线

root@deepin:~# hci
hciattach  hciconfig  hcitool    
root@deepin:~# hciconfig -a
hci0:   Type: Primary  Bus: USB
        BD Address: 00:1A:7D:DA:71:13  ACL MTU: 679:8  SCO MTU: 48:16
        DOWN 
        RX bytes:706 acl:0 sco:0 events:22 errors:0
        TX bytes:68 acl:0 sco:0 commands:22 errors:0
        Features: 0xbf 0x3e 0x4d 0xfa 0xdb 0x3d 0x7b 0xc7
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: 
        Link mode: SLAVE ACCEPT 

root@deepin:~#  rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
root@deepin:~# hciconfig hci0 up
Can't init device hci0: Invalid argument (22)
root@deepin:~# hcitool info 00:1A:7D:DA:71:13
Device is not available or not connected.
始终是down状态。
root@deepin:~# lsusb 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 062a:5110 MosArt Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@deepin:~# lsusb -tv
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 7: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M

附上系统日志
[    2.126810] usb 1-5: new low-speed USB device number 3 using xhci_hcd
[    2.410780] usb 1-7: new full-speed USB device number 4 using xhci_hcd
[ 2322.461131] debugfs: File 'dut_mode' in directory 'hci0' already present!
[ 2702.110224] debugfs: File 'dut_mode' in directory 'hci0' already present!

Apr 12 22:33:16 deepin dbus-daemon[461]: [system] Activating service name='org.blueman.Mechanism' requested by ':1.89' (uid=1000 pid=5202 comm="/usr/bin/python3 /usr/bin/blueman-applet ") (using servicehelper)
Apr 12 22:33:16 deepin org.blueman.Mechanism[461]: Unable to init server: Could not connect: Connection refused
Apr 12 22:33:16 deepin org.blueman.Mechanism[461]: Unable to init server: Could not connect: Connection refused
Apr 12 22:33:16 deepin blueman-mechanism: Starting blueman-mechanism 
Apr 12 22:33:16 deepin dbus-daemon[461]: [system] Successfully activated service 'org.blueman.Mechanism'
Apr 12 22:33:16 deepin blueman-mechanism: /usr/lib/blueman/blueman-mechanism:94: PyGIDeprecationWarning: GObject.timeout_add is deprecated; use GLib.timeout_add instead#012  GObject.timeout_add(1000, self.tick)
Apr 12 22:33:16 deepin blueman-mechani[9951]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Apr 12 22:33:16 deepin blueman-mechanism: loading Ppp 
Apr 12 22:33:16 deepin blueman-mechanism: loading RfKill 
Apr 12 22:33:16 deepin blueman-mechanism: loading Network 
Apr 12 22:33:16 deepin blueman-mechanism: loading Rfcomm 
Apr 12 22:33:46 deepin blueman-mechanism: Exiting 

root@deepin:~# dmesg | grep Bluetooth
[    4.567374] Bluetooth: Core ver 2.22
[    4.567392] Bluetooth: HCI device and connection manager initialized
[    4.567397] Bluetooth: HCI socket layer initialized
[    4.567399] Bluetooth: L2CAP socket layer initialized
[    4.567402] Bluetooth: SCO socket layer initialized
[    5.729261] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.729263] Bluetooth: BNEP filters: protocol multicast
[    5.729268] Bluetooth: BNEP socket layer initialized

 

Reply Favorite View the author
All Replies
renothing
deepin
2021-04-13 07:46
#1

更详细的日志.....竟然过不了敏感词检测,只好贴网址了

https://pastebin.ubuntu.com/p/z7HmmFw3Pk/

 

Reply View the author
Ziggy
deepin
2021-04-13 07:47
#2

pulseaudio能不能识别出输出源?5.7和5.11的呢?

Reply View the author
renothing
deepin
2021-04-13 08:26
#3
Ziggy

pulseaudio能不能识别出输出源?5.7和5.11的呢?

识别不了。因为都连接不了,看起来好像是驱动问题

root@deepin:~# dmesg | grep -i bluetooth
[    5.369499] Bluetooth: Core ver 2.22
[    5.369530] Bluetooth: HCI device and connection manager initialized
[    5.369534] Bluetooth: HCI socket layer initialized
[    5.369536] Bluetooth: L2CAP socket layer initialized
[    5.369540] Bluetooth: SCO socket layer initialized
[    6.796695] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[    7.267735] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.267740] Bluetooth: BNEP filters: protocol multicast
[    7.267743] Bluetooth: BNEP socket layer initialized
[  174.942774] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[  712.618957] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[  714.683500] Bluetooth: hci0: command 0x0c25 tx timeout
[  714.683571] Bluetooth: hci0: sending frame failed (-19)
[  716.699663] Bluetooth: hci0: command 0x0c38 tx timeout
[  716.699683] Bluetooth: hci0: sending frame failed (-19)
[  718.715724] Bluetooth: hci0: command 0x0c39 tx timeout
[  718.715810] Bluetooth: hci0: sending frame failed (-19)
[  720.731776] Bluetooth: hci0: command 0x0c05 tx timeout
[  720.731808] Bluetooth: hci0: sending frame failed (-19)
[  722.747814] Bluetooth: hci0: command 0x0c16 tx timeout
[  722.747919] Bluetooth: hci0: sending frame failed (-19)
[  732.748996] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[ 1810.091395] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
Reply View the author
renothing
deepin
2021-04-13 08:29
#4

https://fosspost.org/linux-bluetooth-problem/

看起来要重新编译内核~

Reply View the author