Hi,
I'm hoping I could get help me because I have searched the web twice and still 
not sure what to do.
I'm trying to enable PulseAudio as an a2dp sink which seems to work fine on 
start, until I pause the audio app momentarily on the source device.
After that,  instead of connection should be idle or something, PulseAudio 
unload his Bluetooth loopback module as seen below. And it seems that this 
disconnection event is triggered by Bluetoothd itself, but I assume that the 
problem is with PulseAudio.
After that PulseAudio seem somehow zombie, I can only kill him with kill 
command (ctrl+c doesn't work).

If anyone as any details to supply that may help I would be thankful.

I attach the log for this scenario (both Bluetoothd & pulseaudio runs on debug 
mode).

Thanks for your help,
Eytan Naim
SW Engineer |Marvell Israel |ney...@marvell.com<mailto:ney...@marvell.com>
Park Azorim, Kyriat Arie, Petah Tikva, 49527, Israel
Office: +972.3.xxxxxxx| Mobile: +972.50.2258833

pulse@OpenWrt:/$ pulseaudio -v &
pulse@OpenWrt:/$ I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) 
failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not 
permitted
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No 
such file or directory
I: [pulseaudio] main.c: This is PulseAudio 6.0-dirty
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 105ac88871c4c1f65630ac0a55cb0245.
I: [pulseaudio] main.c: Using runtime directory 
/pulse/.config/pulse/105ac88871c4c1f65630ac0a55cb0245-runtime.
I: [pulseaudio] main.c: Using state directory /pulse/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-6.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
W: [pulseaudio] pid.c: Stale PID file, overwriting.
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
E: [pulseaudio] shm.c: shm_open() failed: Permission denied
W: [pulseaudio] core.c: Failed to allocate shared memory pool. Falling back to 
a normal memory pool.
I: [pulseaudio] cpu-arm.c: CPU flags: V6 V7 VFP EDSP NEON VFPV3
I: [pulseaudio] svolume_arm.c: Initialising ARM optimized volume functions.
I: [pulseaudio] sconv_neon.c: Initialising ARM NEON optimized conversions.
I: [pulseaudio] mix_neon.c: Initialising ARM NEON optimized mixing functions.
I: [pulseaudio] remap_neon.c: Initialising ARM NEON optimized remappers.
I: [pulseaudio] module-device-restore.c: Successfully opened database file 
'/pulse/.config/pulse/105ac88871c4c1f65630ac0a55cb0245-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: 
"").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file 
'/pulse/.config/pulse/105ac88871c4c1f65630ac0a55cb0245-stream-volumes'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: 
"").
I: [pulseaudio] module-card-restore.c: Successfully opened database file 
'/pulse/.config/pulse/105ac88871c4c1f65630ac0a55cb0245-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: 
"").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; 
argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; 
argument: "").
I: [pulseaudio] module-udev-detect.c: Found 0 cards.
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument: "").
I: [pulseaudio] module.c: Loaded "module-bluetooth-policy" (index: #6; 
argument: "").
I: [pulseaudio] module.c: Loaded "module-bluez5-discover" (index: #8; argument: 
"").
I: [pulseaudio] module.c: Loaded "module-bluetooth-discover" (index: #7; 
argument: "").
I: [pulseaudio] module.c: Loaded "module-esound-protocol-unix" (index: #9; 
argument: "").
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #10; 
argument: "").
I: [pulseaudio] module-default-device-restore.c: Saved default sink 'auto_null' 
not existent, not restoring default sink setting.
I: [pulseaudio] module-default-device-restore.c: Saved default source 
'bluez_source.98_D6_F7_34_98_E8' not existent, not restoring default source 
setting.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #11; 
argument: "").
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #12; argument: 
"").
I: [pulseaudio] sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 
44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "Dummy Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 0 "auto_null.monitor" with sample spec 
s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Dummy Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #14; argument: 
"sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #13; argument: 
"").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #15; argument: 
"").
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #16; 
argument: "").
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #17; 
argument: "").
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #18; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #19; 
argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #20; argument: 
"").
I: [pulseaudio] main.c: Daemon startup complete.
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_register_sep() SEP 0xcb3e0 
registered: type:0 codec:0 seid:1
bluetoothd[1990]: src/adapter.c:adapter_service_add() /org/bluez/hci0
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Adding record with 
handle 0x10005
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00000019-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00000100-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00001002-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
0000110a-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
0000110d-0000-1000-8000-00805f9
bluetoothd[1990]: src/adapter.c:adapter_service_insert() /org/bluez/hci0
bluetoothd[1990]: src/adapter.c:add_uuid() sending add uuid command for index 0
bluetoothd[1990]: Endpoint registered: sender=:1.81 
path=/MediaEndpoint/A2DPSource
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_register_sep() SEP 0xcb568 
registered: type:1 codec:0 seid:2
bluetoothd[1990]: src/adapter.c:adapter_service_add() /org/bluez/hci0
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Adding record with 
handle 0x10006
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00000019-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00000100-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00001002-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
0000110b-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
0000110d-0000-1000-8000-00805f9
bluetoothd[1990]: src/adapter.c:adapter_service_insert() /org/bluez/hci0
bluetoothd[1990]: src/adapter.c:add_uuid() sending add uuid command for index 0
bluetoothd[1990]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink
bluetoothd[1990]: src/profile.c:register_profile() sender :1.81
bluetoothd[1990]: src/profile.c:create_ext() Created "Headset Voice gateway"
bluetoothd[1990]: src/profile.c:ext_adapter_probe() "Headset Voice gateway" 
probed
bluetoothd[1990]: src/profile.c:ext_start_servers() Headset Voice gateway 
listening on chan 12
bluetoothd[1990]: src/adapter.c:adapter_service_add() /org/bluez/hci0
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Adding record with 
handle 0x10007
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00000003-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00000100-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00001002-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00001108-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00001112-0000-1000-8000-00805f9
bluetoothd[1990]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 
00001203-0000-1000-8000-00805f9
bluetoothd[1990]: src/adapter.c:adapter_service_insert() /org/bluez/hci0
bluetoothd[1990]: src/adapter.c:add_uuid() sending add uuid command for index 0
bluetoothd[1990]: src/adapter.c:dev_class_changed_callback() Class: 0x080000
bluetoothd[1990]: src/adapter.c:dev_class_changed_callback() Class: 0x0c0000

