<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi everyone,<br><br>We would like to develop an bluetooth-media application (A2DP+HFP) using bluez-ofono-pulseaudio. I really would like to get a
 couple of pointers from the community. I have identified our 
problems in two categories.<br><b>(1)</b>- pulseaudio crashing <b>(2)</b>- ofono getting delays.<br><br><div><b>(background)<br></b></div><div>We
 use iMX8 Quad Max Multisensory Enablement Kit, Yocto-Arch Linux 
compiled distro, We tried bluez-5.41, ofono-1.18, pulseaudio-12.2; but 
now we upgraded to bluez-5.50, ofono-1.25, pulseaudio-12.2. We are using
 CSR v4.0 bluetooth dongle with vendor ID 0a12, which gives Class 
0x2c0000 when HFP is connected.<br></div><div>Another important note on 
our side is that we are unable to use pulseaudio in system mode, because
 it is giving problems regarding a2dp->hfp switching. Also we have 
made the following changes to our pulseaudio configuration /etc/pulse/<a href="http://default.pa" target="_blank">default.pa</a>, having commented ones uncommented did not help us:<br><br><span style="font-family:monospace,monospace">#load-module module-switch-on-port-available<br>#load-module module-switch-on-connect<br>load-module module-bluetooth-policy ag=true<br>load-module module-bluetooth-discover headset=auto<br>set-default-sink alsa_output.platform-sound-hdmi.stereo-fallback</span><br><br></div><div>We
 start our daemons with the following command (because we use wayland, 
x11 does not work, so pulseaudio complains about not having <span style="font-family:monospace,monospace">DBUS_SESSION_BUS_ADDRESS, when in session mode</span>):<br><br><span style="font-family:monospace,monospace">export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket && export DBUS_SESSION_BUS_PID=$(cat /run/dbus/pid) && {<br>        /usr/libexec/bluetooth/bluetoothd  -d -n  2>&1 | tee /opt/onyx-a2dp-hfp/bluetooth.log &<br>        /usr/sbin/ofonod -d -n 2>&1 | tee /opt/onyx-a2dp-hfp/ofono.log &<br>        /usr/libexec/bluetooth/obexd -d -n 2>&1 | tee /opt/onyx-a2dp-hfp/obex.log &<br>        pulseaudio --realtime 2>&1 | tee /opt/onyx-a2dp-hfp/pulse.log &<br>}</span><br><br></div><div>We have tried using system.d services, which did not make a difference for us. But there might be something we are missing here.<br><br></div><div>After
 switching from bluez-5.41 to 5.50, we started getting following 
AccessDenied error, but having this error, we were still able to 
accomplish a proper A2DP+HFP experience until aforementioned errors. I 
think this is not due to the configuration file, since we basically have
 every permission dbus needs on /etc/dbus-1/system.conf.<br></div><span class="gmail-im"><div><br><span style="font-family:monospace,monospace">method return time=1539068262.046519 sender=:1.26 -> destination=:1.23 serial=21 reply_serial=114<br>error time=1539068262.046600 sender=org.freedesktop.DBus -> destination=:1.26 error_name=org.freedesktop.DBus.Error.AccessDenied reply_serial=21<br>  
 string "Rejected send message, 1 matched rules; type="method_return", 
sender=":1.26" (uid=0 pid=30830 comm="pulseaudio --realtime ") 
interface="(unset)" member="(unset)" error name="(unset)" 
requested_reply="0" destination=":1.23" (uid=0 pid=30827 
comm="/usr/sbin/ofonod -d -n ")"</span><br><br></div><div><br></div></span><div> We were able to accomplish A2DP+HFP connection using bluez-ofono-pulseaudio, but we are having the aforementioned two problems.<br></div><div><br></div><div><b>(1)</b><br></div>Concerning the first one, it randomly happens while using ofono, we get a new card connection (as in org.ofono.HandsfreeAudioAgentNewConnection)
 after some time, for some reason, and then due to a non-existing file 
descriptor, connection breaks, sometimes even bluetooth gets 
disconnected. We get the following on dbus-monitor:<br><br><span style="font-family:monospace,monospace">method
 call time=1539347485.416982 sender=:1.14 -> destination=:1.18 
