cannot use A2DP profile on LG tone+ HBS-730 headset

Bug #1092693 reported by benklop
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

When attempting to connect to a bluetooth headset from a laptop equipped with a CSR BS8510 bluetooth adapter (found in a RTL8188CEB8 mini-pci-express device), I get the following in syslog. KDE / bluedevil reports I have successfully connected to the device, but pulseaudio / kmix does not show that the device is connected. Ubuntu 12.10, bluez 4.101-0ubuntu6

 Dec 20 14:24:39 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[14436]: Badly formated or unrecognized command: AT+BIA=0,0,0,1,1,1,0
Dec 20 14:24:41 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[14436]: Operation not supported (95)
Dec 20 14:24:41 ben-HP-Pavilion-dm4-Notebook-PC pulseaudio[14301]: [pulseaudio] bluetooth-util.c: Failed to acquire transport fd: Input/output error
Dec 20 14:24:41 ben-HP-Pavilion-dm4-Notebook-PC pulseaudio[14301]: [pulseaudio] module.c: Failed to load module "module-bluetooth-device" (argument: "address="00:18:6B:15:AC:DC" path="/org/bluez/14436/hci0/dev_00_18_6B_15_AC_DC""): initialization failed.
Dec 20 14:24:41 ben-HP-Pavilion-dm4-Notebook-PC kernel: [25660.054153] input: 00:18:6B:15:AC:DC as /devices/virtual/input/input14

Initially, this seemed similar to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1065400 or to https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=827692, but ultimately I beleive this is a different issue, since the chipset and unrecognized command are diffrent respectively.
---
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ben 14301 F.... pulseaudio
DistroRelease: Ubuntu 12.10
HibernationDevice: RESUME=UUID=cfaa0aef-50a0-42c5-aa85-a1f6e060bcd4
InstallationDate: Installed on 2012-11-01 (49 days ago)
InstallationMedia: This
MachineType: Hewlett-Packard HP Pavilion dm4 Notebook PC
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-19-generic root=UUID=4d3bbeef-14d0-4ef1-a45a-663fa6ea1fb1 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-19-generic N/A
 linux-backports-modules-3.5.0-19-generic N/A
 linux-firmware 1.95
Tags: quantal
Uname: Linux 3.5.0-19-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 02/14/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.26
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 146A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 58.28
dmi.chassis.asset.tag: CNU0440X2W
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.26:bd02/14/2011:svnHewlett-Packard:pnHPPaviliondm4NotebookPC:pvr0587110002242B10000022100:rvnHewlett-Packard:rn146A:rvr58.28:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP Pavilion dm4 Notebook PC
dmi.product.version: 0587110002242B10000022100
dmi.sys.vendor: Hewlett-Packard

benklop (benklop)
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1092693

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
benklop (benklop) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected quantal
description: updated
Revision history for this message
benklop (benklop) wrote : BootDmesg.txt

apport information

Revision history for this message
benklop (benklop) wrote : CRDA.txt

apport information

Revision history for this message
benklop (benklop) wrote : CurrentDmesg.txt

apport information

Revision history for this message
benklop (benklop) wrote : IwConfig.txt

apport information

Revision history for this message
benklop (benklop) wrote : Lspci.txt

apport information

Revision history for this message
benklop (benklop) wrote : Lsusb.txt

apport information

Revision history for this message
benklop (benklop) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
benklop (benklop) wrote : ProcEnviron.txt

apport information

Revision history for this message
benklop (benklop) wrote : ProcInterrupts.txt

apport information

Revision history for this message
benklop (benklop) wrote : ProcModules.txt

apport information

Revision history for this message
benklop (benklop) wrote : PulseList.txt

apport information

Revision history for this message
benklop (benklop) wrote : RfKill.txt

apport information

Revision history for this message
benklop (benklop) wrote : UdevDb.txt

apport information

Revision history for this message
benklop (benklop) wrote : UdevLog.txt

apport information

Revision history for this message
benklop (benklop) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
benklop (benklop)
summary: - CSR BS8510 bluetoth adapter cannot use A2DP profile
+ CSR BS8510 bluetooth adapter cannot use A2DP profile
Revision history for this message
benklop (benklop) wrote : Re: CSR BS8510 bluetooth adapter cannot use A2DP profile

https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/946449 seems similar, but perhaps not the same since they did not include the log line similar to:

