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

 找回密码
 立即注册
楼主: XCray

[已解决] M401A/311-1a盒子Armbian系统中蓝牙基本完美,reboot/音乐问题搞定

  [复制链接]

0

主题

4

帖子

114

积分

注册会员

Rank: 2

积分
114
金钱
110
HASS币
0
发表于 2022-10-20 08:26:53 | 显示全部楼层
XCray 发表于 2022-10-19 16:15
影响使用吗?不影响的话就不用管它,看着好像文件权限的问题,你ls -l /var/lib看看? ...

好的,感谢,我都安装好先试一下,看到报错没敢直接写入emmc
回复

使用道具 举报

3

主题

71

帖子

982

积分

高级会员

Rank: 4

积分
982
金钱
911
HASS币
0
发表于 2022-10-21 11:58:40 | 显示全部楼层
X大麻烦帮我看看,我安装蓝牙后,2m和4m的rtl8761b_config可以听音乐,但是关闭蓝牙音箱后,过一段时间(几个小时)在连接就会瞬间断开(只要reboot就好了)。
以下是日志。

这个日志里的hassio_dns是什么东东,开机就一直报错。。。。

Oct 21 11:40:52 armbian hassio_dns[1473]: [INFO] 127.0.0.1:54466 - 20800 "NS IN . udp 17 false 512" NOERROR - 0 30.000441662s
Oct 21 11:40:52 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:40:53 armbian addon_a0d7b954_tailscale[1473]: 2022/10/21 11:40:53 Accept: ICMPv4{100.73.61.97:0 > 100.120.234.122:0} 60 icmp ok
Oct 21 11:40:54 armbian hassio_dns[1473]: [INFO] 127.0.0.1:46553 - 61654 "NS IN . udp 17 false 512" NOERROR - 0 30.000616326s
Oct 21 11:40:54 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:40:55 armbian hassio_dns[1473]: [INFO] 127.0.0.1:32857 - 17671 "NS IN . udp 17 false 512" NOERROR - 0 30.000597785s
Oct 21 11:40:55 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:40:57 armbian hassio_dns[1473]: [INFO] 127.0.0.1:55806 - 18376 "NS IN . udp 17 false 512" NOERROR - 0 30.000641243s
Oct 21 11:40:57 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:40:58 armbian hassio_dns[1473]: [INFO] 127.0.0.1:53981 - 56924 "NS IN . udp 17 false 512" NOERROR - 0 30.000570619s
Oct 21 11:40:58 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:00 armbian hassio_dns[1473]: [INFO] 127.0.0.1:57598 - 47498 "NS IN . udp 17 false 512" NOERROR - 0 30.000612951s
Oct 21 11:41:00 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:01 armbian hassio_dns[1473]: [INFO] 127.0.0.1:54749 - 26328 "NS IN . udp 17 false 512" NOERROR - 0 30.00054166s
Oct 21 11:41:01 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:03 armbian hassio_dns[1473]: [INFO] 127.0.0.1:52500 - 24441 "NS IN . udp 17 false 512" NOERROR - 0 30.000586244s
Oct 21 11:41:03 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:03 armbian addon_a0d7b954_tailscale[1473]: 2022/10/21 11:41:03 Accept: ICMPv4{100.73.61.97:0 > 100.120.234.122:0} 60 icmp ok
Oct 21 11:41:04 armbian hassio_dns[1473]: [INFO] 127.0.0.1:54034 - 15268 "NS IN . udp 17 false 512" NOERROR - 0 30.000587994s
Oct 21 11:41:04 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:06 armbian hassio_dns[1473]: [INFO] 127.0.0.1:35581 - 50417 "NS IN . udp 17 false 512" NOERROR - 0 30.000535202s
Oct 21 11:41:06 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:07 armbian hassio_dns[1473]: [INFO] 127.0.0.1:42674 - 10247 "NS IN . udp 17 false 512" NOERROR - 0 30.000544411s
Oct 21 11:41:07 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:09 armbian hassio_dns[1473]: [INFO] 127.0.0.1:41002 - 30488 "NS IN . udp 17 false 512" NOERROR - 0 30.000538869s
Oct 21 11:41:09 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:10 armbian addon_core_vlc[1473]: [0000007fbbed7a30] vlcpulse audio output error: stream connection failure: Timeout
Oct 21 11:41:10 armbian addon_core_vlc[1473]: [0000007fbbed7a30] main audio output error: module not functional
Oct 21 11:41:10 armbian addon_core_vlc[1473]: [0000007fb7407750] main decoder error: failed to create audio output
Oct 21 11:41:10 armbian hassio_dns[1473]: [INFO] 127.0.0.1:51477 - 4643 "NS IN . udp 17 false 512" NOERROR - 0 30.000895739s
Oct 21 11:41:10 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:12 armbian hassio_dns[1473]: [INFO] 127.0.0.1:37179 - 7422 "NS IN . udp 17 false 512" NOERROR - 0 30.000618284s
Oct 21 11:41:12 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:13 armbian addon_a0d7b954_tailscale[1473]: 2022/10/21 11:41:13 Accept: ICMPv4{100.73.61.97:0 > 100.120.234.122:0} 60 icmp ok
Oct 21 11:41:13 armbian hassio_dns[1473]: [INFO] 127.0.0.1:58998 - 791 "NS IN . udp 17 false 512" NOERROR - 0 30.000617201s
Oct 21 11:41:13 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:15 armbian hassio_dns[1473]: [INFO] 127.0.0.1:46613 - 10022 "NS IN . udp 17 false 512" NOERROR - 0 30.000595993s
Oct 21 11:41:15 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:16 armbian hassio_dns[1473]: [INFO] 127.0.0.1:33390 - 16197 "NS IN . udp 17 false 512" NOERROR - 0 30.00061241s
Oct 21 11:41:16 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:18 armbian hassio_dns[1473]: [INFO] 127.0.0.1:49155 - 32696 "NS IN . udp 17 false 512" NOERROR - 0 30.000552827s
Oct 21 11:41:18 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:19 armbian hassio_dns[1473]: [INFO] 127.0.0.1:37585 - 45025 "NS IN . udp 17 false 512" NOERROR - 0 30.000523411s
Oct 21 11:41:19 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:21 armbian hassio_dns[1473]: [INFO] 127.0.0.1:52114 - 44997 "NS IN . udp 17 false 512" NOERROR - 0 30.000561661s
Oct 21 11:41:21 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:22 armbian hassio_dns[1473]: [INFO] 127.0.0.1:39421 - 38325 "NS IN . udp 17 false 512" NOERROR - 0 30.000570202s
Oct 21 11:41:22 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:23 armbian addon_a0d7b954_tailscale[1473]: 2022/10/21 11:41:23 Accept: ICMPv4{100.73.61.97:0 > 100.120.234.122:0} 60 icmp ok
Oct 21 11:41:24 armbian hassio_dns[1473]: [INFO] 127.0.0.1:56190 - 34983 "NS IN . udp 17 false 512" NOERROR - 0 30.000541245s
Oct 21 11:41:24 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:25 armbian hassio_dns[1473]: [INFO] 127.0.0.1:35772 - 53483 "NS IN . udp 17 false 512" NOERROR - 0 30.00057966s
Oct 21 11:41:25 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:27 armbian hassio_dns[1473]: [INFO] 127.0.0.1:55871 - 35701 "NS IN . udp 17 false 512" NOERROR - 0 30.000629827s
Oct 21 11:41:27 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:28 armbian hassio_dns[1473]: [INFO] 127.0.0.1:33394 - 5938 "NS IN . udp 17 false 512" NOERROR - 0 30.000617577s
Oct 21 11:41:28 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:30 armbian hassio_dns[1473]: [INFO] 127.0.0.1:33395 - 47005 "NS IN . udp 17 false 512" NOERROR - 0 30.000559327s
Oct 21 11:41:30 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:31 armbian hassio_dns[1473]: [INFO] 127.0.0.1:52297 - 59595 "NS IN . udp 17 false 512" NOERROR - 0 30.000556077s
Oct 21 11:41:31 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:33 armbian addon_a0d7b954_tailscale[1473]: 2022/10/21 11:41:33 Accept: ICMPv4{100.73.61.97:0 > 100.120.234.122:0} 60 icmp ok
Oct 21 11:41:33 armbian hassio_dns[1473]: [INFO] 127.0.0.1:59423 - 61955 "NS IN . udp 17 false 512" NOERROR - 0 30.000539244s
Oct 21 11:41:33 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:34 armbian hassio_dns[1473]: [INFO] 127.0.0.1:55240 - 50150 "NS IN . udp 17 false 512" NOERROR - 0 30.000579369s
Oct 21 11:41:34 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:36 armbian hassio_dns[1473]: [INFO] 127.0.0.1:57480 - 34084 "NS IN . udp 17 false 512" NOERROR - 0 30.000637659s
Oct 21 11:41:36 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:37 armbian hassio_dns[1473]: [INFO] 127.0.0.1:45026 - 4893 "NS IN . udp 17 false 512" NOERROR - 0 30.000572493s
Oct 21 11:41:37 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:39 armbian hassio_dns[1473]: [INFO] 127.0.0.1:40016 - 52168 "NS IN . udp 17 false 512" NOERROR - 0 30.000645909s
Oct 21 11:41:39 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:40 armbian addon_core_vlc[1473]: [0000007fbbed7a30] vlcpulse audio output error: stream connection failure: Timeout
Oct 21 11:41:40 armbian addon_core_vlc[1473]: [0000007fbbed7a30] main audio output error: module not functional
Oct 21 11:41:40 armbian addon_core_vlc[1473]: [0000007fb7407750] main decoder error: failed to create audio output
Oct 21 11:41:40 armbian hassio_dns[1473]: [INFO] 127.0.0.1:42409 - 25905 "NS IN . udp 17 false 512" NOERROR - 0 30.000588868s
Oct 21 11:41:40 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:42 armbian hassio_dns[1473]: [INFO] 127.0.0.1:54314 - 21752 "NS IN . udp 17 false 512" NOERROR - 0 30.000522744s
Oct 21 11:41:42 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:43 armbian addon_a0d7b954_tailscale[1473]: 2022/10/21 11:41:43 Accept: ICMPv4{100.73.61.97:0 > 100.120.234.122:0} 60 icmp ok
Oct 21 11:41:43 armbian hassio_dns[1473]: [INFO] 127.0.0.1:55729 - 30475 "NS IN . udp 17 false 512" NOERROR - 0 30.000542411s
Oct 21 11:41:43 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:45 armbian hassio_dns[1473]: [INFO] 127.0.0.1:39986 - 48391 "NS IN . udp 17 false 512" NOERROR - 0 30.000564327s
Oct 21 11:41:45 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:46 armbian hassio_dns[1473]: [INFO] 127.0.0.1:49976 - 10187 "NS IN . udp 17 false 512" NOERROR - 0 30.000623659s
Oct 21 11:41:46 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:47 armbian bluetoothd[1865]: profiles/audio/media.c:endpoint_reply() Endpoint replied with an error: org.freedesktop.DBus.Error.NoReply
Oct 21 11:41:48 armbian hassio_dns[1473]: [INFO] 127.0.0.1:33767 - 52954 "NS IN . udp 17 false 512" NOERROR - 0 30.000572785s
Oct 21 11:41:48 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:49 armbian hassio_dns[1473]: [INFO] 127.0.0.1:50403 - 26855 "NS IN . udp 17 false 512" NOERROR - 0 30.000579993s
Oct 21 11:41:49 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:51 armbian hassio_dns[1473]: [INFO] 127.0.0.1:54577 - 30309 "NS IN . udp 17 false 512" NOERROR - 0 30.000606077s
Oct 21 11:41:51 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:52 armbian hassio_dns[1473]: [INFO] 127.0.0.1:54498 - 42302 "NS IN . udp 17 false 512" NOERROR - 0 30.000551328s
Oct 21 11:41:52 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
Oct 21 11:41:53 armbian addon_a0d7b954_tailscale[1473]: 2022/10/21 11:41:53 Accept: ICMPv4{100.73.61.97:0 > 100.120.234.122:0} 60 icmp ok
Oct 21 11:41:54 armbian hassio_dns[1473]: [INFO] 127.0.0.1:34501 - 60294 "NS IN . udp 17 false 512" NOERROR - 0 30.000539578s
Oct 21 11:41:54 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
Oct 21 11:41:55 armbian hassio_dns[1473]: [INFO] 127.0.0.1:54365 - 22821 "NS IN . udp 17 false 512" NOERROR - 0 30.000573618s
Oct 21 11:41:55 armbian hassio_dns[1473]: [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
回复

使用道具 举报

98

主题

2866

帖子

1万

积分

超级版主

智能家居&单板滑雪痴迷爱好者

Rank: 8Rank: 8

积分
11445
金钱
8514
HASS币
460

教程狂人突出贡献

 楼主| 发表于 2022-10-21 16:04:31 | 显示全部楼层
zheng1112 发表于 2022-10-21 11:58
X大麻烦帮我看看,我安装蓝牙后,2m和4m的rtl8761b_config可以听音乐,但是关闭蓝牙音箱后,过一段时间(几 ...

2m/4m等能听音乐的速率确实不太稳定,这种问题,搞不清哪儿的bug,重启确实是个好办法。
回复

使用道具 举报

3

主题

71

帖子

982

积分

高级会员

Rank: 4

积分
982
金钱
911
HASS币
0
发表于 2022-10-23 21:29:23 | 显示全部楼层
XCray 发表于 2022-10-21 16:04
2m/4m等能听音乐的速率确实不太稳定,这种问题,搞不清哪儿的bug,重启确实是个好办法。 ...

多谢回复,我先暂时放弃401这个蓝牙,我现在用小米pad的蓝牙通过用网页播放音乐,就是不好控制。。。
回复

使用道具 举报

0

主题

9

帖子

153

积分

注册会员

Rank: 2

积分
153
金钱
144
HASS币
0
发表于 2022-10-27 20:58:48 | 显示全部楼层
感谢楼主分享,一开始我还以为这个蓝牙能够开箱即用,`hcitool dev` 列不出设备才发现问题并不简单。

现在按你的教程成功连上蓝牙,弄了个systemd的服务运行 `rtk_hciattach` 并在 `ExecStartPre` 和 `ExecStopPost` 时对那个gpio置高/低,正常重启也能自动连上了。

我想知道的是帖子开头提到的坛友发现的那个能够自动调整波特率的配置文件可以在哪找到,或者是否已经包含在某个附件中了?
回复

使用道具 举报

98

主题

2866

帖子

1万

积分

超级版主

智能家居&单板滑雪痴迷爱好者

Rank: 8Rank: 8

积分
11445
金钱
8514
HASS币
460

教程狂人突出贡献

 楼主| 发表于 2022-10-27 21:24:22 | 显示全部楼层
YanceyChiew 发表于 2022-10-27 20:58
感谢楼主分享,一开始我还以为这个蓝牙能够开箱即用,`hcitool dev` 列不出设备才发现问题并不简单。

现在 ...

没有“自动调整波特率”的说法。

config文件的最重要内容是指定波特率,在rtk_hciattach完成初始化后会根据config文件的内容更改波特率,文件中说的是多少就调整为多少。

“弄了个systemd的服务运行......”欢迎整理成教程分享出来,比rc.local的方式更科学合理。
回复

使用道具 举报

0

主题

9

帖子

153

积分

注册会员

Rank: 2

积分
153
金钱
144
HASS币
0
发表于 2022-10-28 08:38:40 | 显示全部楼层
本帖最后由 YanceyChiew 于 2022-10-28 08:42 编辑
XCray 发表于 2022-10-27 21:24
没有“自动调整波特率”的说法。

config文件的最重要内容是指定波特率,在rtk_hciattach完成初始化后会 ...

好吧,之前看到说“已经有坛友找到了可以顺畅下载并且波特率会自动调整为2M的config”,原来是指自动从配置文件中应用2M的速率,我还以为是能够根据需求最高可以自动升到2M。
(打了个emoji,结果帖子就断这里了,幸好后退回去还能复制到编辑区的内容)


我试了下,如果删除配置文件,波特率应该是可以直接在命令中指定,不过硬件流控无法通过命令打开,会忽略参数始终disable,所以还是得靠配置文件,而用了配置文件就会忽略手动指定的波特率。。。另外,直接在终端中手动执行命令rtk_hciattach时不指定 -n 参数,就无需让它后台运行了,它会自动从终端detach,这样也避免处理SIGHUP这些问题。


因为只写了个service文件,我直接贴这里:

# /etc/systemd/system/rtk_bluez.service
[Unit]
Description=rtk uart bluetooth device init
StartLimitIntervalSec=10s
DefaultDependencies=no
After=systemd-udevd.service
Conflicts=shutdown.target
Before=shutdown.target

[Service]
ExecStartPre=/usr/bin/env gpioset 0 82=1
ExecStart=/opt/tools/rtk_hciattach -n ttyAML1 rtk_h5
ExecStopPost=/usr/bin/env gpioset 0 82=0

Restart=on-failure
StartLimitBurst=3
RestartSec=2s
TimeoutSec=15s
KillMode=process

[Install]
WantedBy=sysinit.target

虽然写了失败后重启,但是开机自启时一般不会失败,除非是在开机后有蓝牙设备已经连接时手动重启这个服务会有小概率失败。我开始担心直接重启时gpio置低时间不足一秒会有负面影响,试了几次后发现没问题,这样就不用在开机或关机时多sleep一秒了。

评分

参与人数 1金钱 +20 收起 理由
XCray + 20 赠人玫瑰,手留余香!

查看全部评分

回复

使用道具 举报

98

主题

2866

帖子

1万

积分

超级版主

智能家居&单板滑雪痴迷爱好者

Rank: 8Rank: 8

积分
11445
金钱
8514
HASS币
460

教程狂人突出贡献

 楼主| 发表于 2022-10-29 10:57:44 | 显示全部楼层
YanceyChiew 发表于 2022-10-28 08:38
好吧,之前看到说“已经有坛友找到了可以顺畅下载并且波特率会自动调整为2M的config”,原来是指自动从配 ...

学习了,好用!

不过我试了一下,只要ExecStopPost也行
回复

使用道具 举报

0

主题

9

帖子

153

积分

注册会员

Rank: 2

积分
153
金钱
144
HASS币
0
发表于 2022-10-30 14:27:49 | 显示全部楼层
XCray 发表于 2022-10-29 10:57
学习了,好用!

不过我试了一下,只要ExecStopPost也行

嗯,不要ExecStartPre也行,重启后那个gpio应该会自动置高,这样写只是为了以防万一用户需要在系统运行时手动单独重启或者停止后再按需手动运行这个服务。
回复

使用道具 举报

2

主题

24

帖子

222

积分

中级会员

Rank: 3Rank: 3

积分
222
金钱
198
HASS币
0
发表于 2022-10-30 18:08:10 来自手机 | 显示全部楼层
用的是Armbian_22.08.0_Aml_s905l3a_bullseye_5.4.207镜像。这个镜像你可以给个下载地址吗?。之前用的很好。电脑硬盘我格式化了。现在系统没备份。刷新的不行。20的系统太久了
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-28 08:57 , Processed in 0.829220 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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