serial=72 path=/HandsfreeAudioAgent; interface=org.ofono.HandsfreeAudioAgent; member=NewConnection<br>   object path "/card_1"<br>   file descriptor<br>         inode: 18312<br>         type: socket<br>         address family: bluetooth<br>   byte 1<br><br></span><br><div>followed by<span class="gmail-im"><span style="font-family:monospace,monospace"><br><br>  
 string "Rejected send message, 1 matched rules; type="error", 
sender=":1.22" (uid=0 pid=758 comm="/usr/bin/pulseaudio --start 
--log-target=syslog ") interface="(unset)" member="(unset)" error 
name="org.ofono.Error.InvalidArguments" requested_reply="0" destination=":1.15" (uid=0 pid=5482 comm="/usr/sbin/ofonod -d -n ")"<br><br></span></span></div><div>On pulseaudio log, we get:<span style="font-family:monospace,monospace"><span class="gmail-im"><br><br>E: [bluetooth] module-bluez5-device.c: Failed to read data from SCO socket: Connection reset by peer<br></span>W: [pulseaudio] backend-ofono.c: New audio connection invalid arguments (path=/card_1 fd=18, codec=1)<br>W: [pulseaudio] backend-ofono.c: New audio connection invalid arguments (path=/card_1 fd=18, codec=1)<br>W: [pulseaudio] backend-ofono.c: New audio connection invalid arguments (path=/card_1 fd=18, codec=1)<br><br></span></div><div><span style="font-family:monospace,monospace"><br></span></div><div>All these results in the following in the kernel (dmesg):<span style="font-family:monospace,monospace"><br><br>[  444.715333] Bluetooth: hci0 SCO packet for unknown connection handle 65<br></span></div><div><br></div><div><br></div><div>I have included extra debugging information in backend-ofono.c in pulseaudio in order to trace the problem and found out that,  <span style="font-family:monospace,monospace"> card-><span class="gmail-m_-5684042072510393417gmail-pl-smi">fd</span> >= </span><span class="gmail-m_-5684042072510393417gmail-pl-c1"><span style="font-family:monospace,monospace">0</span> fails in the following, which is from </span><span class="gmail-m_-5684042072510393417gmail-pl-c1"><span class="gmail-m_-5684042072510393417gmail-pl-en"><span style="font-family:monospace,monospace">hf_audio_agent_new_connection</span> </span>function:</span><br><br><span class="gmail-m_-5684042072510393417gmail-pl-k">if</span> (!card || codec != HFP_AUDIO_CODEC_CVSD || card-><span class="gmail-m_-5684042072510393417gmail-pl-smi">fd</span> >= <span class="gmail-m_-5684042072510393417gmail-pl-c1">0</span>) {
      
      
        <table class="gmail-m_-5684042072510393417gmail-highlight gmail-m_-5684042072510393417gmail-tab-size gmail-m_-5684042072510393417gmail-js-file-line-container"><tbody><tr><td id="gmail-m_-5684042072510393417gmail-LC615" class="gmail-m_-5684042072510393417gmail-blob-code gmail-m_-5684042072510393417gmail-blob-code-inner gmail-m_-5684042072510393417gmail-js-file-line">        <span class="gmail-m_-5684042072510393417gmail-pl-c1">pa_log_warn</span>(<span class="gmail-m_-5684042072510393417gmail-pl-s"><span class="gmail-m_-5684042072510393417gmail-pl-pds">"</span>New audio connection invalid arguments (path=<span class="gmail-m_-5684042072510393417gmail-pl-c1">%s</span> fd=<span class="gmail-m_-5684042072510393417gmail-pl-c1">%d</span>, codec=<span class="gmail-m_-5684042072510393417gmail-pl-c1">%d</span>)<span class="gmail-m_-5684042072510393417gmail-pl-pds">"</span></span>, path, fd, codec);</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_-5684042072510393417gmail-highlight gmail-m_-5684042072510393417gmail-tab-size gmail-m_-5684042072510393417gmail-js-file-line-container"><tbody><tr><td id="gmail-m_-5684042072510393417gmail-LC616" class="gmail-m_-5684042072510393417gmail-blob-code gmail-m_-5684042072510393417gmail-blob-code-inner gmail-m_-5684042072510393417gmail-js-file-line">        <span class="gmail-m_-5684042072510393417gmail-pl-c1">pa_assert_se</span>(r = <span class="gmail-m_-5684042072510393417gmail-pl-c1">dbus_message_new_error</span>(m, <span class="gmail-m_-5684042072510393417gmail-pl-s"><span class="gmail-m_-5684042072510393417gmail-pl-pds">"</span>org.ofono.Error.InvalidArguments<span class="gmail-m_-5684042072510393417gmail-pl-pds">"</span></span>, <span class="gmail-m_-5684042072510393417gmail-pl-s"><span class="gmail-m_-5684042072510393417gmail-pl-pds">"</span>Invalid arguments in method call<span class="gmail-m_-5684042072510393417gmail-pl-pds">"</span></span>));</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_-5684042072510393417gmail-highlight gmail-m_-5684042072510393417gmail-tab-size gmail-m_-5684042072510393417gmail-js-file-line-container"><tbody><tr><td id="gmail-m_-5684042072510393417gmail-LC617" class="gmail-m_-5684042072510393417gmail-blob-code gmail-m_-5684042072510393417gmail-blob-code-inner gmail-m_-5684042072510393417gmail-js-file-line">        <span class="gmail-m_-5684042072510393417gmail-pl-c1">shutdown</span>(fd, SHUT_RDWR);</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_-5684042072510393417gmail-highlight gmail-m_-5684042072510393417gmail-tab-size gmail-m_-5684042072510393417gmail-js-file-line-container"><tbody><tr><td id="gmail-m_-5684042072510393417gmail-LC618" class="gmail-m_-5684042072510393417gmail-blob-code gmail-m_-5684042072510393417gmail-blob-code-inner gmail-m_-5684042072510393417gmail-js-file-line">        <span class="gmail-m_-5684042072510393417gmail-pl-c1">close</span>(fd);</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_-5684042072510393417gmail-highlight gmail-m_-5684042072510393417gmail-tab-size gmail-m_-5684042072510393417gmail-js-file-line-container"><tbody><tr><td id="gmail-m_-5684042072510393417gmail-LC619" class="gmail-m_-5684042072510393417gmail-blob-code gmail-m_-5684042072510393417gmail-blob-code-inner gmail-m_-5684042072510393417gmail-js-file-line">        <span class="gmail-m_-5684042072510393417gmail-pl-k">return</span> r;</td>
      </tr>
      <tr>
        </tr></tbody></table>    }<br><br></div><div>But I think that 
