Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tx3 s905x3 openwrt 5.4.188 vfd只显示boot不显示时间 #231

Closed
13528943945 opened this issue Apr 11, 2022 · 11 comments
Closed

tx3 s905x3 openwrt 5.4.188 vfd只显示boot不显示时间 #231

13528943945 opened this issue Apr 11, 2022 · 11 comments

Comments

@13528943945
Copy link

如题。上传openvfd包到openwrt,解压,运行./startled.sh vfd/tx3.conf,提示vfdservice运行错误,没有文件或文件夹,日志如下
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.506016] OpenVFD: Version: V1.4.1
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.508015] OpenVFD: vfd_gpio_clk: Empty.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.509965] OpenVFD: vfd_gpio_dat: Empty.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.514187] OpenVFD: vfd_gpio_stb: Empty.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.518091] OpenVFD: vfd_gpio0: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.524224] OpenVFD: vfd_gpio1: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.530332] OpenVFD: vfd_gpio2: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.536459] OpenVFD: vfd_gpio3: #0 = 0x00; #1 = 0x00; #2 = 0xFF;
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.542582] OpenVFD: vfd_gpio_protocol: #0 = 0x00; #1 = 0x00;
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.548362] OpenVFD: vfd_chars: Empty.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.552155] OpenVFD: vfd_dot_bits: Empty.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.556207] OpenVFD: vfd_display_type: Empty.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.560525] OpenVFD: Detected gpio chips: aobus-banks, periphs-banks.
Tue Mar 15 09:28:36 2022 kern.alert kernel: [ 212.566902] OpenVFD: Failed to verify VFD configuration file, attempt using device tree as fallback.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.575961] OpenVFD: openvfd_gpio_clk pin entry not found
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.581306] OpenVFD: openvfd_gpio_dat pin entry not found
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.586655] OpenVFD: openvfd_gpio_stb pin entry not found
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.592004] OpenVFD: openvfd_gpio0 pin entry not found
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.597095] OpenVFD: openvfd_gpio1 pin entry not found
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.602179] OpenVFD: openvfd_gpio2 pin entry not found
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.607269] OpenVFD: openvfd_gpio3 pin entry not found
Tue Mar 15 09:28:36 2022 kern.alert kernel: [ 212.612389] OpenVFD: can't find openvfd_chars list, falling back to defaults.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.612392] OpenVFD: chars_prop = 0000000000000000
Tue Mar 15 09:28:36 2022 kern.alert kernel: [ 212.624169] OpenVFD: can't find openvfd_dot_bits list, falling back to defaults.
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.624172] OpenVFD: dot_bits_prop = 0000000000000000
Tue Mar 15 09:28:36 2022 kern.debug kernel: [ 212.636506] OpenVFD: display.type = 0, display.controller = 0, pdata->dev->dtb_active.display.flags = 0x00
Tue Mar 15 09:28:36 2022 kern.alert kernel: [ 212.646081] OpenVFD: can't request gpio of gpio_clk
Tue Mar 15 09:28:36 2022 kern.warn kernel: [ 212.646098] openvfd: probe of openvfd failed with error -22

@13528943945
Copy link
Author

Screenshot_20220411_142001_com huawei browser

@ophub
Copy link
Owner

ophub commented Apr 11, 2022

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-docs/led_screen_display_control.md

openwrt-led 17

如果你使用的是从我的github的releases里下载的固件,已经内置了,用法见说明。
如果是使用我的脚本自己打包的固件,须使用当前最新脚本进行打包,这个服务在几周前内置了,太早的脚本不包含这个服务。
看你的操作,你可能是按照F大的说明操作吧?我的固件已经内置了,不需要手动上传了,操作命令也不同。

@13528943945
Copy link
Author

是用官方源码openwrt21.02,结合你的yml云编译的。是否自定义的rootfs底包缺少了哪些模块?

@13528943945
Copy link
Author

用的是你之前的脚本,之前fork的,难道是脚本不够新?

@ophub
Copy link
Owner

ophub commented Apr 11, 2022

看了下你的仓库,你fork的时候还没这个服务。你需要同步下make这个文件。

@ophub
Copy link
Owner

ophub commented Apr 11, 2022

router-config

.github

你这2个目录里改的东西自己备份下。然后同步源码,再上传你的这个自定义修改文件。

@13528943945
Copy link
Author

多谢提醒!我再试下

@ophub
Copy link
Owner

ophub commented Apr 11, 2022

https://github.com/ophub/amlogic-s9xxx-openwrt/blob/1706004ce7267520a0d3bf9f1bf014d2c9ea1fb3/make#L202

主要是make这个文件改动比较多,你的仓库里的make还没下载openvfd的相关代码,这个文件一个多月来改动比较多,你需要整个同步下。

@13528943945
Copy link
Author

图片

@13528943945
Copy link
Author

13528943945 commented Apr 11, 2022

依然提示 open device failed。no such file or directory。是否系统需要安装相关组件,比如kmod-i2c-gpio ?

@ophub
Copy link
Owner

ophub commented Apr 12, 2022

问题己修复,同步今天的代码即可

@ophub ophub closed this as completed Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants