Unable to play sound through hfp/hsp bluetooh headset

Bug #965726 reported by Zygmunt Krynicki
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have the PS3-EX01 headset. It is a hsp/hfp headset that only supports 8000hz mono input/output.

I can pair with that device fine and I get a pulseaudio sink/source. The source works fine, I can record and playback (to another sink) without any issues.

Attempting to play back to that sink fails, paplay just hangs.

I've captured the output of puseaudio with debug logging:

I: [pulseaudio] client.c: Created 8 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 26, local 26
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for pacat
D: [pulseaudio] module-stream-restore.c: Not restoring device for stream sink-input-by-application-name:paplay, because already set to 'bluez_sink.00_14_BE_BB_30_23'.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream record.wav, because already set.
I: [pulseaudio] module-stream-restore.c: Restoring mute state for sink input sink-input-by-application-name:paplay.
D: [pulseaudio] sink.c: Suspend cause of sink bluez_sink.00_14_BE_BB_30_23 is 0x0000, resuming
D: [bluetooth] module-bluetooth-device.c: Acquiring transport /org/bluez/11165/hci0/dev_00_14_BE_BB_30_23/fd0
I: [bluetooth] module-bluetooth-device.c: Transport /org/bluez/11165/hci0/dev_00_14_BE_BB_30_23/fd0 acquired: fd 39
I: [bluetooth] module-bluetooth-device.c: Transport /org/bluez/11165/hci0/dev_00_14_BE_BB_30_23/fd0 resuming
D: [bluetooth] module-bluetooth-device.c: Stream properly set up, we're ready to roll!
D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.00_14_BE_BB_30_23 becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.00_14_BE_BB_30_23 becomes busy.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
D: [pulseaudio] resampler.c: Channel matrix:
D: [pulseaudio] resampler.c: I00 I01
D: [pulseaudio] resampler.c: +------------
D: [pulseaudio] resampler.c: O00 | 1,000 1,000
I: [pulseaudio] remap.c: Using generic matrix remapping
I: [pulseaudio] resampler.c: Using resampler 'copy'
I: [pulseaudio] resampler.c: Using s16le as working format.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=2, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=2, prebuf=0, minreq=2 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 1 "record.wav" on bluez_sink.00_14_BE_BB_30_23 with sample spec s16le 2ch 8000Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c: media.format = "WAV (Microsoft)"
I: [pulseaudio] sink-input.c: application.name = "paplay"
I: [pulseaudio] sink-input.c: media.name = "record.wav"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c: native-protocol.version = "26"
I: [pulseaudio] sink-input.c: application.process.id = "11194"
I: [pulseaudio] sink-input.c: application.process.user = "zyga"
I: [pulseaudio] sink-input.c: application.process.host = "fx"
I: [pulseaudio] sink-input.c: application.process.binary = "pacat"
I: [pulseaudio] sink-input.c: application.language = "pl_PL.UTF-8"
I: [pulseaudio] sink-input.c: window.x11.display = ":0.0"
I: [pulseaudio] sink-input.c: application.process.machine_id = "51d84b61cff76781f955f53a00000008"
I: [pulseaudio] sink-input.c: application.process.session_id = "51d84b61cff76781f955f53a00000008-1332791012.44429-1484397029"
I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-application-name:paplay"
I: [pulseaudio] protocol-native.c: Requested tlength=2000,00 ms, minreq=20,00 ms
D: [pulseaudio] protocol-native.c: Traditional mode enabled, modifying sink usec only for compat with minreq.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=64000, base=4, prebuf=63364, minreq=640 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=64000, base=4, prebuf=63364, minreq=640 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 2128,00 ms = 1960,00 ms + 2*20,00 ms + 128,00 ms
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Headset, path=/org/bluez/11165/hci0/dev_00_14_BE_BB_30_23, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: property 'State' changed to value 'playing'
D: [pulseaudio] module-console-kit.c: dbus: interface=org.bluez.Headset, path=/org/bluez/11165/hci0/dev_00_14_BE_BB_30_23, member=PropertyChanged
D: [pulseaudio] module-bluetooth-device.c: dbus: interface=org.bluez.Headset, path=/org/bluez/11165/hci0/dev_00_14_BE_BB_30_23, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Headset, path=/org/bluez/11165/hci0/dev_00_14_BE_BB_30_23, member=PropertyChanged
D: [pulseaudio] module-console-kit.c: dbus: interface=org.bluez.Headset, path=/org/bluez/11165/hci0/dev_00_14_BE_BB_30_23, member=PropertyChanged
D: [pulseaudio] module-bluetooth-device.c: dbus: interface=org.bluez.Headset, path=/org/bluez/11165/hci0/dev_00_14_BE_BB_30_23, member=PropertyChanged
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pulseaudio 1:1.1-0ubuntu13
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
Date: Mon Mar 26 23:16:37 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120218)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/08/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0808
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6T SE
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.:bvr0808:bd03/08/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6TSE:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Zygmunt Krynicki (zyga) wrote :
Revision history for this message
Ayan George (ayan) wrote :

What kind of bluetooth hardware do you have? Can you attach the output of lspci -v and lsusb -v ?

Revision history for this message
Zygmunt Krynicki (zyga) wrote :
Download full text (8.9 KiB)

Bus 004 Device 003: ID 1310:0001 Roper Class 1 Bluetooth Dongle
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 224 Wireless
  bDeviceSubClass 1 Radio Frequency
  bDeviceProtocol 1 Bluetooth
  bMaxPacketSize0 64
  idVendor 0x1310 Roper
  idProduct 0x0001 Class 1 Bluetooth Dongle
  bcdDevice 20.05
  iManufacturer 1 Bluetooth Device
  iProduct 2 Bluetooth Device
  iSerial 3 DC960C0D0B00
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 177
    bNumInterfaces 2
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 50mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 224 Wireless
      bInterfaceSubClass 1 Radio Frequency
      bInterfaceProtocol 1 Bluetooth
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0010 1x 16 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x02 EP 2 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 224 Wireless
      bInterfaceSubClass 1 Radio Frequency
      bInterfaceProtocol 1 Bluetooth
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0000 1x 0 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
  ...

Read more...

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
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.