『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 717|回复: 0

[技术探讨] 请问armbian可以检测到蓝牙设备,却无法激活什么原因?

[复制链接]

1

主题

3

帖子

30

积分

新手上路

Rank: 1

积分
30
金钱
27
HASS币
0
发表于 2023-2-16 11:18:30 | 显示全部楼层 |阅读模式
蓝牙芯片:MT7668RSN 1840-BZAAL CET11168已安装Armbian_23.02.0_amlogic_s905l2_jammy_5.15.92_server_2023.02.12.img
目前除了蓝牙其他一切正常
蓝牙无法使用
命令:hciconfig
结果如下:
hci0:   Type: Primary  Bus: SDIO
        BD Address: 13:8C:14:60:08:8C  ACL MTU: 1021:8  SCO MTU: 244:4
        DOWN
        RX bytes:9216 acl:0 sco:0 events:731 errors:0
        TX bytes:180584 acl:0 sco:0 commands:732 errors:0

命令:systemctl status bluetooth.service
结果如下:
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-02-16 01:17:10 CST; 9h ago
       Docs: man:bluetoothd(8)
   Main PID: 959 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 633)
     Memory: 1.3M
        CPU: 319ms
     CGroup: /system.slice/bluetooth.service
             └─959 /usr/lib/bluetooth/bluetoothd

Feb 16 01:17:09 armbian systemd[1]: Starting Bluetooth service...
Feb 16 01:17:10 armbian bluetoothd[959]: Bluetooth daemon 5.64
Feb 16 01:17:10 armbian systemd[1]: Started Bluetooth service.
Feb 16 01:17:10 armbian bluetoothd[959]: Starting SDP server
Feb 16 01:17:11 armbian bluetoothd[959]: Bluetooth management interface 1.21 initialized

命令: hciconfig hci0 up
结果如下:
Can't init device hci0: Input/output error (5)

--------------
蓝牙蓝牙也能看见,mac也显示正常;就是不能激活蓝牙使用
已经装过pulseaudio组件;
命令:sudo killall pulseaudio 无返回结果
命令:pulseaudio --start
返回结果:W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
切换到普通用户命令pulseaudio --start返回结果如下:
E: [autospawn] core-util.c: XDG_RUNTIME_DIR (/run/user/0) is not owned by us (uid 1000), but by uid 0! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
E: [pulseaudio] main.c: Failed to acquire autospawn lock

请问哪位大神有解决方案么?
homeassistant中蓝牙也可以添加上
ha 蓝牙.jpg
就是不能用
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-29 09:59 , Processed in 0.102145 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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