Dec 20 14:24:39 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[14436]: Badly formated or unrecognized command: AT+BIA=0,0,0,1,1,1,0

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.8 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc1-raring/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
benklop (benklop) wrote :

A 3.8.0-RC2 mainline kernel does not fix the issue. logging collected:

Jan 3 22:10:12 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[1079]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/HFPAG
Jan 3 22:10:12 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[1079]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/HFPHS
Jan 3 22:10:12 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[1079]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/A2DPSource
Jan 3 22:10:12 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[1079]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/A2DPSink
Jan 3 22:10:15 ben-HP-Pavilion-dm4-Notebook-PC ntpdate[2603]: step time server 91.189.94.4 offset -0.597168 sec
Jan 3 22:10:48 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[1079]: Badly formated or unrecognized command: AT+BIA=0,0,0,1,1,1,0
Jan 3 22:10:50 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[1079]: Operation not supported (95)
Jan 3 22:10:50 ben-HP-Pavilion-dm4-Notebook-PC pulseaudio[2640]: [pulseaudio] bluetooth-util.c: Failed to acquire transport fd: Input/output error
Jan 3 22:10:50 ben-HP-Pavilion-dm4-Notebook-PC pulseaudio[2640]: [pulseaudio] module.c: Failed to load module "module-bluetooth-device" (argument: "address="00:18:6B:15:AC:DC" path="/org/bluez/1079/hci0/dev_00_18_6B_15_AC_DC""): initialization failed.
Jan 3 22:10:50 ben-HP-Pavilion-dm4-Notebook-PC kernel: [ 176.535292] input: 00:18:6B:15:AC:DC as /devices/virtual/input/input12

tags: added: kernel-bug-exists-upstream
Revision history for this message
benklop (benklop) wrote :

I have determined that this seems to be caused by trying to use a specific bluetooth A2DP device. On both 3.5 and 3.8 kernels, one device I have works, and another does not. I do not recall this being the case before upgrading my kernel to 3.8, but it works now in some cases.

