You are not logged in.

#1 2018-06-04 16:47:05

cerberek
Member
Registered: 2018-06-04
Posts: 2

Bluetooth service is stuck on pulseaudio module

I don't see my internal bluetooth adapter. I put to sleep my notebook with bluetooth headset connected and after waking it up it got stuck and I don't have access to bluetooth controller.

Jun 04 18:24:39 archlinux systemd[1]: Stopping Bluetooth service...
Jun 04 18:24:39 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.89" (uid=1000 pid=667 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" e>
Jun 04 18:24:39 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.89" (uid=1000 pid=667 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" e>
Jun 04 18:24:39 archlinux kdeinit5[585]: bluedevil: AGENT-Release
Jun 04 18:24:39 archlinux kdeinit5[585]: bluedevil: Bluetooth operational changed false
Jun 04 18:24:39 archlinux systemd[1]: Stopped Bluetooth service.

I tried to unload and load back btusb module and it didn't helped.
Same error occur even after complete reboot.

I found similar problem solved by some Germans but It doesn't make sense to me
https://bbs.archlinux.de/viewtopic.php?id=30464

Offline

#2 2018-06-04 18:02:53

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: Bluetooth service is stuck on pulseaudio module

Have you tried killing pulseaudio first and then restarting bluetooth.service? I've struggled  a bit with my bluetooth as well but and I've got it working with a minor caveat. I wrote about it on this thread.
You can then check the status of bluetooth.service and if it loads or just to see what it says, then run pulseaudio again and try connecting.

Offline

#3 2018-06-05 13:48:15

cerberek
Member
Registered: 2018-06-04
Posts: 2

Re: Bluetooth service is stuck on pulseaudio module

I tried to kill pulseadio but restart of bluetooth just  triggered new process "/usr/bin/pulseaudio --daemonize=no ". Yesterday after multipletimes killed pulseaudio I could successfully reload bluetooth.service.
But I guess there is still some dependency which is blocking bluetooth deamon as this didn't happened first time to me. And I couldn't find anywhere info about this

As well output from "journalctl -b -g bluetooth" for moment when it start is messed up for me.

In journal are thousands of lines "Bluetooth: hci0 SCO packet for unknown connection handle 0"

