找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3860|回复: 14

[N1盒子] N1盒子刷EMUELEC无法连接蓝牙手柄,求助大神们指点

[复制链接]
错误提示如下:

Failed to connect: org.bluez.Error.Failed



bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
   Active: active (running) since Sun 2020-01-12 14:24:07 CST; 2 days ago
Main PID: 14552 (bluetoothd)
   Status: "Running"
   Memory: 444.0K
   CGroup: /system.slice/bluetooth.service
           └─14552 /usr/lib/bluetooth/bluetoothd

Jan 12 23:42:12 CoreELEC bluetoothd[14552]: sdp_service_search_attr_async: Error sending data:Transport endpoint is not connected
Jan 12 23:42:12 CoreELEC bluetoothd[14552]: **:**:**:**:**:**:**: error updating services: Input/output error (5)
Jan 12 23:42:31 CoreELEC bluetoothd[14552]: sdp_service_search_attr_async: Error sending data:Transport endpoint is not connected
Jan 12 23:42:31 CoreELEC bluetoothd[14552]: **:**:**:**:**:**:**: error updating services: Input/output error (5)
Jan 14 20:37:03 CoreELEC bluetoothd[14552]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSource
Jan 14 20:37:03 CoreELEC bluetoothd[14552]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSink
● bluetooth.service - Bluetooth service
-- Logs begin at Sun 2020-01-12 10:03:15 CST, end at Tue 2020-01-14 20:54:28 CST. --
Jan 14 20:37:03 CoreELEC bluetoothd[14552]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSink
Jan 14 20:37:08 CoreELEC kernel: aml_spdif_dai: aiu 958 playback disable
Jan 14 20:37:24 CoreELEC connmand[2682]: ntp: adjust (slew): -0.005343 sec
Jan 14 20:45:58 CoreELEC bluetoothd[14552]: sdp_service_search_attr_async: Error sending data:Transport endpoint is not connected
Jan 14 20:45:58 CoreELEC bluetoothd[14552]: **:**:**:**:**:**:**: error updating services: Input/output error (5)
Jan 14 20:46:52 CoreELEC bluetoothd[14552]: **:**:**:**:**:**:**: error updating services: Connection timed out (110)
Jan 14 20:47:44 CoreELEC bluetoothd[14552]: **:**:**:**:**:**:**: error updating services: Operation already in progress (114)
Jan 14 20:53:39 CoreELEC pulseaudio[3853]: Module "module-bluetooth-discover" should be loaded once at most. Refusing to load.
Jan 14 20:53:59 CoreELEC bluetoothd[14552]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSource
Jan 14 20:53:59 CoreELEC bluetoothd[14552]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSink
Jan 14 20:53:59 CoreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2, same source mode(0)
Jan 14 20:53:59 CoreELEC kernel: aml_spdif_dai: set normal 512 fs /4 fs
Jan 14 20:53:59 CoreELEC kernel: aml_audio_hw: IEC958 16bit
Jan 14 20:53:59 CoreELEC kernel: hdmitx: audio: aout notify rate 44100
Jan 14 20:53:59 CoreELEC kernel: hdmitx: audio: aout notify size 16
Jan 14 20:53:59 CoreELEC kernel: hdmitx: audio: no update
Jan 14 20:53:59 CoreELEC kernel: aml_spdif_dai: aiu 958 playback enable
Jan 14 20:53:59 CoreELEC kernel: aml_audio_hw: i2sin_fifo0_set_buf
Jan 14 20:53:59 CoreELEC kernel: aml_spdif_dai: aiu 958 playback disable
Jan 14 20:54:28 CoreELEC connmand[2682]: ntp: adjust (slew): -0.013615 sec
我的恩山、我的无线 The best wifi forum is right here.
  1. touch /storage/.cache/services/bluez.conf
  2. systemctl enable bluetooth
  3. systemctl start bluetooth
  4. systemctl status bluetooth

  5. bluetoothctl
  6. agent on
  7. default-agent
  8. power on
  9. discoverable on
  10. pairable on
  11. scan on

  12. trust AC:FD:93:CB:3E:BE
  13. pair AC:FD:93:CB:3E:BE
  14. connect AC:FD:93:CB:3E:BE
复制代码


地址自己替换
如果之前连过一般先remove,然后再操作
scan后可以先connect成功后再pair和trust
这是国外发的整个过程,按系统情况可以省略前面第一部分
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

