Aris
2020-09-08 22:56 deepin
https://bbs.deepin.org/post/201170
似乎报错并没有产生日志呢。
------------
sudo journalctl -f /usr/lib/bluetooth/bluetoothd
你这个日志不全
从日志可以看出 pulse audio往bluez注册了source sink两个服务
用于音频传输和控制
ExecStart=/usr/lib/bluetooth/bluetoothd
后面有没有加 -d
加完之后
systemctl daemon-reload
systemctl restart bluetooth.service
然后连接你的鼠标
连接失败以后
sudo journalctl /usr/lib/bluetooth/bluetoothd -b 0
完整版日志如下
➜ ~ sudo journalctl /usr/lib/bluetooth/bluetoothd -b 0
-- Logs begin at Fri 2020-08-28 09:46:18 CST, end at Tue 2020-09-08 14:40:08 CST. --
9月 08 14:40:00 aris bluetoothd[2133]: Bluetooth daemon 5.50
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() parsing /etc/bluetooth/main.conf
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() Key file does not have key “DiscoverableTimeout” in group “Gen
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() Key file does not have key “PairableTimeout” in group “General
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() Key file does not have key “Privacy” in group “General”
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() Key file does not have key “Name” in group “General”
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() Key file does not have key “Class” in group “General”
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() Key file does not have key “DeviceID” in group “General”
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() Key file does not have key “ReverseServiceDiscovery” in group
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:parse_config() Key file does not have key “MinEncKeySize” in group “GATT”
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:adapter_init() sending read version command
9月 08 14:40:00 aris bluetoothd[2133]: Starting SDP server
9月 08 14:40:00 aris bluetoothd[2133]: src/sdpd-service.c:register_device_id() Adding device id record for 0002:1d6b:0246:0532
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:plugin_init() Loading builtin plugins
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading hostname plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading wiimote plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading autopair plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading policy plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading neard plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading sap plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading a2dp plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading avrcp plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading network plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading input plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading hog plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading health plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading gap plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading scanparam plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading deviceinfo plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading midi plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading battery plugin
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:plugin_init() Loading plugins /usr/lib/x86_64-linux-gnu/bluetooth/plugins
9月 08 14:40:00 aris bluetoothd[2133]: src/plugin.c:add_plugin() Loading sixaxis plugin
9月 08 14:40:00 aris bluetoothd[2133]: profiles/health/hdp.c:hdp_manager_start() Starting Health manager
9月 08 14:40:00 aris bluetoothd[2133]: profiles/input/suspend-none.c:suspend_init()
9月 08 14:40:00 aris bluetoothd[2133]: profiles/network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not
9月 08 14:40:00 aris bluetoothd[2133]: profiles/network/manager.c:read_config() Config options: Security=true
9月 08 14:40:00 aris bluetoothd[2133]: plugins/neard.c:neard_init() Setup neard plugin
9月 08 14:40:00 aris bluetoothd[2133]: plugins/hostname.c:read_dmi_fallback() chassis: desktop
9月 08 14:40:00 aris bluetoothd[2133]: plugins/hostname.c:read_dmi_fallback() major: 0x01 minor: 0x01
9月 08 14:40:00 aris bluetoothd[2133]: plugins/sixaxis.c:sixaxis_init()
9月 08 14:40:00 aris bluetoothd[2133]: src/main.c:main() Entering main loop
9月 08 14:40:00 aris bluetoothd[2133]: src/rfkill.c:rfkill_event() RFKILL event idx 0 type 2 op 0 soft 0 hard 0
9月 08 14:40:00 aris bluetoothd[2133]: Bluetooth management interface 1.14 initialized
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:read_version_complete() sending read supported commands command
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:read_version_complete() sending read index list command
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:read_commands_complete() Number of commands: 65
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:read_commands_complete() Number of events: 35
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:read_commands_complete() enabling kernel-side connection control
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:read_index_list_complete() Number of controllers: 1
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:read_index_list_complete() Found index 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:index_added() index 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:btd_adapter_new() System name: BlueZ 5.50
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:btd_adapter_new() Major class: 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:btd_adapter_new() Minor class: 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:btd_adapter_new() Modalias: usb:v1D6Bp0246d0532
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:btd_adapter_new() Discoverable timeout: 180 seconds
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:btd_adapter_new() Pairable timeout: 0 seconds
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:index_added() sending read info command for index 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:read_info_complete() index 0 status 0x00
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:clear_uuids() sending clear uuids command for index 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:clear_devices() sending clear devices command for index 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:set_mode() sending set mode command for index 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:set_mode() sending set mode command for index 0
9月 08 14:40:00 aris bluetoothd[2133]: src/adapter.c:set_mode() sending set mode command for index 0
... ...
Reply Like 0 View the author