pulse@OpenWrt:/$
(reverse-i-search)'ctl': bluetoothI: [pulseaudio] module-suspend-on-idle.c: 
Sink auto_null idle for too long, suspending ...
pulse@OpenWrt:/$ bluetoothctl
[NEW] Controller 00:50:43:21:EE:DF BlueZ 5.30 [default]
[NEW] Device 98:D6:F7:34:98:E8 Nexus 4
[bluetooth]# agent on
bluetoothd[1990]: src/agent.c:agent_ref() 0xdc190: ref=1
[bluetooth]# bluetoothd[1990]: src/agent.c:register_agent() agent :1.83
Agent registered
[bluetooth]# default-agent
bluetoothd[1990]: src/agent.c:add_default_agent() Default agent set to :1.83 
/org/bluez/agent
Default agent request successful
[bluetooth]# discoverable on
bluetoothd[1990]: src/adapter.c:property_set_mode() sending Set Discoverable 
command for index 0
[bluetooth]# bluetoothd[1990]: src/adapter.c:property_set_mode_complete() 
Success (0x00)
Changing discoverable on succeeded
[bluetooth]# bluetoothd[1990]: src/adapter.c:new_settings_callback() Settings: 
0x000002db
bluetoothd[1990]: src/adapter.c:settings_changed() Changed settings: 0x00000008
[CHG] Controller 00:50:43:21:EE:DF Discoverable: yes
[bluetooth]# bluetoothd[1990]: src/adapter.c:connected_callback() hci0 device 
98:D6:F7:34:98:E8 connected eir_len 14
[CHG] Device 98:D6:F7:34:98:E8 Connected: yes
[Nexus 4]# bluetoothd[1990]: src/adapter.c:user_confirm_request_callback() hci0 
98:D6:F7:34:98:E8 confirm_hint 0
bluetoothd[1990]: src/device.c:new_auth() Requesting agent authentication for 
98:D6:F7:34:98:E8
bluetoothd[1990]: src/agent.c:agent_ref() 0xdc190: ref=2
bluetoothd[1990]: src/agent.c:agent_request_confirmation() Calling 
Agent.RequestConfirmation: name=:1.83, path=/org/bluez/agent, passkey=313448
Request confirmation
[agent] Confirm passkey 313448 (yes/no): yes
bluetoothd[1990]: src/agent.c:agent_ref() 0xdc190: ref=3
[Nexus 4]# bluetoothd[1990]: src/adapter.c:btd_adapter_confirm_reply() hci0 
addr 98:D6:F7:34:98:E8 success 1
bluetoothd[1990]: src/agent.c:agent_unref() 0xdc190: ref=2
bluetoothd[1990]: src/agent.c:agent_unref() 0xdc190: ref=1
bluetoothd[1990]: src/adapter.c:new_link_key_callback() hci0 new key for 
98:D6:F7:34:98:E8 type 5 pin_len 0
bluetoothd[1990]: src/device.c:device_set_bonded()
bluetoothd[1990]: src/device.c:device_bonding_complete() bonding (nil) status 
0x00
bluetoothd[1990]: src/adapter.c:resume_discovery()
bluetoothd[1990]: src/adapter.c:dev_disconnected() Device 98:D6:F7:34:98:E8 
disconnected, reason 3
bluetoothd[1990]: src/adapter.c:adapter_remove_connection()
bluetoothd[1990]: plugins/policy.c:disconnect_cb() reason 3
bluetoothd[1990]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 
98:D6:F7:34:98:E8 type 0 status 0xe
bluetoothd[1990]: src/device.c:device_bonding_complete() bonding (nil) status 
0x0e
bluetoothd[1990]: src/device.c:device_bonding_failed() status 14
bluetoothd[1990]: src/adapter.c:resume_discovery()
[CHG] Device 98:D6:F7:34:98:E8 Connected: no
[bluetooth]# bluetoothd[1990]: src/adapter.c:connected_callback() hci0 device 
98:D6:F7:34:98:E8 connected eir_len 5
[CHG] Device 98:D6:F7:34:98:E8 Connected: yes
[Nexus 4]# bluetoothd[1990]: profiles/audio/a2dp.c:confirm_cb() AVDTP: incoming 
connect from 98:D6:F7:34:98:E8
bluetoothd[1990]: profiles/audio/source.c:source_set_state() State changed 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8: SOURCE_STATE_DISCONNECTED -> 
SOURCE_STATE_CONNECTING
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_connect_cb() AVDTP: connected 
signaling channel to 98:D6:F7:34:98:E8
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_connect_cb() AVDTP imtu=672, 
omtu=672
bluetoothd[1990]: profiles/audio/avdtp.c:session_cb()
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received DISCOVER_CMD
bluetoothd[1990]: profiles/audio/avdtp.c:session_cb()
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received  
GET_ALL_CAPABILITIES_CMD
bluetoothd[1990]: profiles/audio/a2dp.c:endpoint_getcap_ind() Sink 0xcb568: 
Get_Capability_Ind
bluetoothd[1990]: profiles/audio/avdtp.c:session_cb()
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received 
SET_CONFIGURATION_CMD
bluetoothd[1990]: profiles/audio/a2dp.c:endpoint_setconf_ind() Sink 0xcb568: 
Set_Configuration_Ind
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_ref() 0xcb730: ref=1
bluetoothd[1990]: profiles/audio/a2dp.c:setup_ref() 0xc5d48: ref=1
bluetoothd[1990]: profiles/audio/media.c:media_endpoint_async_call() Calling 
SetConfiguration: name = :1.81 path = /MediaEndpoint/A2DPSink
I: [pulseaudio] module-card-restore.c: bluetoothd[1990]: 
profiles/audio/avdtp.c:avdtp_ref() 0xcb730: ref=2
Restoring port latency offsets for card bluez_card.98_D6_F7_34_98_E8.
I: [pulseaudio] card.c: Created 0 
"bluez_card.98_D6_F7_34_98_E8"bluetoothd[1990]: 
profiles/audio/avdtp.c:avdtp_sep_set_state() stream state changed: IDLE -> 
CONFIGURED