补充,看你的log应该是laka里面蓝牙都没有打开,先打完整代码看能否搜索到蓝牙手柄,添加完后记得回去laka处打开蓝牙
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
waitingyyy 发表于 2020-1-15 03:51
补充,看你的log应该是laka里面蓝牙都没有打开,先打完整代码看能否搜索到蓝牙手柄,添加完后记得回去laka ...

蓝牙是打开状态的,scan on后可以查询到蓝牙手柄,确认过设备MAC地址无误,trust和pair都成功,就是到最后连接出错

点评

先不要trust和pair,直接先connect,如果connect不到,trust和pair可以有卵用。最后不行就去删除storage下的蓝牙文件夹,然后重启系统再重新匹配  详情 回复 发表于 2020-1-15 13:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

darkeva 发表于 2020-1-15 13:19
蓝牙是打开状态的,scan on后可以查询到蓝牙手柄,确认过设备MAC地址无误,trust和pair都成功,就是到最 ...

先不要trust和pair,直接先connect,如果connect不到,trust和pair可以有卵用。最后不行就去删除storage下的蓝牙文件夹,然后重启系统再重新匹配
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
waitingyyy 发表于 2020-1-15 13:56
先不要trust和pair,直接先connect,如果connect不到,trust和pair可以有卵用。最后不行就去删除storage ...

可能是手柄的问题,微软的Xbox手柄貌似有音频功能,换一个没有音频功能的手柄就成功了……

点评

……记忆中所有论坛都说Xbox只有一支旧手柄是无法连上的  详情 回复 发表于 2020-1-16 12:21
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

请问重新启动会自动连接手柄吗?

点评

连上后当然会自动再连,除非你emuelec版本很低  详情 回复 发表于 2020-1-16 12:22
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

darkeva 发表于 2020-1-16 10:08
可能是手柄的问题,微软的Xbox手柄貌似有音频功能,换一个没有音频功能的手柄就成功了……

……记忆中所有论坛都说Xbox只有一支旧手柄是无法连上的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

iefgsks 发表于 2020-1-16 10:35
请问重新启动会自动连接手柄吗?

连上后当然会自动再连,除非你emuelec版本很低

点评

我的手柄很奇怪,重启系统后不会自动连接,一定要在ssh里Bluetoothctl 先连接一次。之后只要不重启,手柄休眠在开机也会自动连接。也修改过custom_start.sh这个脚本,开机启动也没用,之后用ssh上去直接执行脚本。也  详情 回复 发表于 2020-1-16 13:14
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

waitingyyy 发表于 2020-1-16 12:22
连上后当然会自动再连,除非你emuelec版本很低

我的手柄很奇怪,重启系统后不会自动连接,一定要在ssh里Bluetoothctl 先连接一次。之后只要不重启,手柄休眠在开机也会自动连接。也修改过custom_start.sh这个脚本,开机启动也没用,之后用ssh上去直接执行脚本。也能连接手柄。
我用的3.3最新版本

点评

非正常关机都会出这种情况,我也不知道为啥,刚开始我也跟你一样,后来发现重点,宁愿用电脑或手机打命令重启系统都不敢拔电源  详情 回复 发表于 2020-1-16 19:26
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
iefgsks 发表于 2020-1-16 10:35
请问重新启动会自动连接手柄吗?

不重启都连接不上……
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
waitingyyy 发表于 2020-1-16 12:21
……记忆中所有论坛都说Xbox只有一支旧手柄是无法连上的

是Xbox one的手柄,不算旧了

点评

不是新旧问题,是微软太不按正路出产品  详情 回复 发表于 2020-1-16 19:24
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

darkeva 发表于 2020-1-16 15:40
是Xbox one的手柄,不算旧了

不是新旧问题,是微软太不按正路出产品
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

iefgsks 发表于 2020-1-16 13:14
我的手柄很奇怪,重启系统后不会自动连接,一定要在ssh里Bluetoothctl 先连接一次。之后只要不重启,手柄 ...

非正常关机都会出这种情况,我也不知道为啥,刚开始我也跟你一样,后来发现重点,宁愿用电脑或手机打命令重启系统都不敢拔电源

点评

昨天晚上竟然重启自动连上了一次,后来又不行了。真是捉摸不透。还是买个2.4g的手柄省心。  详情 回复 发表于 2020-1-17 08:51
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

waitingyyy 发表于 2020-1-16 19:26
非正常关机都会出这种情况,我也不知道为啥,刚开始我也跟你一样,后来发现重点,宁愿用电脑或手机打命令 ...

昨天晚上竟然重启自动连上了一次,后来又不行了。真是捉摸不透。还是买个2.4g的手柄省心。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 18:37

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表