Hello all,

I just wanted to share with you how I got my Bluetooth mice to work:

1. run the different commands using the CLI:

jair@x1:/etc/default$ bluetoothctl -a
[NEW] Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
Agent registered
[bluetooth]# help
Available commands:
  list                       List available controllers
  show [ctrl]                Controller information
  select <ctrl>              Select default controller
  devices                    List available devices
  paired-devices             List paired devices
  power <on/off>             Set controller power
  pairable <on/off>          Set controller pairable mode
  discoverable <on/off>      Set controller discoverable mode
  agent <on/off/capability>  Enable/disable agent with given capability
  default-agent              Set agent as the default one
  set-scan-filter-uuids [uuid1 uuid2 ...] Set scan filter uuids
  set-scan-filter-rssi [rssi] Set scan filter rssi, and clears pathloss
  set-scan-filter-pathloss [pathloss] Set scan filter pathloss, and clears rssi
  set-scan-filter-transport [transport] Set scan filter transport
  set-scan-filter-clear      Clears discovery filter.
  scan <on/off>              Scan for devices
  info [dev]                 Device information
  pair [dev]                 Pair with device
  trust [dev]                Trust device
  untrust [dev]              Untrust device
  block [dev]                Block device
  unblock [dev]              Unblock device
  remove <dev>               Remove device
  connect <dev>              Connect device
  disconnect [dev]           Disconnect device
  list-attributes [dev]      List attributes
  select-attribute <attribute> Select attribute
  attribute-info [attribute] Select attribute
  read                       Read attribute value
  write <data=[xx xx ...]>   Write attribute value
  notify <on/off>            Notify attribute value
  register-profile <UUID ...> Register profile to connect
  unregister-profile         Unregister profile
  version                    Display version
  quit                       Quit program
[bluetooth]# list
Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
[bluetooth]# devices 
[NEW] Device FA:FC:D6:3F:14:19 MX Anywhere 2
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001812-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00010000-0000-1000-8000-011f2000046d
[CHG] Device FA:FC:D6:3F:14:19 Appearance: 0x03c2
[CHG] Device FA:FC:D6:3F:14:19 Icon: input-mouse
[CHG] Device FA:FC:D6:3F:14:19 Modalias: usb:v046DpB013d0007
[bluetooth]# devices 
Device FA:FC:D6:3F:14:19 MX Anywhere 2
[bluetooth]# pair
Missing device address argument
[bluetooth]# pair ?
Device ? not available
[bluetooth]# pair FA:FC:D6:3F:14:19 MX Anywhere 2
Device FA:FC:D6:3F:14:19 MX Anywhere 2 not available
[CHG] Device FA:FC:D6:3F:14:19 Connected: no
[CHG] Device FA:FC:D6:3F:14:19 Connected: yes
[MX Anywhere 2]# pair FA:FC:D6:3F:14:19 MX Anywhere 2
Device FA:FC:D6:3F:14:19 MX Anywhere 2 not available
[MX Anywhere 2]# pair FA:FC:D6:3F:14:19
Attempting to pair with FA:FC:D6:3F:14:19
[CHG] Device FA:FC:D6:3F:14:19 Paired: yes
Pairing successful
[MX Anywhere 2]# connect FA:FC:D6:3F:14:19
Attempting to connect to FA:FC:D6:3F:14:19
Connection successful
[CHG] Device FA:FC:D6:3F:14:19 Connected: no
[CHG] Device FA:FC:D6:3F:14:19 Connected: yes
[CHG] Device FA:FC:D6:3F:14:19 Connected: no
[CHG] Device FA:FC:D6:3F:14:19 Connected: yes
[CHG] Controller 44:85:00:73:70:6B Discovering: yes
[CHG] Controller 44:85:00:73:70:6B Discovering: no
[CHG] Device FA:FC:D6:3F:14:19 Connected: no
[CHG] Device FA:FC:D6:3F:14:19 Connected: yes
[MX Anywhere 2]# exit
Agent unregistered
[DEL] Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
jair@x1:/etc/default$ bluetoothctl -a
[NEW] Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
[NEW] Device FA:FC:D6:3F:14:19 MX Anywhere 2
Agent registered
[bluetooth]# device
Invalid command
[bluetooth]# list
Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
[bluetooth]# exit
Agent unregistered
[DEL] Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
jair@x1:/etc/default$ bluetoothctl -a
[NEW] Controller 00:1A:7D:DA:71:13 x1 [default]
[NEW] Device FA:FC:D6:3F:14:19 MX Anywhere 2
[NEW] Controller 44:85:00:73:70:6B ChromeLinux_6A27 
Agent registered
[bluetooth]# show
Controller 00:1A:7D:DA:71:13
        Name: x1 #1
        Alias: x1
        Class: 0x1c010c
        Powered: yes
        Discoverable: yes
        Pairable: yes
        UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
        UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
        UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0525
        Discovering: no