this might be due to a configuration problem in my pulseaudio, not able 
to set up a new connection with ofono. Also there is a question why we 
suddenly get disconnection and new connection is created. (To this case,
 I think it might be due to our USB bluetooth dongle CSR v4.0, but this 
alsa happened to us a few times before on a HP Pavillion laptop with 
Ubuntu 16.04 -suddenly problem vanished by itself). I dont know if it's 
related to our specific dongle, but we get the following a lot of times 
in ofono logs:<br><span style="font-family:monospace,monospace"><br>ofonod[20146]: ../ofono-1.25/plugins/udevng.c:add_serial_device() Device is missing required OFONO_DRIVER property</span><br></div><br><div>We would like to ask if  you could help us regarding how to trace and find the root cause of this problem.<br></div><br><div><b>(2)<br></b></div><div>Concerning our second problem,<b> </b>we
 have less clues unfortunately. Second problem is ofono slowing down 
(that is, getting state changes late, sometimes not even receives any 
state changes). We monitor state changes from `dbus-monitor --system` 
and we can see that it is not related to our prototype client 
application at all, rather ofono really gets slow downs. It is not 
necessarily tied with <b>(1)</b>, but usually ofono starts slowing down first, then sometimes issue nr.<b> (1) </b>happens. <br><br></div><div>The following log is our biggest lead for this particular problem (dbus-monitor --system):<br><br><span style="font-family:monospace,monospace">method call time=1539757315.572547 sender=:1.5 -> destination=org.freedesktop.DBus serial=212 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_60_F6_77_FD_C4_23',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.572596 sender=org.freedesktop.DBus -> destination=:1.5 serial=138 reply_serial=212<br>method call time=1539757315.572898 sender=:1.25 -> destination=org.freedesktop.DBus serial=158 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_60_F6_77_FD_C4_23',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.572958 sender=org.freedesktop.DBus -> destination=:1.25 serial=47 reply_serial=158<br>method call time=1539757315.579855 sender=:1.33 -> destination=org.freedesktop.DBus serial=427 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_60_F6_77_FD_C4_23',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'"<br>signal time=1539757315.585969 sender=:1.24 -> destination=(null destination) serial=401 path=/; interface=org.freedesktop.DBus.ObjectManager; member=InterfacesRemoved<br>   object path "/org/bluez/hci0/dev_E4_46_DA_7B_A9_21"<br>   array [<br>      string "org.freedesktop.DBus.Properties"<br>      string "org.freedesktop.DBus.Introspectable"<br>      string "org.bluez.Device1"<br>   ]<br>method call time=1539757315.586967 sender=:1.5 -> destination=org.freedesktop.DBus serial=213 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_E4_46_DA_7B_A9_21',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.587040 sender=org.freedesktop.DBus -> destination=:1.5 serial=139 reply_serial=213<br>method call time=1539757315.587624 sender=:1.25 -> destination=org.freedesktop.DBus serial=159 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_E4_46_DA_7B_A9_21',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.587690 sender=org.freedesktop.DBus -> destination=:1.25 serial=48 reply_serial=159<br>signal time=1539757315.588726 sender=:1.24 -> destination=(null destination) serial=402 path=/; interface=org.freedesktop.DBus.ObjectManager; member=InterfacesRemoved<br>   object path "/org/bluez/hci0/dev_67_21_84_5A_E0_FF"<br>   array [<br>      string "org.freedesktop.DBus.Properties"<br>      string "org.freedesktop.DBus.Introspectable"<br>      string "org.bluez.Device1"<br>   ]<br>method call time=1539757315.589350 sender=:1.5 -> destination=org.freedesktop.DBus serial=214 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_67_21_84_5A_E0_FF',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.589387 sender=org.freedesktop.DBus -> destination=:1.5 serial=140 reply_serial=214<br>method call time=1539757315.589668 sender=:1.25 -> destination=org.freedesktop.DBus serial=160 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_67_21_84_5A_E0_FF',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.589713 sender=org.freedesktop.DBus -> destination=:1.25 serial=49 reply_serial=160<br>method call time=1539757315.595363 sender=:1.33 -> destination=org.freedesktop.DBus serial=428 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_E4_46_DA_7B_A9_21',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'"<br>method call time=1539757315.595561 sender=:1.33 -> destination=org.freedesktop.DBus serial=429 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_67_21_84_5A_E0_FF',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'"<br>signal time=1539757315.602966 sender=:1.24 -> destination=(null destination) serial=403 path=/; interface=org.freedesktop.DBus.ObjectManager; member=InterfacesRemoved<br>   object path "/org/bluez/hci0/dev_EA_E2_9A_7F_BB_76"<br>   array [<br>      string "org.freedesktop.DBus.Properties"<br>      string "org.freedesktop.DBus.Introspectable"<br>      string "org.bluez.Device1"<br>   ]<br>signal time=1539757315.604608 sender=:1.24 -> destination=(null destination) serial=404 path=/; interface=org.freedesktop.DBus.ObjectManager; member=InterfacesRemoved<br>   object path "/org/bluez/hci0/dev_61_27_A5_DC_DD_C3"<br>   array [<br>      string "org.freedesktop.DBus.Properties"<br>      string "org.freedesktop.DBus.Introspectable"<br>      string "org.bluez.Device1"<br>   ]<br>method call time=1539757315.604995 sender=:1.5 -> destination=org.freedesktop.DBus serial=215 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_EA_E2_9A_7F_BB_76',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.605035 sender=org.freedesktop.DBus -> destination=:1.5 serial=141 reply_serial=215<br>method call time=1539757315.605622 sender=:1.25 -> destination=org.freedesktop.DBus serial=161 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_EA_E2_9A_7F_BB_76',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.605674 sender=org.freedesktop.DBus -> destination=:1.25 serial=50 reply_serial=161<br>method call time=1539757315.605990 sender=:1.25 -> destination=org.freedesktop.DBus serial=162 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_61_27_A5_DC_DD_C3',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.606042 sender=org.freedesktop.DBus -> destination=:1.25 serial=51 reply_serial=162<br>method call time=1539757315.607927 sender=:1.5 -> destination=org.freedesktop.DBus serial=216 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_61_27_A5_DC_DD_C3',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',arg0='org.bluez.Device1'"<br>method return time=1539757315.607984 sender=org.freedesktop.DBus -> destination=:1.5 serial=142 reply_serial=216<br>method call time=1539757315.611658 sender=:1.33 -> destination=org.freedesktop.DBus serial=430 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_EA_E2_9A_7F_BB_76',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'"<br>method call time=1539757315.611985 sender=:1.33 -> destination=org.freedesktop.DBus serial=431 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch<br>   string "type='signal',sender='org.bluez',path='/org/bluez/hci0/dev_61_27_A5_DC_DD_C3',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'"</span><br><br></div><div>Bluetooth
 or ofono somehow starts to change properties of a lot of the modems it 
