View English description | 查看中文说明 | 日本語の説明を確認する
-
The configuration files are located in the /usr/share/openvfd directory of the
Armbian/OpenWrtsystem. TheArmbiancommand file is at /usr/sbin/armbian-openvfd, and theOpenWrtcommand file is at /usr/sbin/openwrt-openvfd. If these files are not present in your system, upload them manually and assign execution permissions:chmod +x /usr/share/openvfd/vfdservice /usr/sbin/*-openvfd. -
Update the system kernel to the latest version. For the
Armbiansystem, use thearmbian-synccommand. For theOpenWrtsystem, navigate toSystem Menu→Amlogic Service→Online Download Update. -
The following devices have been tested:
x96max.conf,x96maxplus.conf,h96max-x3.conf,hk1-x3.conf,hk1box.conf,tx3.conf,x96air.conf, andx88pro-x3.conf. Configurations for other devices can be adapted from arthur-liberman/vfd-configurations and LibreELEC/linux_openvfd. Note: the second field value in configuration entries from these sources must be decremented by1. For example:
vfd_gpio_clk='0,69,0'
vfd_gpio_dat='0,70,0'Modify to:
vfd_gpio_clk='0,68,0'
vfd_gpio_dat='0,69,0'-
Taking the configuration of x96maxplus as an example: If the order of the displayed time text is incorrect, you can adjust the order of numbers in
vfd_chars='4,0,1,2,3'tovfd_chars='1,2,3,4,0'for testing. If the time is displayed upside down, you can adjust thefirst value 0x02invfd_display_type='0x02,0x00,0x01,0x00'to0x01for testing. The content displayed can be adjusted according to the specific situation of your device infunctions='usb apps setup sd hdmi cvbs'. -
Rename the configuration file to
diy.confand upload it to the/usr/share/openvfd/confdirectory, then enter the commandarmbian-openvfd 99for testing. -
The command
armbian-openvfd 0disables the LED display and clears associated system processes. Before testing each new configuration, always run this disable command first, then executearmbian-openvfd 99to test the modified configuration. -
Some devices may display a boot message before Linux starts (e.g., showing
BOOT). To clear this message, first runarmbian-openvfd 0to stop existing services, then runarmbian-openvfd <boxid>to take control of the LED display. To disable the display entirely, runarmbian-openvfd 0again. -
Once the display is working correctly, add it to the boot startup tasks. Replace
15in the following commands with your device'sBoxID:
# Execute the following command in the terminal to enable the openvfd service
sed -i 's|^#*openvfd_enable=.*|openvfd_enable="yes"|g' /etc/custom_service/start_service.sh
sed -i 's|^#*openvfd_boxid=.*|openvfd_boxid="15"|g' /etc/custom_service/start_service.sh
# Some devices require restarting the OpenVFD service to clear 'BOOT' and related messages
sed -i 's|^#*openvfd_restart=.*|openvfd_restart="yes"|g' /etc/custom_service/start_service.sh- Everyone is welcome to test and share their device configuration files (diy.conf) to benefit the community.
| BoxName | BoxID |
Armbian Command | OpenWrt Command | Function |
|---|---|---|---|---|
| x96max | 11 | armbian-openvfd 11 | openwrt-openvfd 11 | Enable LED |
| x96maxplus | 12 | armbian-openvfd 12 | openwrt-openvfd 12 | Enable LED |
| x96air | 13 | armbian-openvfd 13 | openwrt-openvfd 13 | Enable LED |
| h96max-x3 | 14 | armbian-openvfd 14 | openwrt-openvfd 14 | Enable LED |
| hk1-x3 | 15 | armbian-openvfd 15 | openwrt-openvfd 15 | Enable LED |
| hk1box | 16 | armbian-openvfd 16 | openwrt-openvfd 16 | Enable LED |
| tx3 | 17 | armbian-openvfd 17 | openwrt-openvfd 17 | Enable LED |
| tx3-mini | 18 | armbian-openvfd 18 | openwrt-openvfd 18 | Enable LED |
| t95 | 19 | armbian-openvfd 19 | openwrt-openvfd 19 | Enable LED |
| t95z-plus | 20 | armbian-openvfd 20 | openwrt-openvfd 20 | Enable LED |
| tx9-pro | 21 | armbian-openvfd 21 | openwrt-openvfd 21 | Enable LED |
| x92 | 22 | armbian-openvfd 22 | openwrt-openvfd 22 | Enable LED |
| whale | 23 | armbian-openvfd 23 | openwrt-openvfd 23 | Enable LED |
| x88pro-x3 | 24 | armbian-openvfd 24 | openwrt-openvfd 24 | Enable LED |
| diy | 99 | armbian-openvfd 99 | openwrt-openvfd 99 | Enable LED |
| - | 0 | armbian-openvfd 0 | openwrt-openvfd 0 | Disable LED |
| - | -u | armbian-openvfd -u | openwrt-openvfd -u | Update Conf |
-
配置文件位于
Armbian/OpenWrt系统的 /usr/share/openvfd 目录下。Armbian系统的命令文件位于 /usr/sbin/armbian-openvfd,OpenWrt系统的命令文件位于 /usr/sbin/openwrt-openvfd。若当前系统中缺少这些文件,可手动上传并赋予执行权限:chmod +x /usr/share/openvfd/vfdservice /usr/sbin/*-openvfd。 -
将系统内核升级至最新版本。
Armbian系统使用armbian-sync命令升级;OpenWrt系统通过系统菜单→晶晨宝盒→在线下载更新进行升级。 -
目前已测试的设备配置包括
x96max.conf、x96maxplus.conf、h96max-x3.conf、hk1-x3.conf、hk1box.conf、tx3.conf、x96air.conf和x88pro-x3.conf等。其他设备的配置可参考 arthur-liberman/vfd-configurations 和 LibreELEC/linux_openvfd 进行修改。注意:需将这两个网站配置文件中对应字段的第二个值减1后使用,例如:
vfd_gpio_clk='0,69,0'
vfd_gpio_dat='0,70,0'修改为:
vfd_gpio_clk='0,68,0'
vfd_gpio_dat='0,69,0'-
以 x96maxplus 的配置为例:如果显示的时间文字顺序不正确,可以调整
vfd_chars='4,0,1,2,3'的数字顺序为vfd_chars='1,2,3,4,0'等进行测试。如果时间是翻转显示,可以调整vfd_display_type='0x02,0x00,0x01,0x00'中的第一个值 0x02为0x01等进行测试。显示的内容可根据自己的设备支持的具体情况调整functions='usb apps setup sd hdmi cvbs'中的值。 -
将配置文件命名为
diy.conf并上传至/usr/share/openvfd/conf目录下,输入命令armbian-openvfd 99进行测试。 -
通过命令
armbian-openvfd 0可禁用 LED 显示并清除相关系统进程。每次测试新配置前,请先执行此禁用命令,再执行armbian-openvfd 99进行配置测试。 -
部分设备可能在 Linux 启动前显示开机信息(例如显示
BOOT)。要清除此信息,请先执行armbian-openvfd 0停止现有服务,然后执行armbian-openvfd <boxid>接管 LED 显示。若要禁用显示屏,再次执行armbian-openvfd 0即可。 -
屏幕显示正常后,可将其添加到开机自启动任务。将以下命令中的
15替换为你的设备编号:
# 在终端执行以下命令启用 openvfd 服务
sed -i 's|^#*openvfd_enable=.*|openvfd_enable="yes"|g' /etc/custom_service/start_service.sh
sed -i 's|^#*openvfd_boxid=.*|openvfd_boxid="15"|g' /etc/custom_service/start_service.sh
# 有些设备需要重启 OpenVFD 服务以清除 'BOOT' 等相关信息
sed -i 's|^#*openvfd_restart=.*|openvfd_restart="yes"|g' /etc/custom_service/start_service.sh- 欢迎大家测试后分享自己设备的配置文件(diy.conf),让更多人受益。
| 盒子名称 | 盒子编号 |
Armbian 使用命令 | OpenWrt 使用命令 | 功能 |
|---|---|---|---|---|
| x96max | 11 | armbian-openvfd 11 | openwrt-openvfd 11 | 启用 LED |
| x96maxplus | 12 | armbian-openvfd 12 | openwrt-openvfd 12 | 启用 LED |
| x96air | 13 | armbian-openvfd 13 | openwrt-openvfd 13 | 启用 LED |
| h96max-x3 | 14 | armbian-openvfd 14 | openwrt-openvfd 14 | 启用 LED |
| hk1-x3 | 15 | armbian-openvfd 15 | openwrt-openvfd 15 | 启用 LED |
| hk1box | 16 | armbian-openvfd 16 | openwrt-openvfd 16 | 启用 LED |
| tx3 | 17 | armbian-openvfd 17 | openwrt-openvfd 17 | 启用 LED |
| tx3-mini | 18 | armbian-openvfd 18 | openwrt-openvfd 18 | 启用 LED |
| t95 | 19 | armbian-openvfd 19 | openwrt-openvfd 19 | 启用 LED |
| t95z-plus | 20 | armbian-openvfd 20 | openwrt-openvfd 20 | 启用 LED |
| tx9-pro | 21 | armbian-openvfd 21 | openwrt-openvfd 21 | 启用 LED |
| x92 | 22 | armbian-openvfd 22 | openwrt-openvfd 22 | 启用 LED |
| whale | 23 | armbian-openvfd 23 | openwrt-openvfd 23 | 启用 LED |
| x88pro-x3 | 24 | armbian-openvfd 24 | openwrt-openvfd 24 | 启用 LED |
| diy | 99 | armbian-openvfd 99 | openwrt-openvfd 99 | 启用 LED |
| - | 0 | armbian-openvfd 0 | openwrt-openvfd 0 | 禁用 LED |
| - | -u | armbian-openvfd -u | openwrt-openvfd -u | 更新配置 |
-
設定ファイルは
Armbian/OpenWrtシステムの /usr/share/openvfd ディレクトリにあります。Armbianシステムのコマンドファイルは /usr/sbin/armbian-openvfd に、OpenWrtシステムのコマンドファイルは /usr/sbin/openwrt-openvfd にあります。現在のシステムにこれらのファイルがない場合は、手動でアップロードして実行権限を付与してください:chmod +x /usr/share/openvfd/vfdservice /usr/sbin/*-openvfd。 -
システムカーネルを最新バージョンにアップグレードしてください。
Armbianシステムはarmbian-syncコマンドでアップグレードします。OpenWrtシステムはシステムメニュー→晶晨宝盒→オンラインダウンロード更新からアップグレードします。 -
現在テスト済みのデバイス設定には
x96max.conf、x96maxplus.conf、h96max-x3.conf、hk1-x3.conf、hk1box.conf、tx3.conf、x96air.conf、x88pro-x3.confなどがあります。その他のデバイスの設定は arthur-liberman/vfd-configurations と LibreELEC/linux_openvfd を参考に修正できます。注意:これら2つのサイトの設定ファイルの対応フィールドの2番目の値を1減らしてから使用する必要があります。例:
vfd_gpio_clk='0,69,0'
vfd_gpio_dat='0,70,0'以下に修正:
vfd_gpio_clk='0,68,0'
vfd_gpio_dat='0,69,0'-
x96maxplus の設定を例に説明します:表示される時刻テキストの順序が正しくない場合、
vfd_chars='4,0,1,2,3'の数字の順序をvfd_chars='1,2,3,4,0'などに調整してテストできます。時刻が反転表示される場合、vfd_display_type='0x02,0x00,0x01,0x00'の最初の値 0x02を0x01などに調整してテストできます。表示内容はデバイスでサポートされている具体的な状況に応じてfunctions='usb apps setup sd hdmi cvbs'の値を調整できます。 -
設定ファイルを
diy.confにリネームして/usr/share/openvfd/confディレクトリにアップロードし、コマンドarmbian-openvfd 99を入力してテストします。 -
コマンド
armbian-openvfd 0で LED 表示を無効にし、関連するシステムプロセスをクリアできます。新しい設定をテストする前に、まずこの無効化コマンドを実行し、その後armbian-openvfd 99を実行して設定をテストしてください。 -
一部のデバイスは Linux 起動前に起動メッセージを表示する場合があります(例:
BOOTと表示)。このメッセージをクリアするには、まずarmbian-openvfd 0を実行して既存のサービスを停止し、次にarmbian-openvfd <boxid>を実行して LED 表示を制御します。表示を完全に無効にするには、再度armbian-openvfd 0を実行してください。 -
スクリーン表示が正常に動作した後、起動時の自動開始タスクに追加できます。以下のコマンドの
15をお使いのデバイスの番号に置き換えてください:
# ターミナルで以下のコマンドを実行して openvfd サービスを有効にする
sed -i 's|^#*openvfd_enable=.*|openvfd_enable="yes"|g' /etc/custom_service/start_service.sh
sed -i 's|^#*openvfd_boxid=.*|openvfd_boxid="15"|g' /etc/custom_service/start_service.sh
# 一部のデバイスでは 'BOOT' などの関連メッセージをクリアするために OpenVFD サービスの再起動が必要です
sed -i 's|^#*openvfd_restart=.*|openvfd_restart="yes"|g' /etc/custom_service/start_service.sh- テスト後にご自身のデバイスの設定ファイル(diy.conf)を共有していただくことを歓迎します。より多くの方の参考になります。
| デバイス名 | デバイス番号 |
Armbian コマンド | OpenWrt コマンド | 機能 |
|---|---|---|---|---|
| x96max | 11 | armbian-openvfd 11 | openwrt-openvfd 11 | LED 有効 |
| x96maxplus | 12 | armbian-openvfd 12 | openwrt-openvfd 12 | LED 有効 |
| x96air | 13 | armbian-openvfd 13 | openwrt-openvfd 13 | LED 有効 |
| h96max-x3 | 14 | armbian-openvfd 14 | openwrt-openvfd 14 | LED 有効 |
| hk1-x3 | 15 | armbian-openvfd 15 | openwrt-openvfd 15 | LED 有効 |
| hk1box | 16 | armbian-openvfd 16 | openwrt-openvfd 16 | LED 有効 |
| tx3 | 17 | armbian-openvfd 17 | openwrt-openvfd 17 | LED 有効 |
| tx3-mini | 18 | armbian-openvfd 18 | openwrt-openvfd 18 | LED 有効 |
| t95 | 19 | armbian-openvfd 19 | openwrt-openvfd 19 | LED 有効 |
| t95z-plus | 20 | armbian-openvfd 20 | openwrt-openvfd 20 | LED 有効 |
| tx9-pro | 21 | armbian-openvfd 21 | openwrt-openvfd 21 | LED 有効 |
| x92 | 22 | armbian-openvfd 22 | openwrt-openvfd 22 | LED 有効 |
| whale | 23 | armbian-openvfd 23 | openwrt-openvfd 23 | LED 有効 |
| x88pro-x3 | 24 | armbian-openvfd 24 | openwrt-openvfd 24 | LED 有効 |
| diy | 99 | armbian-openvfd 99 | openwrt-openvfd 99 | LED 有効 |
| - | 0 | armbian-openvfd 0 | openwrt-openvfd 0 | LED 無効 |
| - | -u | armbian-openvfd -u | openwrt-openvfd -u | 設定更新 |