[bluetooth]# exit
Agent unregistered
[DEL] Controller 00:1A:7D:DA:71:13 x1 [default]
[DEL] Controller 44:85:00:73:70:6B ChromeLinux_6A27 
jair@x1:/etc/default$ bluetoothctl -a
[NEW] Controller 00:1A:7D:DA:71:13 x1 [default]
[NEW] Device FA:FC:D6:3F:14:19 MX Anywhere 2
[NEW] Controller 44:85:00:73:70:6B ChromeLinux_6A27 
Agent registered
[bluetooth]# help
Available commands:
  list                       List available controllers
  show [ctrl]                Controller information
  select <ctrl>              Select default controller
  devices                    List available devices
  paired-devices             List paired devices
  power <on/off>             Set controller power
  pairable <on/off>          Set controller pairable mode
  discoverable <on/off>      Set controller discoverable mode
  agent <on/off/capability>  Enable/disable agent with given capability
  default-agent              Set agent as the default one
  set-scan-filter-uuids [uuid1 uuid2 ...] Set scan filter uuids
  set-scan-filter-rssi [rssi] Set scan filter rssi, and clears pathloss
  set-scan-filter-pathloss [pathloss] Set scan filter pathloss, and clears rssi
  set-scan-filter-transport [transport] Set scan filter transport
  set-scan-filter-clear      Clears discovery filter.
  scan <on/off>              Scan for devices
  info [dev]                 Device information
  pair [dev]                 Pair with device
  trust [dev]                Trust device
  untrust [dev]              Untrust device
  block [dev]                Block device
  unblock [dev]              Unblock device
  remove <dev>               Remove device
  connect <dev>              Connect device
  disconnect [dev]           Disconnect device
  list-attributes [dev]      List attributes
  select-attribute <attribute> Select attribute
  attribute-info [attribute] Select attribute
  read                       Read attribute value
  write <data=[xx xx ...]>   Write attribute value
  notify <on/off>            Notify attribute value
  register-profile <UUID ...> Register profile to connect
  unregister-profile         Unregister profile
  version                    Display version
  quit                       Quit program
[bluetooth]# list
Controller 00:1A:7D:DA:71:13 x1 [default]
Controller 44:85:00:73:70:6B ChromeLinux_6A27 
[bluetooth]# select 00:1A:7D:DA:71:13
[bluetooth]# pair
pair            pairable        paired-devices  
[bluetooth]# paired-devices 
[bluetooth]# show
Controller 00:1A:7D:DA:71:13
        Name: x1 #1
        Alias: x1
        Class: 0x1c010c
        Powered: yes
        Discoverable: yes
        Pairable: yes
        UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
        UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
        UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0525
        Discovering: no
[bluetooth]# help
Available commands:
  list                       List available controllers
  show [ctrl]                Controller information
  select <ctrl>              Select default controller
  devices                    List available devices
  paired-devices             List paired devices
  power <on/off>             Set controller power
  pairable <on/off>          Set controller pairable mode
  discoverable <on/off>      Set controller discoverable mode
  agent <on/off/capability>  Enable/disable agent with given capability
  default-agent              Set agent as the default one
  set-scan-filter-uuids [uuid1 uuid2 ...] Set scan filter uuids
  set-scan-filter-rssi [rssi] Set scan filter rssi, and clears pathloss
  set-scan-filter-pathloss [pathloss] Set scan filter pathloss, and clears rssi
  set-scan-filter-transport [transport] Set scan filter transport
  set-scan-filter-clear      Clears discovery filter.
  scan <on/off>              Scan for devices
  info [dev]                 Device information
  pair [dev]                 Pair with device
  trust [dev]                Trust device
  untrust [dev]              Untrust device
  block [dev]                Block device
  unblock [dev]              Unblock device
  remove <dev>               Remove device
  connect <dev>              Connect device
  disconnect [dev]           Disconnect device
  list-attributes [dev]      List attributes
  select-attribute <attribute> Select attribute
  attribute-info [attribute] Select attribute
  read                       Read attribute value
  write <data=[xx xx ...]>   Write attribute value
  notify <on/off>            Notify attribute value
  register-profile <UUID ...> Register profile to connect
  unregister-profile         Unregister profile
  version                    Display version
  quit                       Quit program
[bluetooth]# devices
Device FA:FC:D6:3F:14:19 MX Anywhere 2
[bluetooth]# pair FA:FC:D6:3F:14:19
Attempting to pair with FA:FC:D6:3F:14:19
[bluetooth]# paired-devices 
[CHG] Device FA:FC:D6:3F:14:19 Connected: yes
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001812-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00010000-0000-1000-8000-011f2000046d
[CHG] Device FA:FC:D6:3F:14:19 Modalias: usb:v046DpB013d0007
[MX Anywhere 2]# paired-devices 
[MX Anywhere 2]# paired-devices 
[MX Anywhere 2]# show
Controller 00:1A:7D:DA:71:13
        Name: x1 #1
        Alias: x1
        Class: 0x1c010c
        Powered: yes
        Discoverable: yes
        Pairable: yes
        UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
        UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
        UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0525
        Discovering: no


And then the secret sauce: 
https://vilimpoc.org/blog/2016/04/30/ubuntu-16-04-bluetooth-speakers/

After that it worked.

Hope this help,

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1546603

Title:
  Bluetooth mouse connects but doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1546603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to