bluetoothd[1990]: profiles/audio/a2dp.c:setup_unref() 0xc5d48: ref=0
bluetoothd[1990]: profiles/audio/a2dp.c:setup_free() 0xc5d48
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_unref() 0xcb730: ref=1
I: [pulseaudio] bluez5-util.c: Failed optional acquire of unavailable transport 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9bluetoothd[1990]: 
profiles/audio/avdtp.c:session_cb()

I: [pulseaudio] module-bluez5-device.c: SBC parameters: allocation=0, 
subbands=1, blocks=3, bitpool=2
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received OPEN_CMD
bluetoothd[1990]: profiles/audio/a2dp.c:open_ind() Sink 0xcb568: Open_Ind
I: [pulseaudio] source.c: Created source 1 "bluez_source.98_D6_F7_34_98_E8" 
with sample spec s16le 2ch 44100Hz and channel map 
front-left,front-rightbluetoothd[1990]: profiles/audio/avdtp.c:avdtp_ref() 
0xcb730: ref=2
bluetoothd[1990]: profiles/audio/a2dp.c:setup_ref() 0xc1e18: ref=1

I: [pulseaudio] source.c:     bluetooth.protocol = "a2dp_source"
I: [pulseaudio] source.c:     device.description = "Nexus 4"
I: [pulseaudio] source.c:     device.string = "98:D6:F7:34:98:E8"
I: [pulseaudio] source.c:     device.api = "bluez"
I: [pulseaudio] source.c:     device.class = "sound"
I: [pulseaudio] source.c: bluetoothd[1990]: profiles/audio/a2dp.c:confirm_cb() 
AVDTP: incoming connect from 98:D6:F7:34:98:E8
    device.bus = "bluetooth"
