• Bluetooth won't turn back on


    I have a dell xps 15, running gnome desktop. The bluetooth works fine when I boot it up, connecting to my mouse properly and generally having no problems. But, if I turn the bluetooth off for some reason (away from home trying to save battery for example) then I can’t turn it back on. Hitting the button to turn it back on in either the system tray menu (not sure of the name, the menu in the top right hand corner of the screen on the top panel) or by actually going into bluetooth settings doesn’t do anything. The button itself seems to register as turned on (as in it says `on’ and goes blue) but the bluetooth doesn’t activate and in the settings menu it still shows as deactivated below. Restarting the computer fully makes the bluetooth work fine again.

    Any help on this would be great, I need bluetooth to work since I use it a lot at home, but I’d also like to be able to turn it off to save battery at times, and its a pain having to restart (especially since gnome doesn’t seem to have a working restore session function) all the time.

    P.S. logging out and back in without actually powering off the laptop doesn’t fix the problem.

  • you should try handling it from commandline to see if this gives out some error, also enable journal by open a second terminal and run: journalctl -f while disable enable bluetooth…

    also sudo systemctl start bluetooth or sudo systemctl restart bluetoothand status with: systemctl status bluetooth

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • Now the problem seems to have become permanent… I was playing around with some of the above suggestions and had reproduced the error. Decided to power off and back on to get clean logs, but once powered back on cannot turn on bluetooth at all (tried twice). rfkill also seemed to be doing weird things before so here are some logs from journalctl and the terminal commands:

    (This is beginning from a fresh restart with bluetooth not working):

    [****@xps15antergos ~]$ rfkill list
    0: hci0: Bluetooth
    	Soft blocked: yes
    	Hard blocked: no
    1: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    
    

    Then:

    [****@xps15antergos ~]$ rfkill unblock bluetooth
    
    

    Giving this in journalctl:

    
    Dec 18 16:33:20 xps15antergos rfkill[2607]: unblock set for type bluetooth
    Dec 18 16:33:20 xps15antergos systemd[1]: Starting Load/Save RF Kill Switch Status...
    Dec 18 16:33:20 xps15antergos systemd[1]: Started Load/Save RF Kill Switch Status.
    Dec 18 16:33:23 xps15antergos kernel: Bluetooth: hci0 urb ffff9198e9568d80 failed to resubmit (113)
    Dec 18 16:33:31 xps15antergos bluetoothd[578]: Failed to set mode: Failed (0x03)
    
    

    Then:

    
    [****@xps15antergos ~]$ rfkill list
    0: hci0: Bluetooth
    	Soft blocked: no
    	Hard blocked: no
    1: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    
    

    So tried sudo systemctl start bluetooth. Didn’t seem to do anything and gives on this in journalctl:

    
    Dec 18 16:35:19 xps15antergos sudo[2725]:     **** : TTY=pts/1 ; PWD=/home/**** ; USER=root ; COMMAND=/usr/bin/systemctl start bluetooth
    Dec 18 16:35:19 xps15antergos sudo[2725]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Dec 18 16:35:19 xps15antergos sudo[2725]: pam_unix(sudo:session): session closed for user root
    
    

    Moved on to sudo systemctl restart bluetooth. Which gives this huge chunk in journalctl:

    
    Dec 18 16:36:23 xps15antergos sudo[2757]:     **** : TTY=pts/1 ; PWD=/home/**** ; USER=root ; COMMAND=/usr/bin/systemctl restart bluetooth
    Dec 18 16:36:23 xps15antergos sudo[2757]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Dec 18 16:36:23 xps15antergos bluetoothd[578]: Terminating
    Dec 18 16:36:23 xps15antergos bluetoothd[578]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource
    Dec 18 16:36:23 xps15antergos systemd[1]: Stopping Bluetooth service...
    Dec 18 16:36:23 xps15antergos bluetoothd[578]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSink
    Dec 18 16:36:23 xps15antergos dbus-daemon[404]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.42" (uid=1000 pid=900 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.14" (uid=0 pid=578 comm="/usr/lib/bluetooth/bluetoothd ")
    Dec 18 16:36:23 xps15antergos dbus-daemon[404]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.42" (uid=1000 pid=900 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.14" (uid=0 pid=578 comm="/usr/lib/bluetooth/bluetoothd ")
    Dec 18 16:36:23 xps15antergos dbus-daemon[404]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.42" (uid=1000 pid=900 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.14" (uid=0 pid=578 comm="/usr/lib/bluetooth/bluetoothd ")
    Dec 18 16:36:23 xps15antergos dbus-daemon[404]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.42" (uid=1000 pid=900 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.14" (uid=0 pid=578 comm="/usr/lib/bluetooth/bluetoothd ")
    Dec 18 16:36:23 xps15antergos dbus-daemon[404]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.42" (uid=1000 pid=900 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.14" (uid=0 pid=578 comm="/usr/lib/bluetooth/bluetoothd ")
    Dec 18 16:36:23 xps15antergos dbus-daemon[404]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.42" (uid=1000 pid=900 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.14" (uid=0 pid=578 comm="/usr/lib/bluetooth/bluetoothd ")
    Dec 18 16:36:23 xps15antergos bluetoothd[578]: Stopping SDP server
    Dec 18 16:36:23 xps15antergos bluetoothd[578]: Exit
    Dec 18 16:36:23 xps15antergos NetworkManager[570]: <info>  [1513632983.0370] bluez5: NAP: removed interface 9C:B6:D0:F0:AD:40
    Dec 18 16:36:23 xps15antergos systemd[1]: Stopped Bluetooth service.
    Dec 18 16:36:23 xps15antergos systemd[1]: Starting Bluetooth service...
    Dec 18 16:36:23 xps15antergos bluetoothd[2760]: Bluetooth daemon 5.47
    Dec 18 16:36:23 xps15antergos systemd[1]: Started Bluetooth service.
    Dec 18 16:36:23 xps15antergos bluetoothd[2760]: Starting SDP server
    Dec 18 16:36:23 xps15antergos sudo[2757]: pam_unix(sudo:session): session closed for user root
    Dec 18 16:36:23 xps15antergos bluetoothd[2760]: Bluetooth management interface 1.14 initialized
    Dec 18 16:36:23 xps15antergos NetworkManager[570]: <info>  [1513632983.1632] bluez5: NAP: added interface 9C:B6:D0:F0:AD:40
    Dec 18 16:36:23 xps15antergos pulseaudio[900]: E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
    Dec 18 16:36:23 xps15antergos bluetoothd[2760]: Endpoint registered: sender=:1.42 path=/MediaEndpoint/A2DPSource
    Dec 18 16:36:23 xps15antergos bluetoothd[2760]: Endpoint registered: sender=:1.42 path=/MediaEndpoint/A2DPSink
    Dec 18 16:36:25 xps15antergos kernel: Bluetooth: hci0 urb ffff9197f76c3cc0 failed to resubmit (113)
    Dec 18 16:36:25 xps15antergos bluetoothd[2760]: Loading LTKs timed out for hci0
    Dec 18 16:36:33 xps15antergos bluetoothd[2760]: Failed to set mode: Failed (0x03)
    Dec 18 16:36:36 xps15antergos kernel: Bluetooth: hci0 urb ffff9197f76c3b40 failed to resubmit (113)
    Dec 18 16:36:43 xps15antergos bluetoothd[2760]: Failed to set mode: Failed (0x03)
    
    

    But still no change.

    Finally tried opening bluetooth settings, which caused the following to pop up immediately (without trying to change anything):

    
    Dec 18 16:37:51 xps15antergos kernel: Bluetooth: hci0 urb ffff9198e7c64b40 failed to resubmit (113)
    Dec 18 16:37:59 xps15antergos bluetoothd[2760]: Failed to set mode: Failed (0x03)
    
    

    Then tried tried hitting the toggle switch in bluetooth settings, which causes the graphical switch to move to the on position and turn blue, but nothing seems to happen otherwise.

    Finally check rfkill again, still showing:

    
    [****@xps15antergos ~]$ rfkill list
    0: hci0: Bluetooth
    	Soft blocked: no
    	Hard blocked: no
    1: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    
    

    No idea how to make any sense of any of this so any help at all would be appreciated. I guess this is the most relevant bit of output?:

    
    Dec 18 16:36:23 xps15antergos dbus-daemon[404]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.42" (uid=1000 pid=900 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.14" (uid=0 pid=578 comm="/usr/lib/bluetooth/bluetoothd ")
    Dec 18 16:36:23 xps15antergos dbus-daemon[404]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.42" (uid=1000 pid=900 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.14" (uid=0 pid=578 comm="/usr/lib/bluetooth/bluetoothd ")
    
    

    Thanks in advance.

    P.S. Replaced my username with **** for privacy.

  • Sorry, only just noticed the point about systemctl status bluetooth.

    Restarted again, now bluetooth is working again!

    While working systemctl status bluetooth shows:

    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
       Active: active (running) since Mon 2017-12-18 16:51:27 EST; 1min 47s ago
         Docs: man:bluetoothd(8)
     Main PID: 595 (bluetoothd)
       Status: "Running"
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/bluetooth.service
               └─595 /usr/lib/bluetooth/bluetoothd
    
    Dec 18 16:51:27 xps15antergos bluetoothd[595]: Bluetooth management interface 1.14 initialized
    Dec 18 16:51:42 xps15antergos bluetoothd[595]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSource
    Dec 18 16:51:42 xps15antergos bluetoothd[595]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSink
    Dec 18 16:52:03 xps15antergos bluetoothd[595]: bt_uhid_send: Invalid argument (22)
    Dec 18 16:52:03 xps15antergos bluetoothd[595]: bt_uhid_send: Invalid argument (22)
    Dec 18 16:52:03 xps15antergos bluetoothd[595]: bt_uhid_send: Invalid argument (22)
    Dec 18 16:52:03 xps15antergos bluetoothd[595]: bt_uhid_send: Invalid argument (22)
    Dec 18 16:52:03 xps15antergos bluetoothd[595]: bt_uhid_send: Invalid argument (22)
    Dec 18 16:52:03 xps15antergos bluetoothd[595]: bt_uhid_send: Invalid argument (22)
    Dec 18 16:52:03 xps15antergos bluetoothd[595]: bt_uhid_send: Invalid argument (22)
    
    

    Turned bluetooth off. Re-running systemctl status bluetooth produces the same output, even though the bluetooth is definitely turned off now.

    Tried sudo systemctl start bluetooth. No change. Systemctl status bluetooth shows everything the same (except for the running since line).

    Tried sudo systemctl restart bluetooth. Bluetooth still off and not working. But systemctl status bluetooth now shows:

    
    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
       Active: active (running) since Mon 2017-12-18 16:57:21 EST; 2s ago
         Docs: man:bluetoothd(8)
     Main PID: 2676 (bluetoothd)
       Status: "Running"
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/bluetooth.service
               └─2676 /usr/lib/bluetooth/bluetoothd
    
    Dec 18 16:57:21 xps15antergos systemd[1]: Starting Bluetooth service...
    Dec 18 16:57:21 xps15antergos bluetoothd[2676]: Bluetooth daemon 5.47
    Dec 18 16:57:21 xps15antergos systemd[1]: Started Bluetooth service.
    Dec 18 16:57:21 xps15antergos bluetoothd[2676]: Starting SDP server
    Dec 18 16:57:21 xps15antergos bluetoothd[2676]: Bluetooth management interface 1.14 initialized
    Dec 18 16:57:21 xps15antergos bluetoothd[2676]: Failed to set mode: Blocked through rfkill (0x12)
    Dec 18 16:57:21 xps15antergos bluetoothd[2676]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSource
    Dec 18 16:57:21 xps15antergos bluetoothd[2676]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSink
    Dec 18 16:57:21 xps15antergos bluetoothd[2676]: Failed to set mode: Blocked through rfkill (0x12)
    
    

    Given the last line I tried rfkill unblock bluetooth, then confirmed unblocked with rfkill list. Then systemctl restart bluetooth again, gives:

    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
       Active: active (running) since Mon 2017-12-18 16:58:25 EST; 2s ago
         Docs: man:bluetoothd(8)
     Main PID: 2726 (bluetoothd)
       Status: "Running"
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/bluetooth.service
               └─2726 /usr/lib/bluetooth/bluetoothd
    
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Failed to add UUID: Busy (0x0a)
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Failed to add UUID: Busy (0x0a)
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Failed to set device class: Busy (0x0a)
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSource
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSink
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Failed to add UUID: Busy (0x0a)
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Failed to add UUID: Busy (0x0a)
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Failed to add UUID: Busy (0x0a)
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Failed to add UUID: Busy (0x0a)
    Dec 18 16:58:25 xps15antergos bluetoothd[2726]: Failed to set mode: Busy (0x0a)
    

    And no change in working status.

    Gave it a few minutes to see if any change. Ran sudo systemctl restart bluetooth again. Gives:

    
    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
       Active: active (running) since Mon 2017-12-18 17:08:47 EST; 3s ago
         Docs: man:bluetoothd(8)
     Main PID: 3395 (bluetoothd)
       Status: "Running"
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/bluetooth.service
               └─3395 /usr/lib/bluetooth/bluetoothd
    
    Dec 18 17:08:47 xps15antergos systemd[1]: Stopped Bluetooth service.
    Dec 18 17:08:47 xps15antergos systemd[1]: Starting Bluetooth service...
    Dec 18 17:08:47 xps15antergos bluetoothd[3395]: Bluetooth daemon 5.47
    Dec 18 17:08:47 xps15antergos systemd[1]: Started Bluetooth service.
    Dec 18 17:08:47 xps15antergos bluetoothd[3395]: Starting SDP server
    Dec 18 17:08:47 xps15antergos bluetoothd[3395]: Bluetooth management interface 1.14 initialized
    Dec 18 17:08:47 xps15antergos bluetoothd[3395]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSource
    Dec 18 17:08:47 xps15antergos bluetoothd[3395]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSink
    Dec 18 17:08:49 xps15antergos bluetoothd[3395]: Loading LTKs timed out for hci0
    Dec 18 17:08:57 xps15antergos bluetoothd[3395]: Failed to set mode: Failed (0x03)
    Dec 18 17:09:08 xps15antergos bluetoothd[3395]: Failed to set mode: Failed (0x03)
    
    
    

    Hope that all might mean something to someone.

  • lspci > log.txt && lsusb >> log.txt && journalctl -b -0  >> log.txt && cat log.txt | curl -F [email protected] https://ptpb.pw/?u=1
    

    will give boot log and systeminfo to diggin deeper on helping…

    BUT! bluetooth is such a thing not only under Linux… i have 3 different bluetooth dongles, changing them regularly as on every update of kernel or bluetooth or pulseaudio they fail in a way… and one of the others are start working better again in circles…

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

Posts 5Views 168
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.