[Touch-packages] [Bug 1821929] Re: Bluetooth mouse is not able to connect
** Attachment added: "HCI trace captured by btmon" https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1821929/+attachment/5249821/+files/hcitrace.snoop -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1821929 Title: Bluetooth mouse is not able to connect Status in bluez package in Ubuntu: New Bug description: I recently bought not expensive wireless mouse with bluetooth support: https://www.aliexpress.com/item/Wireless-Mouse-Bluetooth-Mouse-Silent-Computer-Mouse-PC-Mause-Wireless-Rechargeable-Ergonomic-Optical-USB-Mice-2/32879862474.html?spm=a2g0s.12269583.0.0.36ab310dUGrVZS I works in MacOS X and Windows but doesn't work in Linux. I suppose I can debug that mouse under Windows to collect more information if I have proper instructions. I collected some information about that mouse: # uname -a Linux asus-N752VX 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux # lsb_release -a Distributor ID:Ubuntu Description:Ubuntu 18.04.2 LTS Release:18.04 Codename:bionic # lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 0bda:8763 Realtek Semiconductor Corp. (BT usb) Bus 001 Device 002: ID 0bda:57f6 Realtek Semiconductor Corp. (Web cam) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub # usb-devices T: Bus=01 Lev=01 Prnt=01 Port=08 Cnt=04 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 2.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0bda ProdID=8763 Rev=02.00 S: Manufacturer=Realtek S: Product=Bluetooth Radio S: SerialNumber=00e04c01 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb # bluetoothctl --version bluetoothctl: 5.48 # hciconfig -a hci0:Type: Primary Bus: USB BD Address: 94:E9:79:1A:89:1D ACL MTU: 820:8 SCO MTU: 255:16 UP RUNNING PSCAN RX bytes:1604 acl:0 sco:0 events:170 errors:0 TX bytes:28036 acl:0 sco:0 commands:166 errors:0 Features: 0xff 0xff 0xff 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'asus-N752VX' Class: 0x1c010c Service Classes: Rendering, Capturing, Object Transfer Device Class: Computer, Laptop HCI Version: 4.0 (0x6) Revision: 0xe3e LMP Version: 4.0 (0x6) Subversion: 0x4380 Manufacturer: Realtek Semiconductor Corporation (93) # bluetoothctl [NEW] Controller 94:E9:79:1A:89:1D asus-N752VX [default] [NEW] Device 5A:4B:3C:0E:07:B2 Bluetooth Mouse 4.0 # show Controller 94:E9:79:1A:89:1D (public) Name: asus-N752VX Alias: asus-N752VX Class: 0x001c010c Powered: yes Discoverable: no Pairable: yes UUID: Headset AG(1112--1000-8000-00805f9b34fb) UUID: Generic Attribute Profile (1801--1000-8000-00805f9b34fb) UUID: A/V Remote Control(110e--1000-8000-00805f9b34fb) UUID: OBEX File Transfer(1106--1000-8000-00805f9b34fb) UUID: Generic Access Profile(1800--1000-8000-00805f9b34fb) UUID: OBEX Object Push (1105--1000-8000-00805f9b34fb) UUID: PnP Information (1200--1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (110c--1000-8000-00805f9b34fb) UUID: IrMC Sync (1104--1000-8000-00805f9b34fb) UUID: Audio Source (110a--1000-8000-00805f9b34fb) UUID: Audio Sink(110b--1000-8000-00805f9b34fb) UUID: Vendor specific (5005--1000-8000-0002ee01) UUID: Message Notification Se.. (1133--1000-8000-00805f9b34fb) UUID: Phonebook Access Server (112f--1000-8000-00805f9b34fb) UUID: Message Access Server (1132--1000-8000-00805f9b34fb) UUID: Headset (1108--1000-8000-00805f9b34fb) Modalias: usb:v1D6Bp0246d0530 Discovering: no # devices Device 5A:4B:3C:0E:07:B2 Bluetooth Mouse 4.0 # info 5A:4B:3C:0E:07:B2 Device 5A:4B:3C:0E:07:B2 (public) Name: Bluetooth Mouse 4.0 Alias: Bluetooth Mouse 4.0 Class: 0x2580 Icon: input-mouse Paired: yes Trusted: yes Blocked: no Connected: no LegacyPairing: no UUID: Human Interface Device... (1124--1000-8000-00805f9b34fb) UUID: PnP Information (1200--1000-8000-00805f9b34fb) Modalias:
[Touch-packages] [Bug 1821929] [NEW] Bluetooth mouse is not able to connect
Public bug reported: I recently bought not expensive wireless mouse with bluetooth support: https://www.aliexpress.com/item/Wireless-Mouse-Bluetooth-Mouse-Silent-Computer-Mouse-PC-Mause-Wireless-Rechargeable-Ergonomic-Optical-USB-Mice-2/32879862474.html?spm=a2g0s.12269583.0.0.36ab310dUGrVZS I works in MacOS X and Windows but doesn't work in Linux. I suppose I can debug that mouse under Windows to collect more information if I have proper instructions. I collected some information about that mouse: # uname -a Linux asus-N752VX 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux # lsb_release -a Distributor ID:Ubuntu Description:Ubuntu 18.04.2 LTS Release:18.04 Codename:bionic # lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 0bda:8763 Realtek Semiconductor Corp. (BT usb) Bus 001 Device 002: ID 0bda:57f6 Realtek Semiconductor Corp. (Web cam) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub # usb-devices T: Bus=01 Lev=01 Prnt=01 Port=08 Cnt=04 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 2.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0bda ProdID=8763 Rev=02.00 S: Manufacturer=Realtek S: Product=Bluetooth Radio S: SerialNumber=00e04c01 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb # bluetoothctl --version bluetoothctl: 5.48 # hciconfig -a hci0:Type: Primary Bus: USB BD Address: 94:E9:79:1A:89:1D ACL MTU: 820:8 SCO MTU: 255:16 UP RUNNING PSCAN RX bytes:1604 acl:0 sco:0 events:170 errors:0 TX bytes:28036 acl:0 sco:0 commands:166 errors:0 Features: 0xff 0xff 0xff 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'asus-N752VX' Class: 0x1c010c Service Classes: Rendering, Capturing, Object Transfer Device Class: Computer, Laptop HCI Version: 4.0 (0x6) Revision: 0xe3e LMP Version: 4.0 (0x6) Subversion: 0x4380 Manufacturer: Realtek Semiconductor Corporation (93) # bluetoothctl [NEW] Controller 94:E9:79:1A:89:1D asus-N752VX [default] [NEW] Device 5A:4B:3C:0E:07:B2 Bluetooth Mouse 4.0 # show Controller 94:E9:79:1A:89:1D (public) Name: asus-N752VX Alias: asus-N752VX Class: 0x001c010c Powered: yes Discoverable: no Pairable: yes UUID: Headset AG(1112--1000-8000-00805f9b34fb) UUID: Generic Attribute Profile (1801--1000-8000-00805f9b34fb) UUID: A/V Remote Control(110e--1000-8000-00805f9b34fb) UUID: OBEX File Transfer(1106--1000-8000-00805f9b34fb) UUID: Generic Access Profile(1800--1000-8000-00805f9b34fb) UUID: OBEX Object Push (1105--1000-8000-00805f9b34fb) UUID: PnP Information (1200--1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (110c--1000-8000-00805f9b34fb) UUID: IrMC Sync (1104--1000-8000-00805f9b34fb) UUID: Audio Source (110a--1000-8000-00805f9b34fb) UUID: Audio Sink(110b--1000-8000-00805f9b34fb) UUID: Vendor specific (5005--1000-8000-0002ee01) UUID: Message Notification Se.. (1133--1000-8000-00805f9b34fb) UUID: Phonebook Access Server (112f--1000-8000-00805f9b34fb) UUID: Message Access Server (1132--1000-8000-00805f9b34fb) UUID: Headset (1108--1000-8000-00805f9b34fb) Modalias: usb:v1D6Bp0246d0530 Discovering: no # devices Device 5A:4B:3C:0E:07:B2 Bluetooth Mouse 4.0 # info 5A:4B:3C:0E:07:B2 Device 5A:4B:3C:0E:07:B2 (public) Name: Bluetooth Mouse 4.0 Alias: Bluetooth Mouse 4.0 Class: 0x2580 Icon: input-mouse Paired: yes Trusted: yes Blocked: no Connected: no LegacyPairing: no UUID: Human Interface Device... (1124--1000-8000-00805f9b34fb) UUID: PnP Information (1200--1000-8000-00805f9b34fb) Modalias: usb:v0A5Cp0001d0129 # paired-devices Device 5A:4B:3C:0E:07:B2 Bluetooth Mouse 4.0 # trust 5A:4B:3C:0E:07:B2 Changing 5A:4B:3C:0E:07:B2 trust succeeded # connect 5A:4B:3C:0E:07:B2 Attempting to connect to 5A:4B:3C:0E:07:B2 Failed to connect: org.bluez.Error.Failed # rfkill list 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: no 1: hci0: Bluetooth Soft blocked: no Hard blocked: no /var/log/syslog: 16:34:35 asus-N752VX bluetoothd[1313]: src/device.c:connect_profiles() /org/bluez/hci0/dev_5A_4B_3C_0E_07_B2 (all), client :1.197 16:34:35 asus-N752VX bluetoothd[1313]: profiles/input/device.c:input