I'm running Ubuntu 14.04 (fresh install a few months ago), kernel 3.13.0-36-generic, all recent updates installed. I posted this question over at Plantronics site (http://soundingboard.plantronics.com...ge/46229#46229) but I thought reaching out to the Ubuntu community itself would be more productive. Here's the post:
I'm the proud new owner of an M165 bluetooth headset. It pairs and works perfectly with my Android phone (Nexus 5). However in Linux (Ubuntu 14.04 on a Toshiba Satellite L840 64 bit) it pairs but the audio stutters.
That is, once I get the device paired, connected, and selected as the output device, I get audio but it will pause for a 10th of a second about every second.
This laptop runs PulseAudio and there are a few quirks of operation that I don't fully understand.
- The bluetooth task bar widget works fine, has a "PLTM165" menu dropdown that lets me easily connect/disconnect the headset.
- After connection, sometimes the headset does not appear in the default system audio control panel.
- Sometimes the list of input and output devices in the audio control panel is completely empty. Even the usual Output devices "HDMI/DisplayPort" and "Speakers - Built-in Audio" have disappeared.
- Running the command "gksudo pactl load-module module-bluetooth-discover" does seem to help the audio device appear sometimes. It seems the default setup loaded by the bluetooth system either doesn't have this module, or the magic performed by this command isn't executed properly when the device is connected.
I notice a stream of messages like this in my syslog:
Code:
Oct 5 18:23:14 localhost kernel: [ 1461.772178] Bluetooth: hci0 SCO packet for unknown connection handle 63487
Oct 5 18:23:14 localhost kernel: [ 1461.782184] Bluetooth: hci0 SCO packet for unknown connection handle 65498
Oct 5 18:23:14 localhost kernel: [ 1461.792139] Bluetooth: hci0 SCO packet for unknown connection handle 65506
Oct 5 18:23:14 localhost kernel: [ 1461.792147] Bluetooth: hci0 SCO packet for unknown connection handle 3072
Oct 5 18:23:14 localhost kernel: [ 1461.792150] Bluetooth: hci0 SCO packet for unknown connection handle 10
They appear rapidly as soon as I start output (e.g. play radio in Rhythmbox) and stop when the playback stops.
After stopping playback, I used the bluetooth system tray icon to disconnect, then reconnect the headset. The headset spoke "Phone 2 disconnected" and "connected" properly, then the following syslog messages were generated:
Code:
Oct 5 18:23:15 localhost kernel: [ 1462.993458] Bluetooth: hci0 SCO packet for unknown connection handle 65504
Oct 5 18:23:15 localhost kernel: [ 1462.993461] Bluetooth: hci0 SCO packet for unknown connection handle 6144
Oct 5 18:23:15 localhost kernel: [ 1462.993464] Bluetooth: hci0 SCO packet for unknown connection handle 38
Oct 5 18:23:15 localhost kernel: [ 1462.993466] Bluetooth: hci0 SCO packet for unknown connection handle 9728
Oct 5 18:23:15 localhost bluetoothd[574]: message repeated 7 times: [ Audio connection got disconnected]
Oct 5 18:24:19 localhost bluetoothd[574]: Discover: Connection timed out (110)
Oct 5 18:24:23 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally
Oct 5 18:24:23 localhost pulseaudio[4313]: message repeated 10 times: [ [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally]
Oct 5 18:24:28 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] ratelimit.c: 115 events suppressed
Oct 5 18:24:28 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally
Oct 5 18:24:28 localhost pulseaudio[4313]: message repeated 10 times: [ [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally]
Oct 5 18:24:33 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] ratelimit.c: 115 events suppressed
Oct 5 18:24:33 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally
Oct 5 18:24:33 localhost pulseaudio[4313]: message repeated 10 times: [ [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally]
Oct 5 18:24:38 localhost pulseaudio[4313]: [pulseaudio] module-bluetooth-device.c: Failed to acquire transport /org/bluez/574/hci0/dev_0C_E0_E4_32_46_A8/fd2
Oct 5 18:24:44 localhost bluetoothd[574]: Connection reset by peer (104)
Oct 5 18:24:48 localhost bluetoothd[574]: Unable to select SEP
Oct 5 18:24:48 localhost kernel: [ 1556.278741] input: 0C:E0:E4:32:46:A8 as /devices/virtual/input/input20
Oct 5 18:24:38 localhost pulseaudio[4313]: [pulseaudio] module-bluetooth-device.c: Failed to acquire transport /org/bluez/574/hci0/dev_0C_E0_E4_32_46_A8/fd2
Oct 5 18:24:57 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] ratelimit.c: 956 events suppressed
Oct 5 18:24:57 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally
Oct 5 18:24:57 localhost pulseaudio[4313]: message repeated 10 times: [ [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally]
Oct 5 18:25:02 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] ratelimit.c: 115 events suppressed
Oct 5 18:25:02 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally
Oct 5 18:25:02 localhost pulseaudio[4313]: message repeated 10 times: [ [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally]
Oct 5 18:25:07 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] ratelimit.c: 115 events suppressed
Oct 5 18:25:07 localhost pulseaudio[4313]: [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally
Oct 5 18:25:07 localhost pulseaudio[4313]: message repeated 10 times: [ [alsa-source-ID 506e Analog] asyncq.c: q overrun, queuing locally]
Oct 5 18:25:11 localhost pulseaudio[4313]: [pulseaudio] module-bluetooth-device.c: Failed to acquire transport /org/bluez/574/hci0/dev_0C_E0_E4_32_46_A8/fd3
Oct 5 18:25:12 localhost kernel: [ 1580.321448] input: 0C:E0:E4:32:46:A8 as /devices/virtual/input/input21
Oct 5 18:25:12 localhost bluetoothd[574]: Unable to select SEP
Oct 5 18:25:26 localhost bluetoothd[574]: HUP or ERR on socket
Oct 5 18:25:32 localhost NetworkManager[910]: <warn> nl_recvmsgs() error: (-33) Dump inconsistency detected, interrupted
Oct 5 18:27:08 localhost AptDaemon: INFO: Quitting due to inactivity
Oct 5 18:27:08 localhost AptDaemon: INFO: Quitting was requested
Note that it did eventually connect ("kernel: [ 1556.278741] input: 0C:E0:E4:32:46:A8 as /devices/virtual/input/input20") but the overrun log continued.
I've followed advice at http://ubuntuforums.org/showthread.php?t=1979191&page=4 which adds a line to /etc/modprobe.d/alsa-base.conf but I'm not even sure I have that audio card chipset.
I've tried various combinations of rebooting and running that pactl command before and after connecting the device.
I'm at a loss what to run to further investigate this. Any advice or investigative commands I should run would be welcome. I'm going to have to use this headset with my phone for now which is far from ideal.
Nick
Bookmarks