• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bluez version on netPi
#5
Well I am not using the 5.47 version, but I am getting this log output

^Croot@NTB827EB0264F7:~# bluetoothd -dn
bluetoothd[58]: Bluetooth daemon 5.23
bluetoothd[58]: src/main.c:parse_config() parsing main.conf
bluetoothd[58]: src/main.c:parse_config() Key file does not have key 'DiscoverableTimeout'
bluetoothd[58]: src/main.c:parse_config() Key file does not have key 'PairableTimeout'
bluetoothd[58]: src/main.c:parse_config() Key file does not have key 'AutoConnectTimeout'
bluetoothd[58]: src/main.c:parse_config() Key file does not have key 'Name'
bluetoothd[58]: src/main.c:parse_config() Key file does not have key 'Class'
bluetoothd[58]: src/main.c:parse_config() Key file does not have key 'DeviceID'
bluetoothd[58]: src/main.c:parse_config() Key file does not have key 'ReverseServiceDiscovery'
bluetoothd[58]: src/gatt.c:gatt_init() Starting GATT server
bluetoothd[58]: src/adapter.c:adapter_init() sending read version command
bluetoothd[58]: Starting SDP server
bluetoothd[58]: binding L2CAP socket: Address already in use
bluetoothd[58]: Server initialization failed
bluetoothd[58]: src/sdpd-service.c:register_device_id() Adding device id record for 0002:1d6b:0246:0517
bluetoothd[58]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[58]: src/plugin.c:add_plugin() Loading hostname plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading wiimote plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading autopair plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading policy plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading neard plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading sap plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading a2dp plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading avrcp plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading hog plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading health plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading gatt plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading scanparam plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading deviceinfo plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading alert plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading time plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading proximity plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading thermometer plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading heartrate plugin
bluetoothd[58]: src/plugin.c:add_plugin() Loading cyclingspeed plugin
bluetoothd[58]: src/plugin.c:plugin_init() Loading plugins /usr/lib/arm-linux-gnueabihf/bluetooth/plugins
bluetoothd[58]: profiles/health/hdp.c:hdp_manager_start() Starting Health manager
bluetoothd[58]: profiles/input/suspend-dummy.cConfuseduspend_init()
bluetoothd[58]: profiles/input/suspend-dummy.cConfuseduspend_init() Created suspend-dummy FIFO on /run/hogsuspend
bluetoothd[58]: profiles/network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity'
bluetoothd[58]: profiles/network/manager.c:read_config() Config options: Security=true
bluetoothd[58]: plugins/neard.c:neard_init() Setup neard plugin
bluetoothd[58]: src/main.c:main() Entering main loop
bluetoothd[58]: src/rfkill.c:rfkill_event() RFKILL event idx 0 type 1 op 0 soft 0 hard 0
bluetoothd[58]: Bluetooth management interface 1.14 initialized
bluetoothd[58]: src/adapter.c:read_version_complete() sending read supported commands command
bluetoothd[58]: src/adapter.c:read_version_complete() sending read index list command
bluetoothd[58]: src/rfkill.c:rfkill_event() RFKILL event idx 1 type 2 op 0 soft 0 hard 0
bluetoothd[58]: src/adapter.c:read_commands_complete() Number of commands: 65
bluetoothd[58]: src/adapter.c:read_commands_complete() Number of events: 35
bluetoothd[58]: src/adapter.c:read_commands_complete() enabling kernel-side connection control
bluetoothd[58]: src/adapter.c:read_index_list_complete() Number of controllers: 1
bluetoothd[58]: src/adapter.c:read_index_list_complete() Found index 0
bluetoothd[58]: src/adapter.c:index_added() index 0
bluetoothd[58]: src/adapter.c:btd_adapter_new() System name: BlueZ 5.23
bluetoothd[58]: src/adapter.c:btd_adapter_new() Major class: 0
bluetoothd[58]: src/adapter.c:btd_adapter_new() Minor class: 0
bluetoothd[58]: src/adapter.c:btd_adapter_new() Modalias: usb:v1D6Bp0246d0517
bluetoothd[58]: src/adapter.c:btd_adapter_new() Discoverable timeout: 180 seconds
bluetoothd[58]: src/adapter.c:btd_adapter_new() Pairable timeout: 0 seconds
bluetoothd[58]: src/adapter.c:index_added() sending read info command for index 0
bluetoothd[58]: src/adapter.c:read_info_complete() index 0 status 0x00
bluetoothd[58]: src/adapter.c:clear_uuids() sending clear uuids command for index 0
bluetoothd[58]: src/adapter.c:clear_devices() sending clear devices command for index 0
bluetoothd[58]: src/attrib-server.c:btd_adapter_gatt_server_start() Start GATT server in hci0
bluetoothd[58]: l2cap_bind: Address already in use (98)
bluetoothd[58]: profiles/audio/a2dp.c:media_server_probe() path /org/bluez/hci0
bluetoothd[58]: plugins/hostname.c:hostname_probe()
bluetoothd[58]: Not enough free handles to register service
bluetoothd[58]: Error adding Link Loss service
bluetoothd[58]: Not enough free handles to register service
bluetoothd[58]: Not enough free handles to register service
bluetoothd[58]: profiles/proximity/reporter.c:reporter_adapter_probe() Proximity Reporter for adapter 0x55eb2900
bluetoothd[58]: profiles/time/server.c:time_server_init() path /org/bluez/hci0
bluetoothd[58]: Not enough free handles to register service
bluetoothd[58]: Current Time Service could not be registered
bluetoothd[58]: gatt-time-server: Input/output error (5)
bluetoothd[58]: Not enough free handles to register service
bluetoothd[58]: Not enough free handles to register service
bluetoothd[58]: Failed to listen on control channel
bluetoothd[58]: input-hid: Operation not permitted (1)
bluetoothd[58]: profiles/network/manager.c:panu_server_probe() path /org/bluez/hci0
bluetoothd[58]: l2cap_bind: Address already in use (98)
bluetoothd[58]: network-panu: Invalid argument (22)
bluetoothd[58]: profiles/network/manager.c:gn_server_probe() path /org/bluez/hci0
bluetoothd[58]: l2cap_bind: Address already in use (98)
bluetoothd[58]: network-gn: Invalid argument (22)
bluetoothd[58]: profiles/network/manager.c:nap_server_probe() path /org/bluez/hci0
bluetoothd[58]: l2cap_bind: Address already in use (98)
bluetoothd[58]: network-nap: Invalid argument (22)
bluetoothd[58]: profiles/audio/avrcp.c:avrcp_controller_server_probe() path /org/bluez/hci0
bluetoothd[58]: l2cap_bind: Address already in use (98)
bluetoothd[58]: avrcp-controller: Protocol not supported (93)
bluetoothd[58]: profiles/audio/avrcp.c:avrcp_target_server_probe() path /org/bluez/hci0
bluetoothd[58]: l2cap_bind: Address already in use (98)
bluetoothd[58]: audio-avrcp-target: Protocol not supported (93)
bluetoothd[58]: profiles/audio/a2dp.c:a2dp_sink_server_probe() path /org/bluez/hci0
bluetoothd[58]: profiles/audio/a2dp.c:a2dp_source_server_probe() path /org/bluez/hci0
bluetoothd[58]: profiles/sap/manager.cConfusedap_server_probe() path /org/bluez/hci0
bluetoothd[58]: Sap driver initialization failed.
bluetoothd[58]: sap-server: Operation not permitted (1)
bluetoothd[58]: src/adapter.c:btd_adapter_unblock_address() hci0 00:00:00:00:00:00
bluetoothd[58]: src/adapter.c:load_link_keys() hci0 keys 0 debug_keys 0
bluetoothd[58]: src/adapter.c:load_ltks() hci0 keys 0
bluetoothd[58]: src/adapter.c:load_irks() hci0 irks 0
bluetoothd[58]: src/adapter.c:load_conn_params() hci0 conn params 0
bluetoothd[58]: src/adapter.c:adapter_service_insert() /org/bluez/hci0
bluetoothd[58]: src/adapter.c:add_uuid() sending add uuid command for index 0
bluetoothd[58]: src/adapter.cConfusedet_did() hci0 source 2 vendor 1d6b product 246 version 517
bluetoothd[58]: src/adapter.c:adapter_register() Adapter /org/bluez/hci0 registered
bluetoothd[58]: src/adapter.cConfusedet_dev_class() sending set device class command for index 0
bluetoothd[58]: src/adapter.cConfusedet_name() sending set local name command for index 0
bluetoothd[58]: src/adapter.c:load_link_keys_complete() link keys loaded for hci0
bluetoothd[58]: src/adapter.c:load_ltks_complete() LTKs loaded for hci0
bluetoothd[58]: src/adapter.c:load_irks_complete() IRKs loaded for hci0
bluetoothd[58]: src/adapter.c:load_conn_params_complete() Connection Parameters loaded for hci0
bluetoothd[58]: src/adapter.c:local_name_changed_callback() Name: BlueZ 5.23
bluetoothd[58]: src/adapter.c:local_name_changed_callback() Short name:
bluetoothd[58]: src/adapter.c:local_name_changed_callback() Current alias: BlueZ 5.23
bluetoothd[58]: plugins/hostname.c:property_changed() static hostname: NTB827EB0264F7
bluetoothd[58]: plugins/hostname.c:property_changed() pretty hostname:
bluetoothd[58]: plugins/hostname.c:update_name() name: NTB827EB0264F7
bluetoothd[58]: src/adapter.c:adapter_set_name() name: NTB827EB0264F7
bluetoothd[58]: src/adapter.c:adapter_set_name() alias: NTB827EB0264F7
bluetoothd[58]: src/adapter.cConfusedet_name() sending set local name command for index 0
bluetoothd[58]: plugins/hostname.c:property_changed() chassis:
bluetoothd[58]: src/adapter.c:local_name_changed_callback() Name: NTB827EB0264F7
bluetoothd[58]: src/adapter.c:local_name_changed_callback() Short name:
bluetoothd[58]: src/adapter.c:local_name_changed_callback() Current alias: NTB827EB0264F7

