Bug#728945: pulseaudio: [pulseaudio] module.c: Failed to load module "module-bluetooth-device"

Adrian Immanuel Kiess adrian at kiess.at
Thu Nov 7 04:28:36 UTC 2013


Package: pulseaudio
Version: 4.0-6+b1
Severity: normal

Dear Maintainer,

   * What led up to the situation?
     Trying to use bluetooth audio headset
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     Blueman->Connect to audio sink
   * What was the outcome of this action?
     Pulseaudio or/and bluetooth are reporting errors in syslog
   * What outcome did you expect instead?
     Working bluetooth headset

currently in Debian/testing bluetooth audio seems to be broken again.

I'm using a Philips bluetooth headset with an Trust bluetooth v2 USB stick.

Using disable=Socket in audio.conf I was able to use the headset once until I
disconnected it again for recharging.

I removed disable=Socket again and this is the currently reported error in
syslog:

Nov  7 05:18:16 g6 bluetoothd[22242]: Adapter /org/bluez/22242/hci0 has been
enabled
Nov  7 05:18:16 g6 bluetoothd[22242]: Unknown command complete for opcode 19
Nov  7 05:18:21 g6 pulseaudio[22259]: [pulseaudio] pid.c: Stale PID file,
overwriting.
Nov  7 05:18:22 g6 bluetoothd[22242]: Endpoint registered: sender=:1.572
path=/MediaEndpoint/HFPAG
Nov  7 05:18:22 g6 bluetoothd[22242]: Endpoint registered: sender=:1.572
path=/MediaEndpoint/HFPHS
Nov  7 05:18:22 g6 bluetoothd[22242]: Endpoint registered: sender=:1.572
path=/MediaEndpoint/A2DPSource
Nov  7 05:18:22 g6 bluetoothd[22242]: Endpoint registered: sender=:1.572
path=/MediaEndpoint/A2DPSink
Nov  7 05:18:22 g6 pulseaudio[22264]: [pulseaudio] pid.c: Daemon already
running.
Nov  7 05:18:25 g6 bluetoothd[22242]: Endpoint unregistered: sender=:1.572
path=/MediaEndpoint/HFPAG
Nov  7 05:18:25 g6 bluetoothd[22242]: Endpoint unregistered: sender=:1.572
path=/MediaEndpoint/HFPHS
Nov  7 05:18:25 g6 bluetoothd[22242]: Endpoint unregistered: sender=:1.572
path=/MediaEndpoint/A2DPSource
Nov  7 05:18:25 g6 bluetoothd[22242]: Endpoint unregistered: sender=:1.572
path=/MediaEndpoint/A2DPSink
Nov  7 05:18:31 g6 bluetoothd[22242]: Host is down (112)
Nov  7 05:18:41 g6 bluetoothd[22242]: Host is down (112)
Nov  7 05:19:34 g6 pulseaudio[22259]: [pulseaudio] module-bluetooth-device.c:
00:22:37:0B:3B:AF is not known.
Nov  7 05:19:34 g6 pulseaudio[22259]: [pulseaudio] module.c: Failed to load
module "module-bluetooth-device" (argument: "address=00:22:37:0B:3B:AF
profile=hsp"): initialization failed.
Nov  7 05:19:35 g6 bluetoothd[22242]: Badly formated or unrecognized command:
AT+CSRSF=0,0,0,0,0,7
Nov  7 05:19:38 g6 kernel: [160870.722933] input: 00:22:37:0B:3B:AF as
/devices/virtual/input/input36

Could this please be fixed in testing? :-)

Guess a new pulseaudio version must be committed.

Thank you very much!

Sincerely,

Adrian Immanuel KIEß




-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii  adduser                       3.113+nmu3
ii  consolekit                    0.4.6-3+b1
ii  libasound2                    1.0.27.2-3
ii  libasound2-plugins            1.0.27-2+b1
ii  libc6                         2.17-93
ii  libcap2                       1:2.22-1.2
ii  libdbus-1-3                   1.6.18-1
ii  libfftw3-single3              3.3.3-5+b1
ii  libgcc1                       1:4.8.2-1
ii  libice6                       2:1.0.8-2
ii  libltdl7                      2.4.2-1.3
ii  liborc-0.4-0                  1:0.4.18-1
ii  libpulse0                     4.0-6+b1
ii  libsamplerate0                0.1.8-5
ii  libsm6                        2:1.2.1-2
ii  libsndfile1                   1.0.25-7
ii  libspeexdsp1                  1.2~rc1.1-1
ii  libstdc++6                    4.8.2-1
ii  libsystemd-login0             204-5
ii  libtdb1                       1.2.12-1
ii  libudev1                      204-5
ii  libwebrtc-audio-processing-0  0.1-2
ii  libx11-6                      2:1.6.2-1
ii  libx11-xcb1                   2:1.6.2-1
ii  libxcb1                       1.9.1-3
ii  libxtst6                      2:1.2.2-1
ii  lsb-base                      4.1+Debian12
ii  udev                          204-5

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio  0.10.31-3+nmu1
ii  pulseaudio-module-x11     4.0-6+b1
ii  rtkit                     0.10-3

Versions of packages pulseaudio suggests:
ii  paman             0.9.4-1
ii  paprefs           0.9.10-1
ii  pavucontrol       1.0-1
ii  pavumeter         0.9.3-4
ii  pulseaudio-utils  4.0-6+b1

-- Configuration Files:
/etc/default/pulseaudio changed:
PULSEAUDIO_SYSTEM_START=0
DISALLOW_MODULE_LOADING=0

/etc/pulse/daemon.conf changed:
; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no
; high-priority = yes
; nice-level = -11
; realtime-scheduling = yes
; realtime-priority = 5
; exit-idle-time = 20
; scache-idle-time = 20
; dl-search-path = (depends on architecture)
; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa
; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0
resample-method = trivial
; resample-method = speex-float-1
; enable-remixing = yes
; enable-lfe-remixing = no
; flat-volumes = yes
; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 1000000
; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right
; default-fragments = 4
; default-fragment-size-msec = 25
; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0


-- no debconf information
-------------- next part --------------
# Configuration file for the audio service

# This section contains options which are not specific to any
# particular interface
[General]
#Enable=Socket,Source,Gateway
#Disable=Sink,Socket
#Disable=Source,Socket
#Enable=Socket
#Enable=Source
#Disable=Socket
#Enable=Source,Sink,Media,Socket

#Enable=Source,Sink,Headset,Gateway,Control,Socket,Media

# Switch to master role for incoming connections (defaults to true)
#Master=true

# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Control,Source

# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
#SCORouting=PCM

# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect the
# other one automatically so the default setting of true is usually a good
# idea.
#AutoConnect=true
#Enable = Sink,Source

# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
[Headset]

# Set to true to support HFP, false means only HSP is supported
# Defaults to true
HFP=true
#HFP=false

# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=3

# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incomming call starts. Default settings are restored after
# call is answered or rejected. Page scan interval is much shorter and page
# scan type changed to interlaced. Such allows faster connection initiated
# by a headset.
FastConnectable=true

# Just an example of potential config options for the other interfaces
[A2DP]
#SBCSources=1
#MPEG12Sources=0


More information about the pkg-pulseaudio-devel mailing list