DOES NOT WORK:
my headset, an LG tone+ HBS730 (http://www.amazon.com/gp/product/B009A5204K) - produces logging like in all of the samples above.

WORKS:
my home theatre system, connected with a Belkin F8Z492TTP (http://www.amazon.com/gp/product/B0047T79VS) - seems to produce almost no logging.
Jan 3 22:48:59 ben-HP-Pavilion-dm4-Notebook-PC bluetoothd[1163]: /org/bluez/1163/hci0/dev_00_02_72_EF_52_1B/fd0: fd(31) ready

both devices support A2DP, however the tone+ optionally can use a different audio codec(apt-x) instead of SBC. I have never used this feature (And do not expect it to be available on linux since apt-x is proprietary), but thought it might be a relevant data point.

summary: - CSR BS8510 bluetooth adapter cannot use A2DP profile
+ CSR BS8510 bluetooth adapter cannot use A2DP profile on LG tone+ HBS-730
+ headset
Revision history for this message
benklop (benklop) wrote : Re: CSR BS8510 bluetooth adapter cannot use A2DP profile on LG tone+ HBS-730 headset

This is currently marked as incomplete. what additional info can I provide?

Revision history for this message
benklop (benklop) wrote :

I have verified this occurs on multiple laptops, so it is not specific to a single bluetooth adapter.

summary: - CSR BS8510 bluetooth adapter cannot use A2DP profile on LG tone+ HBS-730
- headset
+ cannot use A2DP profile on LG tone+ HBS-730 headset
Revision history for this message
benklop (benklop) wrote :
Download full text (9.8 KiB)

output from bluetoothd in debug mode whilst this occurs:

bluetoothd[9664]: plugins/mgmtops.c:mgmt_cod_changed() index 0
bluetoothd[9664]: audio/headset.c:headset_set_state() State changed /org/bluez/9664/hci0/dev_00_18_6B_15_AC_DC: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECTING
bluetoothd[9664]: audio/media.c:headset_state_changed()
bluetoothd[9664]: audio/media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.55 path = /MediaEndpoint/HFPAG
bluetoothd[9664]: plugins/mgmtops.c:mgmt_event() cond 1
bluetoothd[9664]: plugins/mgmtops.c:mgmt_event() Received 30 bytes from management socket
bluetoothd[9664]: plugins/mgmtops.c:mgmt_device_connected() hci0 device 00:18:6B:15:AC:DC connected eir_len 11
bluetoothd[9664]: src/adapter.c:adapter_get_device() 00:18:6B:15:AC:DC
bluetoothd[9664]: audio/headset.c:headset_set_channel() Discovered Handsfree service on channel 3
bluetoothd[9664]: audio/headset.c:rfcomm_connect() /org/bluez/9664/hci0/dev_00_18_6B_15_AC_DC: Connecting to 00:18:6B:15:AC:DC channel 3
bluetoothd[9664]: audio/headset.c:headset_connect_cb() /org/bluez/9664/hci0/dev_00_18_6B_15_AC_DC: Connected to 00:18:6B:15:AC:DC
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+BRSF=155
bluetoothd[9664]: audio/headset.c:print_hf_features() HFP HF features: "EC and/or NR function" "Call waiting and 3-way calling" "Voice recognition activation" "Remote volume control"
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+CIND=?
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+CIND?
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+CMER=3, 0, 0, 1
bluetoothd[9664]: audio/headset.c:event_reporting() Event reporting (CMER): mode=3, ind=1
bluetoothd[9664]: audio/headset.c:hfp_slc_complete() HFP Service Level Connection established
bluetoothd[9664]: audio/telephony.c:telephony_device_connected() telephony-dummy: device 0x7fd3ac51a2d0 connected
bluetoothd[9664]: audio/headset.c:headset_set_state() State changed /org/bluez/9664/hci0/dev_00_18_6B_15_AC_DC: HEADSET_STATE_CONNECTING -> HEADSET_STATE_CONNECTED
bluetoothd[9664]: audio/media.c:headset_state_changed()
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+VGS=12
bluetoothd[9664]: audio/avdtp.c:avdtp_confirm_cb() AVDTP: incoming connect from 00:18:6B:15:AC:DC
bluetoothd[9664]: audio/sink.c:sink_set_state() State changed /org/bluez/9664/hci0/dev_00_18_6B_15_AC_DC: SINK_STATE_DISCONNECTED -> SINK_STATE_CONNECTING
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+BTRH?
bluetoothd[9664]: audio/avdtp.c:avdtp_connect_cb() AVDTP: connected signaling channel to 00:18:6B:15:AC:DC
bluetoothd[9664]: audio/avdtp.c:avdtp_connect_cb() AVDTP imtu=672, omtu=895
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+XAPL=0000-0000-0100,7
bluetoothd[9664]: audio/headset.c:apple_command() Got Apple command: AT+XAPL=0000-0000-0100,7
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+IPHONEACCEV=2,1,7,2,0
bluetoothd[9664]: audio/headset.c:apple_command() Got Apple command: AT+IPHONEACCEV=2,1,7,2,0
bluetoothd[9664]: audio/headset.c:handle_event() Received AT+BIA=0,0,0,1,1,1,0
bluetoothd[9664]: Badly formated or unrecogniz...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Juan Pablo Rinaldi (juampi) wrote :

The bug is still present to this day.

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Juan Pablo Rinaldi (juampi) wrote :

Still present in Ubuntu 13.10.

Revision history for this message
penalvch (penalvch) wrote :

benklop, could you please provide the full computer model as noted on the sticker (ex. HP Pavilion dm4-2015dx Entertainment Notebook PC)?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Zach (zachary125) wrote :

I'm also having this issue on running 3.11.0-15-generic kernel. Laptop is a Lenovo Ideapad U310 with a USB bluetooth adapter Broadcom Corp. BCM203. It doesn't seem to be a part of the other bugs referenced above. I have the same LG headset as well. It will sometimes connect (in bluetooth menu) and other times fail. In any situation, it never shows up as a PulseAudio option.

 If it is related, dmesg | grep Bluetooth has several
"hci0 link tx timeout" and "hci0 killing stalled connection ..."

Revision history for this message
penalvch (penalvch) wrote :

Zach, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
klock (tehklockinator) wrote :

I've been dealing with this issue as well. I'm on the 3.11.0-19-generic kernel, nothing like adding Enable=Socket to /etc/bluetooth/audio.conf worked, etc. I finally managed to get it working by following the steps in the second answer in this entry by user165648 EXACTLY: http://askubuntu.com/questions/287254/ubuntu-13-04-bluetooth-a2dp-does-not-work

Revision history for this message
penalvch (penalvch) wrote :

klock, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Revision history for this message
Bahaa Heiba (bahaaheiba) wrote :

Still present

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.