And in a second console this

root@NTB827EB0264F7:~# bluetoothctl
[NEW] Controller B8:27:EB:A8:CE:5D NTB827EB0264F7 [default]
[bluetooth]# power on
Changing power on succeeded
[CHG] Controller B8:27:EB:A8:CE:5D Powered: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:A8:CE:5D Discovering: yes
[NEW] Device 48:92Big Grin0:62:2C:A7 48-92-D0-62-2C-A7
[NEW] Device 00:1A:E8:2F:75:38 00-1A-E8-2F-75-38
[CHG] Device 00:1A:E8:2F:75:38 LegacyPairing: no
[CHG] Device 00:1A:E8:2F:75:38 Name: OpenStage 00:1A:E8:2F:75:38
[CHG] Device 00:1A:E8:2F:75:38 Alias: OpenStage 00:1A:E8:2F:75:38
[CHG] Device 48:92Big Grin0:62:2C:A7 RSSI: -83
[bluetooth]#

And I asked the development team. We have no bluetoothd daemon running.
rfkill list on the host delivers

0: phy0: wlan
Soft blocked: no
Hard blocked: no
1: hci0: bluetooth
Soft blocked: no
Hard blocked: no

and the command
lsof | grep ttyAMA0
delivers
780 /usr/bin/hciattach /dev/ttyAMA0

