Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

  1. #1
    Join Date
    Apr 2018
    Beans
    5

    Thumbs up Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Ubuntu 18.04 LTS

    device: Bluetooth Mouse M336/M337/M535

    problem: mouse won't pair after restarting computer

    resolution: I began by following the instructions for bluetooth 5 posted at:

    here (thank you Dave)

    I have also included them below along with the additional steps I needed to perform.

    // open up a command prompt and use the bluetoothctl command

    // list the available bluetooth controllers
    # bluetoothctl
    [bluetooth]# list
    Controller 01:23:45:67:89:AB fzidpc73

    // choose the controller to work with
    [bluetooth]# select 01:23:45:67:89:AB

    // show/display the controller details
    bluetooth]# show
    Controller 01:23:45:67:89:AB
    Name: fzidpc73
    Alias: fzidpc73-0
    Class: 0x000000
    Powered: no
    Discoverable: no
    Pairable: yes
    UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d0517
    Discovering: no
    [bluetooth]# power on
    [CHG] Controller 01:23:45:67:89:AB Class: 0x000104
    Changing power on succeeded
    [CHG] Controller 01:23:45:67:89:AB Powered: yes

    // scan for bluetooth devices (make sure your mouse is in discovery mode before running this command)
    [bluetooth]# scan on
    Discovery started
    [CHG] Controller 01:23:45:67:89:AB Discovering: yes
    [NEW] Device 34:88:5D:87:C0:A6 Bluetooth Mouse M336/M337/M535
    [bluetooth]# scan off
    Discovery stopped
    [CHG] Controller 01:23:45:67:89:AB Discovering: no

    // turn the agent on just incase you need to supply a pin code[bluetooth]# agent on
    Agent registered


    // note that the device might not ask you for a pin code

    [bluetooth]# pair 34:88:5D:87:C0:A6
    Attempting to pair with 34:88:5D:87:C0:A6
    [CHG] Device 34:88:5D:87:C0:A6 Connected: yes
    Request PIN code
    [agent] Enter PIN code: 1234
    [CHG] Device 34:88:5D:87:C0:A6 UUIDs:
    00001101-0000-1000-8000-00805f9b34fb
    [CHG] Device 34:88:5D:87:C0:A6 Paired: yes
    Pairing successful
    [CHG] Device 34:88:5D:87:C0:A6 Connected: no

    // once you have done this use the following two commands to
    // complete setup

    [bluetooth]# connect 34:88:5D:87:C0:A6
    ...
    [bluetooth]# trust 34:88:5D:87:C0:A6
    ...

    // your mouse should now work properly even after the computer has been restarted.

  2. #2
    Join Date
    May 2018
    Beans
    1

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Thanks a lot for sharing this, it solved the problem for me.

  3. #3
    Join Date
    Apr 2010
    Beans
    30
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Thanks for this. I have a dual boot system with Windows 10 and Ubuntu 18.04 LTS. The info file in the bluetooth device folder was missing the LinkKey line that is referred to in other threads on how to set up a bluetooth mouse. The LinkKey line is there now after following your instructions.

  4. #4
    Join Date
    Jan 2005
    Location
    Lyon, France
    Beans
    46
    Distro
    Ubuntu

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    thanks a lot, it worked well !!!
    Can't understand why devices without PIN code can't be trusted automatically on Ubuntu 18.04, even after the 18.04.01 release... a big fail from Canonical and Gnome.

    You should share this solution on Ask Ubuntu, too
    http://blog.ttoine.net - http://ubuntustudio.org - Ubuntu Studio Team Member
    Laptop: Thinkpad T61P + Echo Audiofire 2
    Workstation: AMD A6 based, custom made, with RME HDSP 9652

  5. #5
    Join Date
    Aug 2018
    Beans
    1

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Thanks for sharing. This worked like a charm for my Logitech Ultrathin Touch Mouse on Ubuntu 18!

  6. #6
    Join Date
    Sep 2018
    Beans
    1

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Thank you very much!!! You saved me days of investigation. Easy to find and easy to follow solution. Thanks again!!!

  7. #7
    Join Date
    Oct 2018
    Beans
    3

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Hello,

    I am new to Ubuntu and Linux generally speaking so I hope you will forgive me.
    I tried all the steps indicated above but when I try to connect to my mouse (Microsoft Sculpt Comfort) this is what I get:

    [bluetooth]# connect C0:33:5E:07:70:66
    Attempting to connect to C0:33:5E:07:70:66
    Failed to connect: org.bluez.Error.Failed

    The only way to get this to work is to manually put the mouse in discovery mode and re-run the connect step. It then works...
    I would ideally like for this to happen automatically?
    Any idea...
    Thank you in advance!

  8. #8
    Join Date
    Oct 2018
    Beans
    2

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Quote Originally Posted by joegry View Post
    Ubuntu 18.04 LTS

    device: Bluetooth Mouse M336/M337/M535

    problem: mouse won't pair after restarting computer

    resolution: I began by following the instructions for bluetooth 5 posted at:

    here (thank you Dave)

    I have also included them below along with the additional steps I needed to perform.

    // open up a command prompt and use the bluetoothctl command

    // list the available bluetooth controllers
    # bluetoothctl
    [bluetooth]# list
    Controller 01:23:45:67:89:AB fzidpc73

    // choose the controller to work with
    [bluetooth]# select 01:23:45:67:89:AB

    // show/display the controller details
    bluetooth]# show
    Controller 01:23:45:67:89:AB
    Name: fzidpc73
    Alias: fzidpc73-0
    Class: 0x000000
    Powered: no
    Discoverable: no
    Pairable: yes
    UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d0517
    Discovering: no
    [bluetooth]# power on
    [CHG] Controller 01:23:45:67:89:AB Class: 0x000104
    Changing power on succeeded
    [CHG] Controller 01:23:45:67:89:AB Powered: yes

    // scan for bluetooth devices (make sure your mouse is in discovery mode before running this command)
    [bluetooth]# scan on
    Discovery started
    [CHG] Controller 01:23:45:67:89:AB Discovering: yes
    [NEW] Device 34:88:5D:87:C0:A6 Bluetooth Mouse M336/M337/M535
    [bluetooth]# scan off
    Discovery stopped
    [CHG] Controller 01:23:45:67:89:AB Discovering: no
    Audacity
    Find My iPhone
    Orgin


    // turn the agent on just incase you need to supply a pin code
    [bluetooth]# agent on
    Agent registered


    // note that the device might not ask you for a pin code

    [bluetooth]# pair 34:88:5D:87:C0:A6
    Attempting to pair with 34:88:5D:87:C0:A6
    [CHG] Device 34:88:5D:87:C0:A6 Connected: yes
    Request PIN code
    [agent] Enter PIN code: 1234
    [CHG] Device 34:88:5D:87:C0:A6 UUIDs:
    00001101-0000-1000-8000-00805f9b34fb
    [CHG] Device 34:88:5D:87:C0:A6 Paired: yes
    Pairing successful
    [CHG] Device 34:88:5D:87:C0:A6 Connected: no

    // once you have done this use the following two commands to
    // complete setup

    [bluetooth]# connect 34:88:5D:87:C0:A6
    ...
    [bluetooth]# trust 34:88:5D:87:C0:A6
    ...

    // your mouse should now work properly even after the computer has been restarted.
    You're the best to share this, it tackled the issue for me.
    Last edited by firarottico; October 10th, 2018 at 08:08 PM.

  9. #9
    Join Date
    Oct 2018
    Beans
    3

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Thanks for re-posting the steps! At first I was a bit irritated as I tried those few times but then I realised something that could help others: you need to remove the mouse from the list of bluetooth devices. THEN can you perform these steps... In other words, I still had my mouse registered, which prevented from this recommendation to work properly. So far, so good!
    So my advise to nitwits like me: delete your mouse and THEN do the steps!

  10. #10
    Join Date
    Oct 2018
    Beans
    1

    Re: Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

    Thank you very much for sharing!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •