HSP/HFP Audio source not showing up in pactl list

Bug #1026378 reported by Azelphur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Fix Released
Medium
Mathieu Trudel-Lapierre

Bug Description

I am trying to test the A2DP/HSP/HFP profiles as requested on this post, http://blog.cyphermox.net/2012/03/call-for-testing-bluez-a2dp-and-hsphfp.html

My phone is a HTC Desire Z running Android 4.0.4 (Andromadus Mimicry). My phone is paired with my PC and shows a bluetooth icon indicating that it's connected, and when I adjust the volume in media apps it shows a bluetooth icon instead of the usual speaker icon, so I assume the phone is connected and sending audio to the PC correctly.

After trying to run the script on that page, I discovered that neither "pactl list short sources" nor "pactl list short sinks" shows any bluez entries. This of course means that I get no audio from my phone. I had a brief discussion with the blog post author on IRC and he told me to submit a bug report. :)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bluez 4.98-2ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jul 18 23:56:43 2012
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
InterestingModules: btusb bnep rfcomm bluetooth
MachineType: System manufacturer System Product Name
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-26-generic root=UUID=6726aedd-9c4c-4927-9c87-5b99046acb95 ro quiet splash vt.handoff=7
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/02/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1304
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: SABERTOOTH X58
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1304:bd08/02/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnSABERTOOTHX58:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
hciconfig:
 hci0: Type: BR/EDR Bus: USB
  BD Address: 00:15:83:15:A3:10 ACL MTU: 339:8 SCO MTU: 128:2
  UP RUNNING PSCAN
  RX bytes:44839317 acl:146303 sco:0 events:170482 errors:0
  TX bytes:918412 acl:478 sco:0 commands:169915 errors:0
mtime.conffile..etc.bluetooth.audio.conf: 2012-07-18T05:50:44.121872
rfkill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
syslog:
 Jul 18 23:54:27 darth-vader kernel: [91502.601687] Bluetooth: hci0 command tx timeout
 Jul 18 23:54:28 darth-vader kernel: [91503.601099] Bluetooth: hci0 command tx timeout

Related branches

Revision history for this message
Azelphur (azelphur) wrote :
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Turns out this is likely a bug in bluez fixed not long after version 4.101 (likely http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=2f92669697152848f2fae584d45fde5d80ea6eb8).

In Progress, I'll fix this in the next bluez upload today.

Changed in bluez (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bluez - 4.101-0ubuntu4

---------------
bluez (4.101-0ubuntu4) quantal; urgency=low

  * debian/patches/git-57170b3-fix_network_connect_method.patch: set the correct
    parameters and return values for the org.bluez.Network Connect() method.
    (LP: #1036241)
  * debian/patches/git-2f92669-permit_concurrent_ag_hf.patch: allow AG and HF
    roles to be enabled concurrently; should fix cases where HFP/HSP doesn't
    show in pulseaudio (where the plugin fails to start) (LP: #1026378)
  * debian/patches/git-a66a557-gdbus_missing_flags.patch: upstream converted
    to using GDBus macros, but some flags got lost in the process. Fix them.
  * debian/patches/git-b57c64f-network-null-deref.patch: fix an issue with
    NULL dereferencing when evaluating network interface names/indexes.
  * debian/patches/git-ea793cb-input_io_channel_watches.patch: Ensure input
    IO channel watches are always properly added when channels are connected.
 -- Mathieu Trudel-Lapierre <email address hidden> Mon, 13 Aug 2012 17:16:30 -0400

Changed in bluez (Ubuntu):
status: In Progress → Fix Released
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.