which is ok and creates the hci0 using the hciattach command




You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Answer - by Thomas - November-6th-2017, 03:22 PM
Answer - by Thomas - November-7th-2017, 08:44 AM
Answer - by Armin@netPI - November-7th-2017, 10:28 AM
Answer - by Thomas - November-7th-2017, 11:42 AM
Answer - by Armin@netPI - November-7th-2017, 12:42 PM
Answer - by Thomas - November-7th-2017, 12:49 PM
Answer - by Armin@netPI - November-7th-2017, 01:29 PM
Answer - by Thomas - November-7th-2017, 02:34 PM
Answer - by Armin@netPI - November-7th-2017, 03:24 PM
Answer - by Thomas - November-7th-2017, 03:53 PM
Answer - by Thomas - November-7th-2017, 03:54 PM
Answer - by Armin@netPI - November-7th-2017, 04:18 PM
Answer - by Armin@netPI - November-7th-2017, 04:23 PM
Answer - by Armin@netPI - November-7th-2017, 05:05 PM
Answer - by Armin@netPI - November-7th-2017, 07:00 PM
Answer - by Armin@netPI - November-8th-2017, 06:52 AM
Answer - by Thomas - November-8th-2017, 10:23 AM
Answer - by Armin@netPI - November-8th-2017, 01:11 PM
Answer - by Armin@netPI - November-8th-2017, 03:25 PM
Answer - by Armin@netPI - November-9th-2017, 08:13 AM
Answer - by Thomas - November-10th-2017, 08:25 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  BLE pairing problems with bluez 5.50 abmn 1 18 August-8th-2019, 08:51 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)