I: [pulseaudio] source.c:     device.form_factor = "phone"
I: [pulseaudio] source.c:     bluez.path = 
"/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
I: [pulseaudio] source.c:     bluez.class = "0x5a020c"
I: [pulseaudio] source.c:     bluez.alias = "Nexus 4"
I: [pulseaudio] source.c:     device.icon_name = "audio-card-bluetooth"
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_sep_set_state() stream state 
changed: CONFIGURED -> OPEN
bluetoothd[1990]: src/service.c:change_state() 0xc8658: device 
98:D6:F7:34:98:E8 profile a2dp-source state changed: disconnected -> connected 
(0)
bluetoothd[1990]: plugins/policy.c:service_cb() Added a2dp-source reconnect 1
I: [bluetooth] core-util.c: Failed to acquire real-time scheduling: No such 
file or directorybluetoothd[1990]: profiles/audio/source.c:source_set_state() 
State changed /org/bluez/hci0/dev_98_D6_F7_34_98_E8: SOURCE_STATE_CONNECTING -> 
SOURCE_STATE_CONNECTED

bluetoothd[1990]: profiles/audio/transport.c:transport_update_playing() 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 State=TRANSPORT_STATE_IDLE Playing=0
I: [pulseaudio] resampler.c: Speex appears to be compiled with 
--enable-fixed-point. Switching to a fixed-point resampler because it should be 
faster.bluetoothd[1990]: profiles/audio/a2dp.c:setup_unref() 0xc1e18: ref=0

