<HTML>
<p>Hello!</p><p>I'm trying to get a Samsung WEP150 headset working on an embedded Linux board but when I try to play something with bluetooth output then the player app hangs.<br />Here is what I'm doing:</p><p>1. Start bluez<br />/afc/sbin/bluetoothd -d -n</p><p><p>bluetoothd[4776]: Bluetooth daemon 4.96</p><p>bluetoothd[4776]: src/main.c:parse_config() parsing main.conf</p><p>bluetoothd[4776]: src/main.c:parse_config() discovto=0</p><p>bluetoothd[4776]: src/main.c:parse_config() pairto=0</p><p>bluetoothd[4776]: src/main.c:parse_config() pageto=8192</p><p>bluetoothd[4776]: src/main.c:parse_config() name=%h-%d</p><p>bluetoothd[4776]: src/main.c:parse_config() class=0x000100</p><p>bluetoothd[4776]: src/main.c:parse_config() discov_interval=30</p><p>bluetoothd[4776]: src/main.c:parse_config() Key file does not have key 'DeviceID'</p><p>bluetoothd[4776]: Starting SDP server</p><p>bluetoothd[4776]: src/plugin.c:plugin_init() Loading builtin plugins</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading audio plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading input plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading serial plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading network plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading service plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading hciops plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading mgmtops plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading formfactor plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading storage plugin</p><p>bluetoothd[4776]: src/plugin.c:add_plugin() Loading adaptername plugin</p><p>bluetoothd[4776]: src/plugin.c:plugin_init() Loading plugins /afc/lib/bluetooth/plugins</p><p>bluetoothd[4776]: plugins/service.c:register_interface() path /org/bluez/4776/any</p><p>bluetoothd[4776]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/4776/any</p><p>bluetoothd[4776]: network/manager.c:read_config() Config options: Security=true</p><p>bluetoothd[4776]: Failed to open control socket: Protocol not supported (93)</p><p>bluetoothd[4776]: Can't init bnep module</p><p>bluetoothd[4776]: Failed to init network plugin</p><p>bluetoothd[4776]: Parsing /afc/etc/bluetooth/input.conf failed: No such file or directory</p><p>bluetoothd[4776]: Parsing /afc/etc/bluetooth/audio.conf failed: No such file or directory</p><p>bluetoothd[4776]: audio/unix.c:unix_init() Unix socket created: 8</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_init()&nbsp;</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_setup()&nbsp;</p><p>bluetoothd[4776]: Failed to open RFKILL control device</p><p>bluetoothd[4776]: src/main.c:main() Entering main loop</p><p>bluetoothd[4776]: plugins/hciops.c:init_known_adapters()&nbsp;</p><p>bluetoothd[4776]: plugins/hciops.c:init_device() hci0</p><p>bluetoothd[4776]: Listening for HCI events on hci0</p><p>bluetoothd[4776]: plugins/hciops.c:init_conn_list() hci0</p><p>bluetoothd[4776]: HCI dev 0 up</p><p>bluetoothd[4776]: plugins/hciops.c:device_devup_setup() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:read_local_version_complete() Got version for hci0</p><p>bluetoothd[4776]: src/adapter.c:btd_adapter_ref() 0x200b3dc0: ref=1</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_read_bdaddr() hci0</p><p>bluetoothd[4776]: src/sdpd-database.c:sdp_init_services_list()&nbsp;</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_add_uuid() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:update_service_classes() hci0 value 0</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_add_uuid() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:update_service_classes() hci0 value 0</p><p>bluetoothd[4776]: plugins/service.c:register_interface() path /org/bluez/4776/hci0</p><p>bluetoothd[4776]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/4776/hci0</p><p>bluetoothd[4776]: serial/manager.c:proxy_probe() path /org/bluez/4776/hci0</p><p>bluetoothd[4776]: src/adapter.c:btd_adapter_ref() 0x200b3dc0: ref=2</p><p>bluetoothd[4776]: serial/proxy.c:proxy_register() Registered interface org.bluez.SerialProxyManager on path /org/bluez/4776/hci0</p><p>bluetoothd[4776]: Parsing /afc/etc/bluetooth/serial.conf failed: No such file or directory</p><p>bluetoothd[4776]: src/adapter.c:btd_adapter_ref() 0x200b3dc0: ref=3</p><p>bluetoothd[4776]: audio/manager.c:headset_server_probe() path /org/bluez/4776/hci0</p><p>bluetoothd[4776]: src/adapter.c:btd_adapter_ref() 0x200b3dc0: ref=4</p><p>bluetoothd[4776]: audio/manager.c:audio_adapter_ref() 0x200b3f88: ref=1</p><p>bluetoothd[4776]: audio/manager.c:state_changed() /org/bluez/4776/hci0 powered on</p><p>bluetoothd[4776]: audio/telephony.c:telephony_init()&nbsp;</p><p>bluetoothd[4776]: audio/headset.c:telephony_ready_ind() Telephony plugin initialized</p><p>bluetoothd[4776]: audio/headset.c:print_ag_features() HFP AG features: &quot;Ability to reject a call&quot; &quot;Enhanced call status&quot; &quot;Extended Error Result Codes&quot;&nbsp;</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10000</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_add_uuid() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:update_service_classes() hci0 value 0</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000003-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001108-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001112-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001203-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10001</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_add_uuid() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:update_service_classes() hci0 value 64</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000003-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000111e-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000111f-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001203-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: audio/manager.c:a2dp_server_probe() path /org/bluez/4776/hci0</p><p>bluetoothd[4776]: audio/manager.c:audio_adapter_ref() 0x200b3f88: ref=2</p><p>bluetoothd[4776]: audio/avdtp.c:avdtp_register_sep() SEP 0x200b5120 registered: type:0 codec:0 seid:1</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10002</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_add_uuid() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:update_service_classes() hci0 value 72</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000019-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110a-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110d-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: audio/manager.c:avrcp_server_probe() path /org/bluez/4776/hci0</p><p>bluetoothd[4776]: audio/manager.c:audio_adapter_ref() 0x200b3f88: ref=3</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10003</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_add_uuid() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:update_service_classes() hci0 value 72</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000017-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110c-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110e-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10004</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_add_uuid() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:update_service_classes() hci0 value 72</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000017-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110e-0000-1000-8000-00805f9</p><p>bluetoothd[4776]: plugins/adaptername.c:adaptername_probe() Setting name 'ISSCEDRBTA' for device 'hci0'</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_set_name() hci0, name ISSCEDRBTA</p><p>bluetoothd[4776]: plugins/hciops.c:update_ext_inquiry_response() hci0</p><p>bluetoothd[4776]: Could not get the contents of DMI chassis type</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_unblock_device() hci0 dba 00:00:00:00:00:00</p><p>bluetoothd[4776]: Clearing blocked list failed: Invalid argument (22)</p><p>bluetoothd[4776]: src/device.c:device_create() Creating device /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03</p><p>bluetoothd[4776]: src/device.c:device_set_bonded() bonded 1</p><p>bluetoothd[4776]: src/device.c:btd_device_ref() 0x200b6308: ref=1</p><p>bluetoothd[4776]: src/device.c:device_set_temporary() temporary 0</p><p>bluetoothd[4776]: src/device.c:device_probe_drivers() Probing drivers for 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: serial/manager.c:serial_probe() path /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: 00001101-0000-1000-8000-00805f9b34fb</p><p>bluetoothd[4776]: serial/port.c:create_serial_device() Registered interface org.bluez.Serial on path /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03</p><p>bluetoothd[4776]: serial/manager.c:serial_probe() path /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: 00001108-0000-1000-8000-00805f9b34fb</p><p>bluetoothd[4776]: serial/manager.c:serial_probe() path /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: 0000111e-0000-1000-8000-00805f9b34fb</p><p>bluetoothd[4776]: input/manager.c:headset_probe() path /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03</p><p>bluetoothd[4776]: src/device.c:btd_device_ref() 0x200b6308: ref=2</p><p>bluetoothd[4776]: input/device.c:input_device_new() Registered interface org.bluez.Input on path /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03</p><p>bluetoothd[4776]: src/adapter.c:adapter_get_device() 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: src/device.c:btd_device_ref() 0x200b6308: ref=3</p><p>bluetoothd[4776]: audio/device.c:audio_device_register() Registered interface org.bluez.Audio on path /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03</p><p>bluetoothd[4776]: audio/manager.c:handle_uuid() Found Headset record</p><p>bluetoothd[4776]: audio/headset.c:headset_init() Registered interface org.bluez.Headset on path /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03</p><p>bluetoothd[4776]: audio/manager.c:handle_uuid() Found Handsfree record</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_load_keys() hci0 keys 1 debug_keys 0</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_get_conn_list() hci0</p><p>bluetoothd[4776]: src/manager.c:btd_manager_register_adapter() Adapter /org/bluez/4776/hci0 registered</p><p>bluetoothd[4776]: src/adapter.c:btd_adapter_ref() 0x200b3dc0: ref=5</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_set_name() hci0, name ISSCEDRBTA</p><p>bluetoothd[4776]: plugins/hciops.c:update_ext_inquiry_response() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_set_dev_class() hci0 major 1 minor 0</p><p>bluetoothd[4776]: audio/manager.c:state_changed() /org/bluez/4776/hci0 powered on</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_disable_cod_cache() hci0 cache_enable 1</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_disable_cod_cache() hci0 current_cod 0x000000 wanted_cod 0x480100</p><p>bluetoothd[4776]: plugins/hciops.c:write_class() hci0 class 0x480100</p><p>bluetoothd[4776]: Adapter /org/bluez/4776/hci0 has been enabled</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_set_discoverable() hci0 discoverable 0</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_set_pairable() hci0 pairable 1</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_stop_inquiry() hci0</p><p>bluetoothd[4776]: src/adapter.c:btd_adapter_unref() 0x200b3dc0: ref=4</p><p>bluetoothd[4776]: plugins/hciops.c:update_ext_inquiry_response() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:read_local_name_complete() hci0 status 0</p><p>bluetoothd[4776]: plugins/hciops.c:update_ext_inquiry_response() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:read_local_name_complete() hci0 status 0</p><p>bluetoothd[4776]: plugins/hciops.c:update_ext_inquiry_response() hci0</p><p>bluetoothd[4776]: plugins/hciops.c:read_scan_complete() hci0 status 0</p><p>bluetoothd[4776]: src/adapter.c:adapter_mode_changed() old 0x00 new 0x02</p><p>bluetoothd[4776]: src/adapter.c:adapter_set_limited_discoverable() FALSE</p><p>bluetoothd[4776]: plugins/hciops.c:hciops_set_limited_discoverable() hci0 limited 0</p><p>bluetoothd[4776]: src/adapter.c:set_mode_complete()</p><p>&nbsp;</p><p>2. Connect to headset:<br />dbus-send --system --print-reply --dest=org.bluez /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03 org.bluez.Headset.Connect<br />method return sender=:1.45 -&gt; dest=:1.46 reply_serial=2</p><p>Debug from bluez:</p><p><p>bluetoothd[4776]: audio/headset.c:headset_set_state() State changed /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: HEADSET_STATE_DISCONNECTED -&gt; HEADSET_STATE_CONNECTING</p><p>bluetoothd[4776]: plugins/hciops.c:link_key_request() hci0 dba 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: plugins/hciops.c:get_auth_info() hci0 dba 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: plugins/hciops.c:link_key_request() kernel auth requirements = 0xff</p><p>bluetoothd[4776]: plugins/hciops.c:link_key_request() Matching key found</p><p>bluetoothd[4776]: plugins/hciops.c:link_key_request() link key type 0x00</p><p>bluetoothd[4776]: plugins/hciops.c:conn_complete() status 0x00</p><p>bluetoothd[4776]: src/adapter.c:adapter_get_device() 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: plugins/hciops.c:bonding_complete() status 0x00</p><p>bluetoothd[4776]: src/event.c:btd_event_bonding_complete() status 0x00</p><p>bluetoothd[4776]: src/adapter.c:adapter_get_device() 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: src/device.c:device_bonding_complete() bonding (nil) status 0x00</p><p>bluetoothd[4776]: plugins/hciops.c:remote_features_information() hci0 status 0</p><p>bluetoothd[4776]: audio/headset.c:headset_set_channel() Discovered Handsfree service on channel 2</p><p>bluetoothd[4776]: audio/headset.c:rfcomm_connect() /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: Connecting to 00:07:A4:EE:8F:03 channel 2</p><p>bluetoothd[4776]: audio/headset.c:headset_connect_cb() /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: Connected to 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+BRSF=26</p><p>bluetoothd[4776]: audio/headset.c:print_hf_features() HFP HF features: &quot;Call waiting and 3-way calling&quot; &quot;Voice recognition activation&quot; &quot;Remote volume control&quot;&nbsp;</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+CIND=?</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+CIND?</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+CMER=3,0,0,1</p><p>bluetoothd[4776]: audio/headset.c:event_reporting() Event reporting (CMER): mode=3, ind=1</p><p>bluetoothd[4776]: audio/headset.c:hfp_slc_complete() HFP Service Level Connection established</p><p>bluetoothd[4776]: audio/telephony.c:telephony_device_connected() telephony-dummy: device 0x200b7738 connected</p><p>bluetoothd[4776]: audio/headset.c:headset_set_state() State changed /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: HEADSET_STATE_CONNECTING -&gt; HEADSET_STATE_CONNECTED</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+VGS=15</p><p>bluetoothd[4776]: audio/headset.c:headset_set_gain() Ignoring no-change in speaker gain</p><p>&nbsp;</p><p>3. Start pulseaudio:<br />LD_LIBRARY_PATH=/afc/lib/pulse-0.9.23/modules /afc/bin/pulseaudio --system --high-priority --disallow-exit --log-target=stderr --use-pid-file --disable-shm -vvvvvvv</p><p><p>W: main.c: Running in system mode, but --disallow-module-loading not set!</p><p>N: main.c: Running in system mode, forcibly disabling exit idle time!</p><p>I: main.c: setrlimit(RLIMIT_RTTIME, (1000000, 1000000)) failed: Invalid argument</p><p>D: core-util.c: setpriority() worked.</p><p>I: core-util.c: Successfully gained nice level -11.</p><p>I: main.c: Found user 'pulse' (UID 110) and group 'pulse' (GID 115).</p><p>I: main.c: Successfully dropped root privileges.</p><p>I: main.c: This is PulseAudio 0.9.23</p><p>D: main.c: Compilation host: powerpc-603e-linux-gnu</p><p>D: main.c: Compilation CFLAGS: -pipe -g -O2 -mcpu=603e -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option</p><p>D: main.c: Running on host: Linux ppc 2.6.24.6.0.54000 #1 PREEMPT Wed Dec 1 12:42:48 WST 2010</p><p>D: main.c: Found 1 CPUs.</p><p>I: main.c: Page size is 4096 bytes</p><p>D: main.c: Compiled with Valgrind support: no</p><p>D: main.c: Running in valgrind mode: no</p><p>D: main.c: Running in VM: no</p><p>D: main.c: Optimized build: yes</p><p>D: main.c: All asserts enabled.</p><p>I: main.c: Machine ID is d63a8b34983dc07124730b71000003f9.</p><p>I: main.c: Using runtime directory /afc/var/run/pulse.</p><p>I: main.c: Using state directory /afc/var/lib/pulse.</p><p>I: main.c: Using modules directory /afc/lib/pulse-0.9.23/modules.</p><p>I: main.c: Running in system mode: yes</p><p>W: main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.</p><p>W: main.c: If you do it nonetheless then it's your own fault if things don't work as expected.</p><p>W: main.c: Please read <a href="http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode">http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode</a> for an explanation why system mode is usually a bad idea.</p><p>I: main.c: Fresh high-resolution timers available! Bon appetit!</p><p>W: shm.c: Failed to read /dev/shm/: No such file or directory</p><p>D: memblock.c: Using private memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65496</p><p>I: sink.c: Created sink 0 &quot;null&quot; with sample spec s16be 2ch 44100Hz and channel map front-left,front-right</p><p>I: sink.c: &nbsp; &nbsp; device.description = &quot;Null Output&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.class = &quot;abstract&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.icon_name = &quot;audio-card&quot;</p><p>I: source.c: Created source 0 &quot;null.monitor&quot; with sample spec s16be 2ch 44100Hz and channel map front-left,front-right</p><p>I: source.c: &nbsp; &nbsp; device.description = &quot;Monitor of Null Output&quot;</p><p>I: source.c: &nbsp; &nbsp; device.class = &quot;monitor&quot;</p><p>I: source.c: &nbsp; &nbsp; device.icon_name = &quot;audio-input-microphone&quot;</p><p>D: module-null-sink.c: Thread starting up</p><p>I: module.c: Loaded &quot;module-null-sink&quot; (index: #0; argument: &quot;&quot;).</p><p>W: module.c: module-oss is deprecated: Please use module-alsa-card instead of module-oss!</p><p>D: oss-util.c: capabilities: DUPLEX MMAP REALTIME TRIGGER</p><p>I: module-oss.c: Hardware name is '(DUPLEX)'.</p><p>I: module-oss.c: Device opened in O_RDWR mode.</p><p>D: oss-util.c: Asking for 4 fragments of size 4096 (requested 4408)</p><p>I: module-oss.c: Input -- 4 fragments of size 8192.</p><p>I: module-oss.c: Output -- 4 fragments of size 8192.</p><p>I: source.c: Created source 1 &quot;input&quot; with sample spec s16be 2ch 44100Hz and channel map front-left,front-right</p><p>I: source.c: &nbsp; &nbsp; device.string = &quot;/dev/dsp&quot;</p><p>I: source.c: &nbsp; &nbsp; device.api = &quot;oss&quot;</p><p>I: source.c: &nbsp; &nbsp; device.description = &quot;(DUPLEX)&quot;</p><p>I: source.c: &nbsp; &nbsp; device.access_mode = &quot;serial&quot;</p><p>I: source.c: &nbsp; &nbsp; device.buffering.buffer_size = &quot;32768&quot;</p><p>I: source.c: &nbsp; &nbsp; device.buffering.fragment_size = &quot;8192&quot;</p><p>I: source.c: &nbsp; &nbsp; device.icon_name = &quot;audio-input-microphone&quot;</p><p>I: sink.c: Created sink 1 &quot;output&quot; with sample spec s16be 2ch 44100Hz and channel map front-left,front-right</p><p>I: sink.c: &nbsp; &nbsp; device.string = &quot;/dev/dsp&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.api = &quot;oss&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.description = &quot;(DUPLEX)&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.access_mode = &quot;serial&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.buffering.buffer_size = &quot;32768&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.buffering.fragment_size = &quot;8192&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.icon_name = &quot;audio-card&quot;</p><p>I: source.c: Created source 2 &quot;output.monitor&quot; with sample spec s16be 2ch 44100Hz and channel map front-left,front-right</p><p>I: source.c: &nbsp; &nbsp; device.description = &quot;Monitor of (DUPLEX)&quot;</p><p>I: source.c: &nbsp; &nbsp; device.class = &quot;monitor&quot;</p><p>I: source.c: &nbsp; &nbsp; device.icon_name = &quot;audio-input-microphone&quot;</p><p>D: module-oss.c: Found hardware mixer track for playback.</p><p>D: module-oss.c: Found hardware mixer track for recording.</p><p>D: module-oss.c: Thread starting up</p><p>D: core-util.c: SCHED_RR worked.</p><p>I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.</p><p>D: oss-util.c: Read mixer settings: 0: 100% 1: &nbsp; 0%</p><p>D: oss-util.c: Read mixer settings: 0: &nbsp; 0% 1: &nbsp; 0%</p><p>D: module-oss.c: trigger</p><p>D: module-oss.c: trigger: 2</p><p>D: module-oss.c: trigger</p><p>D: module-oss.c: trigger: 3</p><p>I: module.c: Loaded &quot;module-oss&quot; (index: #1; argument: &quot;sink_name=output source_name=input mmap=0&quot;).</p><p>I: module.c: Loaded &quot;module-native-protocol-unix&quot; (index: #2; argument: &quot;&quot;).</p><p>I: module.c: Loaded &quot;module-native-protocol-tcp&quot; (index: #3; argument: &quot;&quot;).</p><p>D: dbus-util.c: Successfully connected to D-Bus system bus 61aa7b55130f0b3caf01712d00005a07 as :1.47</p><p>D: bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired</p><p>D: bluetooth-util.c: Unknown Bluetooth minor device class 3</p><p>I: card.c: Created 0 &quot;bluez_card.00_07_A4_EE_8F_03&quot;</p><p>D: module-bluetooth-device.c: Connected to the bluetooth audio service</p><p>D: module-bluetooth-device.c: Sending BT_REQUEST -&gt; BT_GET_CAPABILITIES</p><p>D: module-bluetooth-device.c: Trying to receive message from audio service...</p><p>D: module-bluetooth-device.c: Received BT_RESPONSE &lt;- BT_GET_CAPABILITIES</p><p>D: module-bluetooth-device.c: Payload size is 9 6</p><p>D: module-bluetooth-device.c: Sending BT_REQUEST -&gt; BT_GET_CAPABILITIES</p><p>D: module-bluetooth-device.c: Trying to receive message from audio service...</p><p>D: module-bluetooth-device.c: Received BT_RESPONSE &lt;- BT_GET_CAPABILITIES</p><p>D: module-bluetooth-device.c: Payload size is 9 6</p><p>D: module-bluetooth-device.c: Got device capabilities</p><p>D: module-bluetooth-device.c: Sending BT_REQUEST -&gt; BT_OPEN</p><p>D: module-bluetooth-device.c: Trying to receive message from audio service...</p><p>D: module-bluetooth-device.c: Received BT_RESPONSE &lt;- BT_OPEN</p><p>D: module-bluetooth-device.c: Sending BT_REQUEST -&gt; BT_SET_CONFIGURATION</p><p>D: module-bluetooth-device.c: Trying to receive message from audio service...</p><p>D: module-bluetooth-device.c: Received BT_RESPONSE &lt;- BT_SET_CONFIGURATION</p><p>D: module-bluetooth-device.c: Connection to the device configured</p><p>D: module-bluetooth-device.c: Got the stream socket</p><p>I: sink.c: Created sink 2 &quot;bto&quot; with sample spec s16le 1ch 8000Hz and channel map mono</p><p>I: sink.c: &nbsp; &nbsp; bluetooth.protocol = &quot;sco&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.intended_roles = &quot;phone&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.description = &quot;Samsung WEP150&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.string = &quot;00:07:A4:EE:8F:03&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.api = &quot;bluez&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.class = &quot;sound&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.bus = &quot;bluetooth&quot;</p><p>I: sink.c: &nbsp; &nbsp; bluez.path = &quot;/org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03&quot;</p><p>I: sink.c: &nbsp; &nbsp; bluez.class = &quot;0x20040c&quot;</p><p>I: sink.c: &nbsp; &nbsp; bluez.name = &quot;Samsung WEP150&quot;</p><p>I: sink.c: &nbsp; &nbsp; device.icon_name = &quot;audio-card-bluetooth&quot;</p><p>I: source.c: Created source 3 &quot;bto.monitor&quot; with sample spec s16le 1ch 8000Hz and channel map mono</p><p>I: source.c: &nbsp; &nbsp; device.description = &quot;Monitor of Samsung WEP150&quot;</p><p>I: source.c: &nbsp; &nbsp; device.class = &quot;monitor&quot;</p><p>I: source.c: &nbsp; &nbsp; device.string = &quot;00:07:A4:EE:8F:03&quot;</p><p>I: source.c: &nbsp; &nbsp; device.api = &quot;bluez&quot;</p><p>I: source.c: &nbsp; &nbsp; device.bus = &quot;bluetooth&quot;</p><p>I: source.c: &nbsp; &nbsp; bluez.path = &quot;/org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03&quot;</p><p>I: source.c: &nbsp; &nbsp; bluez.class = &quot;0x20040c&quot;</p><p>I: source.c: &nbsp; &nbsp; bluez.name = &quot;Samsung WEP150&quot;</p><p>I: source.c: &nbsp; &nbsp; device.icon_name = &quot;audio-card-bluetooth&quot;</p><p>I: source.c: Created source 4 &quot;bti&quot; with sample spec s16le 1ch 8000Hz and channel map mono</p><p>I: source.c: &nbsp; &nbsp; bluetooth.protocol = &quot;hsp&quot;</p><p>I: source.c: &nbsp; &nbsp; device.intended_roles = &quot;phone&quot;</p><p>I: source.c: &nbsp; &nbsp; device.description = &quot;Samsung WEP150&quot;</p><p>I: source.c: &nbsp; &nbsp; device.string = &quot;00:07:A4:EE:8F:03&quot;</p><p>I: source.c: &nbsp; &nbsp; device.api = &quot;bluez&quot;</p><p>I: source.c: &nbsp; &nbsp; device.class = &quot;sound&quot;</p><p>I: source.c: &nbsp; &nbsp; device.bus = &quot;bluetooth&quot;</p><p>I: source.c: &nbsp; &nbsp; bluez.path = &quot;/org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03&quot;</p><p>I: source.c: &nbsp; &nbsp; bluez.class = &quot;0x20040c&quot;</p><p>I: source.c: &nbsp; &nbsp; bluez.name = &quot;Samsung WEP150&quot;</p><p>I: source.c: &nbsp; &nbsp; device.icon_name = &quot;audio-card-bluetooth&quot;</p><p>D: module-bluetooth-device.c: IO Thread starting up</p><p>D: core-util.c: SCHED_RR worked.</p><p>I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.</p><p>D: module-bluetooth-device.c: Sending BT_REQUEST -&gt; BT_START_STREAM</p><p>D: module-bluetooth-device.c: Trying to receive message from audio service...</p><p>D: module-bluetooth-device.c: Received BT_RESPONSE &lt;- BT_START_STREAM</p><p>D: module-bluetooth-device.c: Trying to receive message from audio service...</p><p>D: module-bluetooth-device.c: Received BT_INDICATION &lt;- BT_NEW_STREAM</p><p>D: module-bluetooth-device.c: Stream properly set up, we're ready to roll!</p><p>I: module.c: Loaded &quot;module-bluetooth-device&quot; (index: #4; argument: &quot;profile=hsp address=00:07:A4:EE:8F:03 auto_connect=1 sink_name=bto source_name=bti&quot;).</p><p>D: main.c: Got org.pulseaudio.Server!</p><p>I: main.c: Daemon startup complete.</p><p>D: bluetooth-util.c: dbus: interface=org.bluez.Headset, path=/org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03, member=PropertyChanged</p><p>D: module-bluetooth-device.c: dbus: interface=org.bluez.Headset, path=/org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03, member=PropertyChanged</p><p>D: bluetooth-util.c: dbus: interface=org.bluez.Headset, path=/org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03, member=PropertyChanged</p><p>D: module-bluetooth-device.c: dbus: interface=org.bluez.Headset, path=/org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03, member=PropertyChanged</p><p>D: bluetooth-util.c: dbus: interface=(null), path=(null), member=(null)</p><p>D: module-bluetooth-device.c: dbus: interface=(null), path=(null), member=(null)</p><p>D: bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired</p><p>D: module-bluetooth-device.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired</p><p>D: bluetooth-util.c: dbus: interface=(null), path=(null), member=(null)</p><p>D: module-bluetooth-device.c: dbus: interface=(null), path=(null), member=(null)</p><p>&nbsp;</p><p>4. Play a WAV with paplay:<br />paplay -p -v /afc/Noise.wav</p><p><p>Opening a playback stream with sample specification 's16be 1ch 48000Hz' and channel map 'mono'.</p><p>Connection established.</p><p>Stream successfully created.</p><p>Buffer metrics: maxlength=4194304, tlength=192000, prebuf=190082, minreq=1920</p><p>Using sample spec 's16be 1ch 48000Hz', channel map 'mono'.</p><p>Connected to device bto (2, not suspended).</p><p>Time: 0.000 sec; Latency: 1407895 usec. &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Time: 0.000 sec; Latency: 1407895 usec. &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Time: 0.000 sec; Latency: 1407895 usec. &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Got signal, exiting.ency: 1407895 usec.</p><p>&nbsp;</p><p>Debug from Pulseaudio:</p><p><p>I: client.c: Created 3 &quot;Native client (UNIX socket client)&quot;</p><p>D: protocol-native.c: Protocol version: remote 16, local 16</p><p>I: protocol-native.c: Got credentials: uid=0 gid=0 success=1</p><p>D: protocol-native.c: SHM possible: no</p><p>D: protocol-native.c: Negotiated SHM: no</p><p>I: resampler.c: Using resampler 'speex-float-3'</p><p>I: resampler.c: Using float32be as working format.</p><p>I: resampler.c: Choosing speex quality setting 3.</p><p>D: memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=2, prebuf=0, minreq=1 maxrewind=0</p><p>D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=2, prebuf=0, minreq=2 maxrewind=0</p><p>I: sink-input.c: Created input 3 &quot;/afc/Noise.wav&quot; on bto with sample spec s16be 1ch 48000Hz and channel map mono</p><p>I: sink-input.c: &nbsp; &nbsp; media.format = &quot;WAV (Microsoft)&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; application.name = &quot;paplay&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; media.name = &quot;/afc/Noise.wav&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; native-protocol.peer = &quot;UNIX socket client&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; native-protocol.version = &quot;16&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; application.process.id = &quot;4796&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; application.process.user = &quot;root&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; application.process.host = &quot;Viper&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; application.process.binary = &quot;pacat&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; application.language = &quot;C&quot;</p><p>I: sink-input.c: &nbsp; &nbsp; application.process.machine_id = &quot;d63a8b34983dc07124730b71000003f9&quot;</p><p>I: protocol-native.c: Requested tlength=2000.00 ms, minreq=20.00 ms</p><p>D: protocol-native.c: Traditional mode enabled, modifying sink usec only for compat with minreq.</p><p>D: memblockq.c: memblockq requested: maxlength=4194304, tlength=192000, base=2, prebuf=190082, minreq=1920 maxrewind=0</p><p>D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=192000, base=2, prebuf=190082, minreq=1920 maxrewind=0</p><p>I: protocol-native.c: Final latency 2128.00 ms = 1960.00 ms + 2*20.00 ms + 128.00 ms</p><p>D: protocol-native.c: Requesting rewind due to end of underrun.</p><p>D: core.c: Hmm, no streams around, trying to vacuum.</p><p>I: sink-input.c: Freeing input 3 &quot;/afc/Noise.wav&quot;</p><p>I: client.c: Freed 3 &quot;paplay&quot;</p><p>I: protocol-native.c: Connection died.</p><p>&nbsp;</p><p>Debug from bluez:</p><p><p>bluetoothd[4776]: audio/headset.c:headset_set_state() State changed /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: HEADSET_STATE_DISCONNECTED -&gt; HEADSET_STATE_CONNECTING</p><p>bluetoothd[4776]: plugins/hciops.c:link_key_request() hci0 dba 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: plugins/hciops.c:get_auth_info() hci0 dba 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: plugins/hciops.c:link_key_request() kernel auth requirements = 0xff</p><p>bluetoothd[4776]: plugins/hciops.c:link_key_request() Matching key found</p><p>bluetoothd[4776]: plugins/hciops.c:link_key_request() link key type 0x00</p><p>bluetoothd[4776]: plugins/hciops.c:conn_complete() status 0x00</p><p>bluetoothd[4776]: src/adapter.c:adapter_get_device() 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: plugins/hciops.c:bonding_complete() status 0x00</p><p>bluetoothd[4776]: src/event.c:btd_event_bonding_complete() status 0x00</p><p>bluetoothd[4776]: src/adapter.c:adapter_get_device() 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: src/device.c:device_bonding_complete() bonding (nil) status 0x00</p><p>bluetoothd[4776]: plugins/hciops.c:remote_features_information() hci0 status 0</p><p>bluetoothd[4776]: audio/headset.c:headset_set_channel() Discovered Handsfree service on channel 2</p><p>bluetoothd[4776]: audio/headset.c:rfcomm_connect() /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: Connecting to 00:07:A4:EE:8F:03 channel 2</p><p>bluetoothd[4776]: audio/headset.c:headset_connect_cb() /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: Connected to 00:07:A4:EE:8F:03</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+BRSF=26</p><p>bluetoothd[4776]: audio/headset.c:print_hf_features() HFP HF features: &quot;Call waiting and 3-way calling&quot; &quot;Voice recognition activation&quot; &quot;Remote volume control&quot;&nbsp;</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+CIND=?</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+CIND?</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+CMER=3,0,0,1</p><p>bluetoothd[4776]: audio/headset.c:event_reporting() Event reporting (CMER): mode=3, ind=1</p><p>bluetoothd[4776]: audio/headset.c:hfp_slc_complete() HFP Service Level Connection established</p><p>bluetoothd[4776]: audio/telephony.c:telephony_device_connected() telephony-dummy: device 0x200b7738 connected</p><p>bluetoothd[4776]: audio/headset.c:headset_set_state() State changed /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: HEADSET_STATE_CONNECTING -&gt; HEADSET_STATE_CONNECTED</p><p>bluetoothd[4776]: audio/headset.c:handle_event() Received AT+VGS=15</p><p>bluetoothd[4776]: audio/headset.c:headset_set_gain() Ignoring no-change in speaker gain</p><p>bluetoothd[4776]: audio/unix.c:server_cb() Accepted new client connection on unix socket (fd=21)</p><p>bluetoothd[4776]: audio/unix.c:client_cb() Audio API: BT_REQUEST &lt;- BT_GET_CAPABILITIES</p><p>bluetoothd[4776]: audio/unix.c:unix_ipc_sendmsg() Audio API: BT_RESPONSE -&gt; BT_GET_CAPABILITIES</p><p>bluetoothd[4776]: audio/unix.c:client_cb() Audio API: BT_REQUEST &lt;- BT_GET_CAPABILITIES</p><p>bluetoothd[4776]: audio/unix.c:unix_ipc_sendmsg() Audio API: BT_RESPONSE -&gt; BT_GET_CAPABILITIES</p><p>bluetoothd[4776]: audio/unix.c:client_cb() Audio API: BT_REQUEST &lt;- BT_OPEN</p><p>bluetoothd[4776]: audio/unix.c:handle_sco_open() open sco - object=/org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03 source=ANY destination=ANY lock=readwrite</p><p>bluetoothd[4776]: audio/unix.c:unix_ipc_sendmsg() Audio API: BT_RESPONSE -&gt; BT_OPEN</p><p>bluetoothd[4776]: audio/unix.c:client_cb() Audio API: BT_REQUEST &lt;- BT_SET_CONFIGURATION</p><p>bluetoothd[4776]: audio/unix.c:unix_ipc_sendmsg() Audio API: BT_RESPONSE -&gt; BT_SET_CONFIGURATION</p><p>bluetoothd[4776]: audio/unix.c:client_cb() Audio API: BT_REQUEST &lt;- BT_START_STREAM</p><p>bluetoothd[4776]: audio/headset.c:headset_set_state() State changed /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: HEADSET_STATE_CONNECTED -&gt; HEADSET_STATE_PLAY_IN_PROGRESS</p><p>bluetoothd[4776]: audio/headset.c:sco_connect_cb() SCO socket opened for headset /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03</p><p>bluetoothd[4776]: audio/headset.c:sco_connect_cb() SCO fd=23</p><p>bluetoothd[4776]: audio/unix.c:unix_ipc_sendmsg() Audio API: BT_RESPONSE -&gt; BT_START_STREAM</p><p>bluetoothd[4776]: audio/unix.c:unix_ipc_sendmsg() Audio API: BT_INDICATION -&gt; BT_NEW_STREAM</p><p>bluetoothd[4776]: audio/headset.c:headset_set_state() State changed /org/bluez/4776/hci0/dev_00_07_A4_EE_8F_03: HEADSET_STATE_PLAY_IN_PROGRESS -&gt; HEADSET_STATE_PLAYING</p><p>bluetoothd[4776]: audio/headset.c:headset_set_gain() Ignoring no-change in speaker gain</p><p>bluetoothd[4776]: audio/headset.c:headset_set_gain() Ignoring no-change in microphone gain</p><p>&nbsp;</p><p>After that I'v changed the resampler method to trivial. Now paplays returns with this:<br /><p>Opening a playback stream with sample specification 's16be 1ch 48000Hz' and channel map 'mono'.</p><p>Connection established.</p><p>Stream successfully created.</p><p>Buffer metrics: maxlength=4194304, tlength=192000, prebuf=190082, minreq=1920</p><p>Using sample spec 's16be 1ch 48000Hz', channel map 'mono'.</p><p>Connected to device bto (2, not suspended).</p><p>Failed to drain stream: Timeout95 usec. &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Playback stream drained.</p><p>Draining connection to server.</p></p><p>&nbsp;</p><p>As you see paplay is unable to output audio data but I didn't see why?<br />Do somebody know what is the problem?</p><p>CPU: PowerPC 603e (No FPU)<br />Linux: 2.6.24.6<br />Glibc: 2.5</p><p>Pulseaudio system.pa (no other config files):</p><p><p>load-module module-null-sink</p><p>load-module module-oss sink_name=output source_name=input mmap=0</p><p>load-module module-native-protocol-unix</p><p>load-module module-native-protocol-tcp</p><p># load-module module-stream-restore</p><p># load-module module-rescue-streams</p><p># load-module module-always-sink</p><p># load-module module-suspend-on-idle</p><p>load-module module-bluetooth-device profile=hsp address=00:07:A4:EE:8F:03 auto_connect=1 sink_name=bto source_name=bti</p><p>set-default-sink bto</p><p>set-default-source input</p><p>&nbsp;</p><p>Thanks in advance!</p><p>BR,<br />Krisztian Kocsis</p><p>&nbsp;</p></p></p></p></p></p></p></p><BR><hr />Message sent via Atmail Open - http://atmail.org/</HTML>