[Jaunty] regression: bluetooth headset playback quality - choppy every two-three minutes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bluez (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bluez
I've been using a SonyEricsson headset since Ubuntu 7.10 to play music at work (from a ThinkPad T61) - it's been a great experience and a pleasure to listen to music using that headset.
This christmas I got (myself actually) an Acer Aspire One 110A and installed Ubuntu 8.10, plugged in a tiny bluetooth adapter, installed banshee and rhythmbox, paired up and off I went. It worked great but with a shorter range (failed to keep music playing while going to bathroom :)
However, I just recently updated to 9.04 and now playback has started to behave really bad. What happens is that it sounds just like I'm out of range - it gets choppy and after some time it fast forwards (skips frames) to get back in sync.
lsusb says:
Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Looking at /var/log/syslog this is what I get after doing a /etc/init.
Jul 15 15:41:44 acer bluetoothd[16817]: Bluetooth daemon
Jul 15 15:41:44 acer bluetoothd[16817]: Starting SDP server
Jul 15 15:41:44 acer bluetoothd[16817]: Starting experimental netlink support
Jul 15 15:41:44 acer bluetoothd[16817]: Failed to find Bluetooth netlink family
Jul 15 15:41:44 acer bluetoothd[16817]: bridge pan0 created
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.Service on path /org/bluez/
Jul 15 15:41:44 acer bluetoothd[16817]: HCI dev 0 registered
Jul 15 15:41:44 acer bluetoothd[16817]: HCI dev 0 up
Jul 15 15:41:44 acer bluetoothd[16817]: Starting security manager 0
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.Service on path /org/bluez/
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.Headset on path /org/bluez/
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.AudioSink on path /org/bluez/
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.Control on path /org/bluez/
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.Serial on path /org/bluez/
Jul 15 15:41:44 acer bluetoothd[16817]: Registered interface org.bluez.Input on path /org/bluez/
Jul 15 15:41:44 acer bluetoothd[16817]: Adapter /org/bluez/
Then, I start playback in banshee, music starts playing (sounds OK) and syslog shows
Jul 15 17:31:59 acer bluetoothd[16817]: link_key_request (sba=00:
Jul 15 17:32:00 acer bluetoothd[16817]: Can't open input device: No such file or directory (2)
Jul 15 17:32:00 acer bluetoothd[16817]: AVRCP: failed to init uinput for 00:18:13:DB:F4:0C
Just as I write this report and hit play above, I just got 1:17 minutes of OK playback, but then it started chopping and at 1:37 it was back in sync. I'm playing an ogg file that I've listened to (thousands of times - last.fm can confirm this), so there's nothing wrong with the file.
My comple .asoundrc:
pcm.bluetooth {
type bluetooth
device 00:18:13:DB:F4:0C # tiny
#device 00:1B:DC:02:0F:7E # tiny nr 2
}
I've run "vmstat 1" in a console to see if there's something special happening but I can't find any pattern from that.
I'm running the standard kernel, all packages updated. My /boot/grub/menu.lst does include
# defoptions=
which is related to MTRR registries bug(s) in kernel and intel.
I've reniced bluetoothd, pulseaudio and banshee to -10 (using htop) - no change.
I'm out of ideas on what to try. I'm willing to try most ideas as I'm getting crazy listening to people walk by in the corridor at the office ...
ceda@acer:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
ceda@acer:~$ LANG=C apt-cache policy bluez gnome-bluetooth
bluez:
Installed: 4.32-0ubuntu4.1
Candidate: 4.32-0ubuntu4.1
Version table:
*** 4.32-0ubuntu4.1 0
500 http://
100 /var/lib/
4.32-0ubuntu4 0
500 http://
gnome-bluetooth:
Installed: 0.11.0-0ubuntu4
Candidate: 0.11.0-0ubuntu4
Version table:
*** 0.11.0-0ubuntu4 0
500 http://
100 /var/lib/
ceda@acer:~$ aptitude search bluez
i bluez - Bluetooth tools and daemons
i bluez-alsa - Bluetooth audio support
p bluez-btsco - Bluez Bluetooth SCO tool
p bluez-compat - BlueZ 3.x compatibility binaries
i bluez-cups - Bluetooth printer driver for CUPS
i bluez-gnome - Bluetooth utilities for GNOME
i bluez-gstreamer - Bluetooth gstreamer support
p bluez-hcidump - Analyses Bluetooth HCI packets
p bluez-pcmcia-
i bluez-utils - Transitional package
i A python-bluez - Python wrappers around BlueZ for rapid bl
v python2.5-bluez -
v python2.6-bluez -
ceda@acer:~$ aptitude search bluetooth
i bluetooth - Bluetooth support
i gnome-bluetooth - GNOME Bluetooth tools.
i gpe-bluetooth - Bluetooth connectivity tool for GPE
p kdebluetooth - KDE Bluetooth Framework
p libbluetooth-dev - Development files for using the BlueZ Lin
i libbluetooth3 - Library to use the BlueZ Linux Bluetooth
v libbluetooth3-dev -
p libmultisync-
p libnet-
v python-bluetooth -
how do you setup your headset? using alsa or pulseaudio?
on the other front, your shorter range issue is probably due to your adapter (some out there are really crapware).