I: [pulseaudio] speex.c: Choosing speex quality setting 1.
I: [pulseaudio] sink-input.c: bluetoothd[1990]: 
profiles/audio/a2dp.c:setup_free() 0xc1e18
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_unref() 0xcb730: ref=1
Created input 0 "(null)" on auto_null with sample spec s16le 2ch 44100Hz and 
channel map front-left,front-right
I: [pulseaudio] sink-input.c:     media.role = "music"
I: [pulseaudio] sink-input.c:     module-stream-restore.id = 
"sink-input-by-media-role:music"
I: [pulseaudio] source-output.c: Created output 0 "(null)" on 
bluez_source.98_D6_F7_34_98_E8 with sample spec s16le 2ch 44100Hz and channel 
map front-left,front-right
I: [pulseaudio] source-output.c:     media.role = "abstract"
I: [pulseaudio] source-output.c:     module-stream-restore.id = 
"source-output-by-media-role:abstract"
I: [null-sink] module-loopback.c: Max request changed
I: [null-sink] module-loopback.c: Max request changed
I: [bluetooth] module-loopback.c: Skipping 0 bytes
I: [pulseaudio] module.c: Loaded "module-loopback" (index: #22; argument: 
"source="bluez_source.98_D6_F7_34_98_E8" source_dont_move="true" 
sink_input_properties="media.role=music"").
I: [pulseaudio] module.c: Loaded "module-bluez5-device" (index: #21; argument: 
"path=/org/bluez/hci0/dev_98_D6_F7_34_98_E8").
bluetoothd[1990]: plugins/policy.c:policy_connect() 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8 profile audio-avrcp-target
bluetoothd[1990]: profiles/audio/avrcp.c:avrcp_connect() path 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8
bluetoothd[1990]: profiles/audio/avctp.c:avctp_set_state() AVCTP Connecting
bluetoothd[1990]: src/service.c:change_state() 0xc5b68: device 
98:D6:F7:34:98:E8 profile audio-avrcp-target state changed: disconnected -> 
connecting (0)
bluetoothd[1990]: profiles/audio/avctp.c:avctp_connect_cb() AVCTP: connected to 
98:D6:F7:34:98:E8
[ 2616.069580] input: 98:D6:F7:34:98:E8 as /devices/virtual/input/input11
[ 2616.088836] input_boost: touchboost_connect: connect to 98:D6:F7:34:98:E8
bluetoothd[1990]: profiles/audio/avctp.c:init_uinput() AVRCP: uinput 
initialized for 98:D6:F7:34:98:E8
bluetoothd[1990]: profiles/audio/avrcp.c:controller_init() 0xc1e60 version 
0x0000
bluetoothd[1990]: src/service.c:change_state() 0xc5b68: device 
98:D6:F7:34:98:E8 profile audio-avrcp-target state changed: connecting -> 
connected (0)
bluetoothd[1990]: src/device.c:device_profile_connected() audio-avrcp-target 
Success (0)
bluetoothd[1990]: profiles/audio/avrcp.c:target_init() 0xdd2c0 version 0x0000
bluetoothd[1990]: src/service.c:change_state() 0xc1838: device 
98:D6:F7:34:98:E8 profile avrcp-controller state changed: disconnected -> 
connected (0)
bluetoothd[1990]: profiles/audio/avctp.c:avctp_set_state() AVCTP Connected
[Nexus 4]# I: [pulseaudio] module-suspend-on-idle.c: Sink auto_null idle for 
too long, suspending ...
I: [pulseaudio] core.c: All sinks and sources are suspended, vacuuming memory
bluetoothd[1990]: profiles/audio/avdtp.c:session_cb()
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received START_CMD
bluetoothd[1990]: profiles/audio/a2dp.c:start_ind() Sink 0xcb568: Start_Ind
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_ref() 0xcb730: ref=2
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_sep_set_state() stream state 
changed: OPEN -> STREAMING
bluetoothd[1990]: profiles/audio/source.c:source_set_state() State changed 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8: SOURCE_STATE_CONNECTED -> 
SOURCE_STATE_PLAYING
bluetoothd[1990]: profiles/audio/transport.c:transport_update_playing() 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 State=TRANSPORT_STATE_IDLE Playing=1
bluetoothd[1990]: profiles/audio/transport.c:transport_set_state() State 
changed /org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9: TRANSPORT_STATE_IDLE -> 
TRANSPORT_STATE_PENDING
bluetoothd[1990]: profiles/audio/transport.c:media_owner_create() Owner 
created: sender=:1.81
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_ref() 0xcb730: ref=3
bluetoothd[1990]: profiles/audio/a2dp.c:a2dp_sep_lock() SEP 0xcb568 locked
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_ref() 0xcb730: ref=4
bluetoothd[1990]: profiles/audio/a2dp.c:setup_ref() 0xc9c38: ref=1
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_unref() 0xcb730: ref=3
bluetoothd[1990]: profiles/audio/transport.c:media_request_create() Request 
created: method=TryAcquire id=10
bluetoothd[1990]: profiles/audio/transport.c:media_owner_add() Owner :1.81 
Request TryAcquire
bluetoothd[1990]: profiles/audio/transport.c:media_transport_set_owner() 
Transport /org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 Owner :1.81
bluetoothd[1990]: /org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9: fd(23) ready
I: [pulseaudio] module-bluez5-device.c: Transport 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 acquired: fd 25bluetoothd[1990]: 
profiles/audio/transport.c:media_owner_remove() Owner :1.81 Request TryAcquire

I: [bluetooth] module-bluez5-device.c: Transport 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 resumingbluetoothd[1990]: 
profiles/audio/transport.c:transport_set_state() State changed 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9: TRANSPORT_STATE_PENDING -> 
TRANSPORT_STATE_ACTIVE

I: [null-sink] module-loopback.c: Could not peek into queue
I: [null-sink] module-loopback.c: Could not peek into queuebluetoothd[1990]: 
profiles/audio/a2dp.c:setup_unref() 0xc9c38: ref=0

I: [null-sink] module-loopback.c: Could not peek into queue
bluetoothd[1990]: profiles/audio/a2dp.c:setup_free() 0xc9c38
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_unref() 0xcb730: ref=2
I: [null-sink] module-loopback.c: Could not peek into queue
I: [null-sink] module-loopback.c: Could not peek into queue
I: [null-sink] module-loopback.c: Could not peek into queue
[Nexus 4]# I: [pulseaudio] module-loopback.c: New rate of 43538 Hz not within 2 
of 44100 Hz, forcing smaller adjustment
I: [pulseaudio] module-loopback.c: New rate of 43872 Hz not within 2 of 44011 
Hz, forcing smaller adjustment
bluetoothd[1990]: profiles/audio/avdtp.c:session_cb()
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received SUSPEND_CMD
bluetoothd[1990]: profiles/audio/a2dp.c:suspend_ind() Sink 0xcb568: Suspend_Ind
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_sep_set_state() stream state 
changed: STREAMING -> OPEN
bluetoothd[1990]: profiles/audio/source.c:source_set_state() State changed 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8: SOURCE_STATE_PLAYING -> 
SOURCE_STATE_CONNECTED
bluetoothd[1990]: profiles/audio/transport.c:transport_update_playing() 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 State=TRANSPORT_STATE_ACTIVE Playing=0
bluetoothd[1990]: profiles/audio/transport.c:media_transport_remove_owner() 
Transport /org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 Owner :1.81
bluetoothd[1990]: profiles/audio/transport.c:media_owner_free() Owner :1.81
bluetoothd[1990]: profiles/audio/transport.c:transport_set_state() State 
changed /org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9: TRANSPORT_STATE_ACTIVE -> 
TRANSPORT_STATE_IDLE
bluetoothd[1990]: profiles/audio/a2dp.c:a2dp_sep_unlock() SEP 0xcb568 unlocked
I: [pulseaudio] source-output.c: Freeing output 0 "Loopback to Dummy Output"
I: [pulseaudio] sink-input.c: Freeing input 0 "Loopback from Nexus 4"
I: [bluetooth] bluez5-util.c: Transport 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 auto-released by BlueZ or already 
released
I: [pulseaudio] source.c: Freeing source 1 "bluez_source.98_D6_F7_34_98_E8"
I: [pulseaudio] card.c: Changed profile of card 0 
"bluez_card.98_D6_F7_34_98_E8" to off
I: [pulseaudio] module.c: Unloading "module-loopback" (index: #22).
I: [pulseaudio] module.c: Unloaded "module-loopback" (index: #22).
I: [pulseaudio] module-suspend-on-idle.c: Sink auto_null idle for too long, 
suspending ...
bluetoothd[1990]: profiles/audio/avdtp.c:session_cb()
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received START_CMD
bluetoothd[1990]: profiles/audio/a2dp.c:start_ind() Sink 0xcb568: Start_Ind
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_ref() 0xcb730: ref=3
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_sep_set_state() stream state 
changed: OPEN -> STREAMING
bluetoothd[1990]: profiles/audio/source.c:source_set_state() State changed 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8: SOURCE_STATE_CONNECTED -> 
SOURCE_STATE_PLAYING
bluetoothd[1990]: profiles/audio/transport.c:transport_update_playing() 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 State=TRANSPORT_STATE_IDLE Playing=1
bluetoothd[1990]: profiles/audio/transport.c:transport_set_state() State 
changed /org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9: TRANSPORT_STATE_IDLE -> 
TRANSPORT_STATE_PENDING
bluetoothd[1990]: profiles/audio/transport.c:media_owner_create() Owner 
created: sender=:1.81
bluetoothd[1990]: profiles/audio/a2dp.c:a2dp_sep_lock() SEP 0xcb568 locked
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_ref() 0xcb730: ref=4
bluetoothd[1990]: profiles/audio/a2dp.c:setup_ref() 0xc9c38: ref=1
bluetoothd[1990]: profiles/audio/avdtp.c:avdtp_unref() 0xcb730: ref=3
bluetoothd[1990]: profiles/audio/transport.c:media_request_create() Request 
created: method=TryAcquire id=11
bluetoothd[1990]: profiles/audio/transport.c:media_owner_add() Owner :1.81 
Request TryAcquire
bluetoothd[1990]: profiles/audio/transport.c:media_transport_set_owner() 
Transport /org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 Owner :1.81
I: [pulseaudio] module-bluez5-device.c: Transport 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 acquired: fd 19bluetoothd[1990]: 
profiles/audio/transport.c:media_owner_remove() Owner :1.81 Request TryAcquire

I: [pulseaudio] module-bluez5-device.c: SBC parameters: allocation=0, 
subbands=1, blocks=3, bitpool=2
bluetoothd[1990]: profiles/audio/transport.c:transport_set_state() State 
changed /org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9: TRANSPORT_STATE_PENDING -> 
TRANSPORT_STATE_ACTIVE
I: [pulseaudio] source.c: Created source 2 "bluez_source.98_D6_F7_34_98_E8" 
with sample spec s16le 2ch 44100Hz and channel map 
front-left,front-rightbluetoothd[1990]: profiles/audio/a2dp.c:setup_unref() 
0xc9c38: ref=0
bluetoothd[1990]: profiles/audio/a2dp.c:setup_free() 0xc9c38

I: [pulseaudio] source.c:     bluetooth.protocol = "a2dp_source"
I: [pulseaudio] source.c: bluetoothd[1990]: 
profiles/audio/avdtp.c:avdtp_unref() 0xcb730: ref=2
    device.description = "Nexus 4"
I: [pulseaudio] source.c:     device.string = "98:D6:F7:34:98:E8"
I: [pulseaudio] source.c:     device.api = "bluez"
I: [pulseaudio] source.c:     device.class = "sound"
I: [pulseaudio] source.c:     device.bus = "bluetooth"
I: [pulseaudio] source.c:     device.form_factor = "phone"
I: [pulseaudio] source.c:     bluez.path = 
"/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
I: [pulseaudio] source.c:     bluez.class = "0x5a020c"
I: [pulseaudio] source.c:     bluez.alias = "Nexus 4"
I: [pulseaudio] source.c:     device.icon_name = "audio-card-bluetooth"
I: [bluetooth] core-util.c: Failed to acquire real-time scheduling: No such 
file or directory
I: [bluetooth] module-bluez5-device.c: Transport 
/org/bluez/hci0/dev_98_D6_F7_34_98_E8/fd9 resuming
[Nexus 4]# exit
Agent unregistered
[DEL] Controller 00:50:43:21:EE:DF BlueZ 5.30 [default]
bluetoothd[1990]: src/agent.c:agent_disconnect() Agent :1.83 disconnected
pulse@OpenWrt:/$ bluetoothd[1990]: src/agent.c:remove_default_agent() Default 
agent cleared
bluetoothd[1990]: src/agent.c:agent_destroy() agent :1.83
bluetoothd[1990]: src/agent.c:agent_unref() 0xdc190: ref=0

pulse@OpenWrt:/$
pulse@OpenWrt:/$ bluetoothd[1990]: src/adapter.c:new_settings_callback() 
Settings: 0x000002d3
bluetoothd[1990]: src/adapter.c:settings_changed() Changed settings: 0x00000008
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to