Jun 04 18:24:39 archlinux systemd[1]: Stopping Bluetooth service...
Jun 04 18:24:39 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.89" (uid=1000 pid=667 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" e>
Jun 04 18:24:39 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.89" (uid=1000 pid=667 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" e>
Jun 04 18:24:39 archlinux kdeinit5[585]: bluedevil: Bluetooth operational changed false
Jun 04 18:24:39 archlinux systemd[1]: Stopped Bluetooth service.
Jun 04 18:24:39 archlinux systemd[1]: Starting Bluetooth service...
Jun 04 18:24:39 archlinux bluetoothd[8070]: Bluetooth daemon 5.49
Jun 04 18:24:39 archlinux systemd[1]: Started Bluetooth service.
Jun 04 18:24:39 archlinux bluetoothd[8070]: Bluetooth management interface 1.14 initialized
Jun 04 18:24:39 archlinux dbus-daemon[381]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.139' (uid=0 pid=8070 comm="/usr/lib/bluet>
Jun 04 18:24:39 archlinux kdeinit5[585]: bluedevil: Bluetooth operational changed true
Jun 04 18:39:04 archlinux plasmashell[642]: org.kde.plasmaquick: Applet "Bluetooth" loaded after 44 msec
Jun 04 18:39:04 archlinux plasmashell[642]: org.kde.plasmaquick: Increasing score for "Bluetooth" to 5
Jun 04 23:25:57 archlinux kernel: Bluetooth: hci0: using rampatch file: qca/rampatch_usb_00000302.bin
Jun 04 23:25:57 archlinux kernel: Bluetooth: hci0: QCA: patch rome 0x302 build 0x138, firmware rome 0x302 build 0x111
Jun 04 23:25:58 archlinux systemd[1]: Reached target Bluetooth.
Jun 04 23:25:58 archlinux kernel: Bluetooth: hci0: using NVM file: qca/nvm_usb_00000302.bin
Jun 04 23:25:58 archlinux kernel: Bluetooth: RFCOMM TTY layer initialized
Jun 04 23:25:58 archlinux kernel: Bluetooth: RFCOMM socket layer initialized
Jun 04 23:25:58 archlinux kernel: Bluetooth: RFCOMM ver 1.11
Jun 04 23:25:58 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:25:58 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:25:58 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:25:58 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:25:59 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:25:59 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux sudo[11416]:    roman : TTY=pts/0 ; PWD=/home/roman ; USER=root ; COMMAND=/usr/bin/systemctl stop bluetooth.service
Jun 04 23:28:14 archlinux systemd[1]: Stopping Bluetooth service...
Jun 04 23:28:14 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.160" (uid=1000 pid=11293 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)>
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.160" (uid=1000 pid=11293 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)>
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.160" (uid=1000 pid=11293 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)>
Jun 04 23:28:14 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.160" (uid=1000 pid=11293 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)>
Jun 04 23:28:14 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.160" (uid=1000 pid=11293 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)>
Jun 04 23:28:14 archlinux dbus-daemon[381]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.160" (uid=1000 pid=11293 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)>
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux kdeinit5[585]: bluedevil: Bluetooth operational changed false
Jun 04 23:28:14 archlinux systemd[1]: Stopped Bluetooth service.
Jun 04 23:28:14 archlinux systemd[1]: Starting Bluetooth service...
Jun 04 23:28:14 archlinux bluetoothd[11420]: Bluetooth daemon 5.49
Jun 04 23:28:14 archlinux systemd[1]: Started Bluetooth service.
Jun 04 23:28:14 archlinux dbus-daemon[381]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.161' (uid=0 pid=11420 comm="/usr/lib/blue>
Jun 04 23:28:14 archlinux bluetoothd[11420]: Bluetooth management interface 1.14 initialized
Jun 04 23:28:14 archlinux kdeinit5[585]: bluedevil: Bluetooth operational changed true
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:14 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:15 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:15 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:15 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:28:33 archlinux sudo[11668]:    roman : TTY=pts/0 ; PWD=/home/roman ; USER=root ; COMMAND=/usr/bin/systemctl disable bluetooth.service
Jun 04 23:36:52 archlinux polkitd[405]: Operator of unix-session:c2 successfully authenticated as unix-user:roman to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-unit-files for system-bus-name::1>
Jun 04 23:36:55 archlinux polkitd[405]: Operator of unix-session:c2 successfully authenticated as unix-user:roman to gain TEMPORARY authorization for action org.freedesktop.systemd1.reload-daemon for system-bus-name::1.212>
Jun 04 23:37:08 archlinux plasmashell[642]: org.kde.plasmaquick: Applet "Bluetooth" loaded after 89 msec
Jun 04 23:37:08 archlinux plasmashell[642]: org.kde.plasmaquick: Increasing score for "Bluetooth" to 5
Jun 04 23:37:11 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:37:11 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:37:11 archlinux plasmashell[642]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined
Jun 04 23:37:12 archlinux kernel: Bluetooth: hci0: SCO packet for unknown connection handle 9
Jun 04 23:37:12 archlinux kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
Jun 04 23:37:12 archlinux kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
Jun 04 23:37:12 archlinux kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0

Offline

#4 2018-06-05 16:14:27

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: Bluetooth service is stuck on pulseaudio module

file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js:36: ReferenceError: btManager is not defined

My intuition tells me this has something to do with bluedevil, since btManager is said to be undefined. It might be the unknown btManager is blocking communication with the dbus. Of course I can be wrong. You can try removing your bluedevil configs at /home/.config (make a backup of it if you wish just in case) and also temporarily uninstalling bluedevil and see if you can make everything function via bluez's bluetoothctl. It might also be helpful to temporarily disable pulseaudio.desktop at /etc/xdg/autostart for debug.

Offline

#5 2018-06-05 19:58:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,422

Re: Bluetooth service is stuck on pulseaudio module

Is pulseaudio-bluetooth installed?  It also shouldn't randomly try to start a new daemon, what's your output for

systemctl --user status pulseaudio

? Also please use [ code ] tags and not [ quote ] tags for command output.

Offline

#6 2018-11-05 16:16:45

racic
Member
Registered: 2017-07-13
Posts: 1

Re: Bluetooth service is stuck on pulseaudio module

When trying to send a file from my phone by bluetooth I encounter this repeated error:

plasmashell[1016]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:36: ReferenceError: btManager is not defined

This issue persists for quite a long time, funny enough I was successful once or twice in the past months in sending the file, but most attempts fail.

Offline

Board footer

Powered by FluxBB