You are not logged in.
Pages: 1
I've a bluetooth stereo transmitter. I pair and connect it from blueman-applet, and all works fine. Pulse see "hifi capture" stereo source for an instant, but now blueman disconnect it, and source disappear from pulse. Why?
I edit /etc/bluetooth/audio.conf
Enable=SourceLog of bluetoothd -nd
bluetoothd[8315]: audio/avdtp.c:avdtp_ref() 0x7f1f83012250: ref=2
bluetoothd[8315]: audio/source.c:source_connect() stream creation in progress
bluetoothd[8315]: plugins/hciops.c:conn_complete() status 0x00
bluetoothd[8315]: src/adapter.c:adapter_get_device() 00:1A:7D:E2:EA:6A
bluetoothd[8315]: plugins/hciops.c:remote_features_information() hci0 status 0
bluetoothd[8315]: plugins/hciops.c:link_key_request() hci0 dba 00:1A:7D:E2:EA:6A
bluetoothd[8315]: plugins/hciops.c:get_auth_info() hci0 dba 00:1A:7D:E2:EA:6A
bluetoothd[8315]: plugins/hciops.c:link_key_request() kernel auth requirements = 0x04
bluetoothd[8315]: plugins/hciops.c:link_key_request() Matching key found
bluetoothd[8315]: plugins/hciops.c:link_key_request() link key type 0x00
bluetoothd[8315]: plugins/hciops.c:remote_name_information() hci0 status 0
bluetoothd[8315]: plugins/hciops.c:auth_complete() hci0 status 0
bluetoothd[8315]: plugins/hciops.c:bonding_complete() status 0x00
bluetoothd[8315]: src/adapter.c:adapter_get_device() 00:1A:7D:E2:EA:6A
bluetoothd[8315]: src/device.c:device_bonding_complete() bonding (nil) status 0x00
bluetoothd[8315]: audio/avdtp.c:avdtp_connect_cb() AVDTP: connected signaling channel to 00:1A:7D:E2:EA:6A
bluetoothd[8315]: audio/avdtp.c:avdtp_connect_cb() AVDTP imtu=672, omtu=895
bluetoothd[8315]: audio/avdtp.c:session_cb()
bluetoothd[8315]: audio/avdtp.c:avdtp_parse_resp() DISCOVER request succeeded
bluetoothd[8315]: audio/avdtp.c:avdtp_discover_resp() seid 1 type 0 media 0 in use 0
bluetoothd[8315]: audio/avdtp.c:session_cb()
bluetoothd[8315]: audio/avdtp.c:avdtp_parse_resp() GET_CAPABILITIES request succeeded
bluetoothd[8315]: audio/avdtp.c:avdtp_get_capabilities_resp() seid 1 type 0 media 0
bluetoothd[8315]: audio/source.c:discovery_complete() Discovery complete
bluetoothd[8315]: audio/avdtp.c:avdtp_ref() 0x7f1f83012250: ref=3
bluetoothd[8315]: audio/a2dp.c:setup_ref() 0x7f1f8300b000: ref=1
bluetoothd[8315]: audio/media.c:media_endpoint_async_call() Calling SelectConfiguration: name = :1.65 path = /MediaEndpoint/A2DPSink
bluetoothd[8315]: audio/a2dp.c:a2dp_config() a2dp_config: selected SEP 0x7f1f82fc3210
bluetoothd[8315]: audio/a2dp.c:setup_ref() 0x7f1f8300b000: ref=2
bluetoothd[8315]: audio/avdtp.c:avdtp_set_configuration() 0x7f1f83012250: int_seid=2, acp_seid=1
bluetoothd[8315]: audio/a2dp.c:setup_unref() 0x7f1f8300b000: ref=1
bluetoothd[8315]: audio/avdtp.c:session_cb()
bluetoothd[8315]: audio/avdtp.c:avdtp_parse_resp() SET_CONFIGURATION request succeeded
bluetoothd[8315]: audio/a2dp.c:setconf_cfm() Sink 0x7f1f82fc3210: Set_Configuration_Cfm
bluetoothd[8315]: audio/media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.65 path = /MediaEndpoint/A2DPSink
bluetoothd[8315]: audio/avdtp.c:avdtp_sep_set_state() stream state changed: IDLE -> CONFIGURED
bluetoothd[8315]: audio/avdtp.c:session_cb()
bluetoothd[8315]: audio/avdtp.c:avdtp_parse_resp() OPEN request succeeded
bluetoothd[8315]: audio/avdtp.c:avdtp_connect_cb() AVDTP: connected transport channel to 00:1A:7D:E2:EA:6A
bluetoothd[8315]: audio/a2dp.c:open_cfm() Sink 0x7f1f82fc3210: Open_Cfm
bluetoothd[8315]: audio/source.c:stream_setup_complete() Stream successfully created
bluetoothd[8315]: audio/a2dp.c:setup_unref() 0x7f1f8300b000: ref=0
bluetoothd[8315]: audio/a2dp.c:setup_free() 0x7f1f8300b000
bluetoothd[8315]: audio/avdtp.c:avdtp_unref() 0x7f1f83012250: ref=2
bluetoothd[8315]: audio/avdtp.c:avdtp_sep_set_state() stream state changed: CONFIGURED -> OPEN
bluetoothd[8315]: audio/transport.c:media_transport_acquire() Transport /org/bluez/8315/hci0/dev_00_1A_7D_E2_EA_6A/fd1: read lock acquired
bluetoothd[8315]: audio/transport.c:media_transport_acquire() Transport /org/bluez/8315/hci0/dev_00_1A_7D_E2_EA_6A/fd1: write lock acquired
bluetoothd[8315]: audio/transport.c:media_owner_create() Owner created: sender=:1.65 accesstype=rw
bluetoothd[8315]: audio/avdtp.c:avdtp_ref() 0x7f1f83012250: ref=3
bluetoothd[8315]: audio/a2dp.c:a2dp_sep_lock() SEP 0x7f1f82fc3210 locked
bluetoothd[8315]: audio/avdtp.c:avdtp_ref() 0x7f1f83012250: ref=4
bluetoothd[8315]: audio/a2dp.c:setup_ref() 0x7f1f830102d0: ref=1
bluetoothd[8315]: audio/transport.c:media_request_create() Request created: method=Acquire id=6
bluetoothd[8315]: audio/transport.c:media_owner_add() Owner :1.65 Request Acquire
bluetoothd[8315]: audio/transport.c:media_transport_add() Transport /org/bluez/8315/hci0/dev_00_1A_7D_E2_EA_6A/fd1 Owner :1.65
bluetoothd[8315]: audio/avdtp.c:session_cb()
bluetoothd[8315]: audio/avdtp.c:avdtp_parse_resp() START request succeeded
bluetoothd[8315]: audio/a2dp.c:start_cfm() Sink 0x7f1f82fc3210: Start_Cfm
bluetoothd[8315]: /org/bluez/8315/hci0/dev_00_1A_7D_E2_EA_6A/fd1: fd(24) ready
bluetoothd[8315]: audio/transport.c:media_owner_remove() Owner :1.65 Request Acquire
bluetoothd[8315]: audio/a2dp.c:setup_unref() 0x7f1f830102d0: ref=0
bluetoothd[8315]: audio/a2dp.c:setup_free() 0x7f1f830102d0
bluetoothd[8315]: audio/avdtp.c:avdtp_unref() 0x7f1f83012250: ref=3
bluetoothd[8315]: audio/avdtp.c:avdtp_sep_set_state() stream state changed: OPEN -> STREAMING
bluetoothd[8315]: audio/avdtp.c:session_cb()
bluetoothd[8315]: audio/avdtp.c:avdtp_parse_cmd() Received CLOSE_CMD
bluetoothd[8315]: audio/a2dp.c:close_ind() Sink 0x7f1f82fc3210: Close_Ind
bluetoothd[8315]: audio/avdtp.c:avdtp_sep_set_state() stream state changed: STREAMING -> CLOSING
bluetoothd[8315]: audio/avdtp.c:avdtp_sep_set_state() stream state changed: CLOSING -> IDLE
bluetoothd[8315]: audio/transport.c:media_transport_remove() Transport /org/bluez/8315/hci0/dev_00_1A_7D_E2_EA_6A/fd1 Owner :1.65
bluetoothd[8315]: audio/transport.c:media_transport_release() Transport /org/bluez/8315/hci0/dev_00_1A_7D_E2_EA_6A/fd1: read lock released
bluetoothd[8315]: audio/transport.c:media_transport_release() Transport /org/bluez/8315/hci0/dev_00_1A_7D_E2_EA_6A/fd1: write lock released
bluetoothd[8315]: audio/transport.c:media_owner_free() Owner :1.65
bluetoothd[8315]: audio/a2dp.c:a2dp_sep_unlock() SEP 0x7f1f82fc3210 unlocked
bluetoothd[8315]: audio/avdtp.c:avdtp_unref() 0x7f1f83012250: ref=2
bluetoothd[8315]: audio/avdtp.c:avdtp_unref() 0x7f1f83012250: ref=1
bluetoothd[8315]: audio/avdtp.c:connection_lost() Disconnected from 00:1A:7D:E2:EA:6A
bluetoothd[8315]: audio/avdtp.c:avdtp_unref() 0x7f1f83012250: ref=0
bluetoothd[8315]: audio/avdtp.c:avdtp_unref() 0x7f1f83012250: freeing session and removing from list
bluetoothd[8315]: plugins/hciops.c:disconn_complete() handle 11 status 0x00
bluetoothd[8315]: src/event.c:btd_event_disconn_complete()
bluetoothd[8315]: src/adapter.c:adapter_remove_connection() I think the problem is about this point:
bluetoothd[8315]: /org/bluez/8315/hci0/dev_00_1A_7D_E2_EA_6A/fd1: fd(24) ready
bluetoothd[8315]: audio/transport.c:media_owner_remove() Owner :1.65 Request AcquireOffline
First of all, good job supplying detailed info in your initial post. If it appears that I might need to play the "20 questions" game before obtaining enough information to even start helping someone with their problem, I'll just simply move on to see if I can help someone else.
The only thing you missed is which version of Bluez you're running. So I simply downloaded the 4.98 version and started poking around in the source code.
The Bluez code is one gigantic tangled furball with almost no comments, so I can only offer a best guess about your problem. But it appears that you're using Bluez as a "Sink"... but you say that you only enabled "Source".
So try changing that /etc/bluetooth/audio.conf file to the following:
Enable=Source,SinkIn fact, I'd change it to:
Enable=Source,Sink,Headset,Gateway,Control,Socket,Mediaunless you have a good reason not to.
Offline
Pages: 1