finds, which causes a huge delay (I'm guessing), and if you keep sending
 commands, the connection breaks (maybe this is what triggers issue nr. 
(1)). Maybe ofono uses <span style="font-family:monospace,monospace">org.freedesktop.DBus.Properties a lot, </span>which causes a delay when other applications also use it.<br><br></div><div>The following is the log, when the ofono starts slowing down leading to a disconnection:<br><span style="font-family:monospace,monospace">...<br>ofonod[1006]: ../ofono-1.25/src/voicecall.c:ofono_voicecall_disconnected() Got disconnection event for id: 1, reason: 2<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_51_88_89_85_40_56<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_51_88_89_85_40_56<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a82f800<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_43_42_41_9B_8D_B2<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_43_42_41_9B_8D_B2<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a837ee0<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_40_A3_CC_A5_61_2A<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_40_A3_CC_A5_61_2A<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a832350<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_61_AF_F1_3D_B5_89<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_61_AF_F1_3D_B5_89<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a83dc00<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_5C_03_39_B5_1A_60<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_5C_03_39_B5_1A_60<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a83f690<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_D8_63_75_A1_3D_14<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_D8_63_75_A1_3D_14<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a83a400<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_79_AC_39_07_DE_A7<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_79_AC_39_07_DE_A7<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a83f9a0<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_60_F6_77_FD_C4_23<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_60_F6_77_FD_C4_23<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a838e40<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_E4_46_DA_7B_A9_21<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_E4_46_DA_7B_A9_21<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a83c3a0<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_67_21_84_5A_E0_FF<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_67_21_84_5A_E0_FF<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a847650<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_EA_E2_9A_7F_BB_76<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_EA_E2_9A_7F_BB_76<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a831e60<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_remove() Removing device /org/bluez/hci0/dev_61_27_A5_DC_DD_C3<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_61_27_A5_DC_DD_C3<br>bluetoothd[1004]: ../bluez-5.50/src/device.c:device_free() 0x2a848690<br>bluetoothd[1004]: ../bluez-5.50/profiles/audio/avctp.c:req_timeout() transaction 8 retry true<br>bluetoothd[1004]: ../bluez-5.50/profiles/audio/avctp.c:req_timeout() transaction 8 retry false<br><b>W: [bluetooth] module-bluez5-device.c: SCO packet received of unaligned size: 9</b><br>ofonod[1006]: ../ofono-1.25/src/handsfree-audio.c:sco_accept() SCO connection setup between local: 00:1A:7D:DA:71:15 and remote: D8:5B:2A:5B:7B:E6<br>ofonod[1006]: ../ofono-1.25/src/handsfree-audio.c:send_new_connection() 0x1d127f70, fd: 10, codec: 1<br>W: [pulseaudio] backend-ofono.c: debug: (path=/card_1 fd=17, codec=1)<br>ofonod[1006]: ../ofono-1.25/src/voicecall.c:ofono_voicecall_mpty_hint() ids: 0</span><br></div><div><br></div><div>followed by the following in the kernel:<br><br><span style="font-family:monospace,monospace">[ 3491.850928] Bluetooth: hci0 SCO packet for unknown connection handle 47104<br>[ 3491.850931] Bluetooth: hci0 SCO packet for unknown connection handle 0<br>[ 3491.850934] Bluetooth: hci0 SCO packet for unknown connection handle 0<br>[ 3491.850937] Bluetooth: hci0 SCO packet for unknown connection handle 14336<br>[ 3491.850941] Bluetooth: hci0 SCO packet for unknown connection handle 3072<br>[ 3491.850943] Bluetooth: hci0 SCO packet for unknown connection handle 0<br>[ 3491.850947] Bluetooth: hci0 SCO packet for unknown connection handle 0</span><br><br></div><div> I've
 asked the question on many different forums, but the question gets 
clearer every step of the way.  So, I hope I could make it more clear 
than before.<br><br>If you could help us, I'd really appreciate it.<br><br></div>Thank you very much in advance.</div></div></div>