Tanix TX3 Mini VFD
r0bb10 opened this issue · 7 comments
Device Information | 设备信息
- SOC: s905w
- Model: Tanix TX3 Mini 2g/16gb (ssv6051 variant)
Armbian Version | 系统版本
- Kernel Version: 6.1.1
- Release: Debian Bullseye Server 12.28.0249
Describe the bug | 问题描述
I'm testing the latest 6.1.1 build on my s905w, after flashing i tested armbian-led command but it was not working even selecting the correct version (18 for tx3 mini).. i then changed the DTB with one i made some time ago for an old balbes armbian build (can be found here https://github.com/r0bb10/openvfd_enable_for_tx3_mini) and now the armbian-led works and the vfd is functional, the only thing needed is to replace the dtb in the /boot/dtb/amlogic folder and reboot.
Problem is that ambian-led-state.service is not starting at boot, log
r88t@klipper:~$ sudo systemctl status armbian-led-state.service
● armbian-led-state.service - Armbian leds state
Loaded: loaded (/lib/systemd/system/armbian-led-state.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-12-28 13:53:02 CET; 3s ago
Process: 1958 ExecStart=/usr/lib/armbian/armbian-led-state-restore.sh (code=exited, status=1/FAILURE)
Main PID: 1958 (code=exited, status=1/FAILURE)
CPU: 33ms
Dec 28 13:53:02 klipper systemd[1]: Starting Armbian leds state...
Dec 28 13:53:02 klipper armbian-led-state-restore.sh[1958]: Invalid state file, syntax error in configuration file
Dec 28 13:53:02 klipper systemd[1]: armbian-led-state.service: Main process exited, code=exited, status=1/FAILURE
Dec 28 13:53:02 klipper systemd[1]: armbian-led-state.service: Failed with result 'exit-code'.
Dec 28 13:53:02 klipper systemd[1]: Failed to start Armbian leds state.
After reboot issuing armbian-led will correctly turns on the VFD.
┌────────[ Enable LED ]─────────┐
│ │
│ 11. x96max (s905x2) │
│ 12. x96maxplus (s905x3) │
│ 13. x96air (s905x3) │
│ 14. h96max-x3 (s905x3) │
│ 15. hk1-x3 (s905x3) │
│ 16. hk1box (s905x3) │
│ 17. tx3 (s905x3) │
│ 18. tx3-mini (s905w) │
│ 19. t95 (s905x) │
│ 20. t95z-plus (s912) │
│ 21. tx9-pro (s912) │
│ 22. x92 (s912) │
│ 99. diy │
│ │
├──────[ Other Operations ]─────┤
│ │
│ -u. update │
│ 0. stop │
│ 1. quit │
│ │
└───────────────────────────────┘
[ OPTIONS ] Please Input ID: 18
[ STEPS ] Start the led screen display...
[ INFO ] Using LED Profiles: /usr/share/openvfd/conf/tx3-mini.conf
[ INFO ] turn led usb on ...
[ INFO ] turn led colon on ...
[ INFO ] turn led eth on ...
[ INFO ] turn led wifi on ...
[ SUCCESS ] Enable LED display!
Could be something related to the service?
You don't need additional services, this is added in the kernel.
armbian-led 18
can enable led display.
Which config file are you using?
I don't understand what your question means. You mean that after replacing it with your dtb, it can now be displayed using armbian-led 18
?
yes but if i use the /boot/dtb/amlogic/meson-gxl-s905w-tx3-mini.dtb provided in your build it gives me this:
r88t@klipper:~$ sudo armbian-led 18
[ STEPS ] Start the led screen display...
[ INFO ] Using LED Profiles: /usr/share/openvfd/conf/tx3-mini.conf
[ INFO ] turn led usb on ...
/usr/sbin/armbian-led: line 105: /sys/class/leds/openvfd/led_on: No such file or directory
[ INFO ] turn led colon on ...
/usr/sbin/armbian-led: line 105: /sys/class/leds/openvfd/led_on: No such file or directory
[ INFO ] turn led eth on ...
/usr/sbin/armbian-led: line 105: /sys/class/leds/openvfd/led_on: No such file or directory
[ INFO ] turn led wifi on ...
/usr/sbin/armbian-led: line 105: /sys/class/leds/openvfd/led_on: No such file or directory
[ SUCCESS ] Enable LED display!
Open device failed.
: No such file or directory
if i overwrite the dtb with mine it it works
r88t@klipper:~$ sudo armbian-led 18
[ STEPS ] Start the led screen display...
[ INFO ] Using LED Profiles: /usr/share/openvfd/conf/tx3-mini.conf
[ INFO ] turn led usb on ...
[ INFO ] turn led colon on ...
[ INFO ] turn led eth on ...
[ INFO ] turn led wifi on ...
[ SUCCESS ] Enable LED display!
but the service still does not work:
r88t@klipper:~$ sudo armbian-led 18
[ STEPS ] Start the led screen display...
[ INFO ] Using LED Profiles: /usr/share/openvfd/conf/tx3-mini.conf
[ INFO ] turn led usb on ...
[ INFO ] turn led colon on ...
[ INFO ] turn led eth on ...
[ INFO ] turn led wifi on ...
[ SUCCESS ] Enable LED display!
r88t@klipper:~$ sudo systemctl status armbian-led-state.service
● armbian-led-state.service - Armbian leds state
Loaded: loaded (/lib/systemd/system/armbian-led-state.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-12-28 15:49:38 CET; 2min 27s ago
Process: 539 ExecStart=/usr/lib/armbian/armbian-led-state-restore.sh (code=exited, status=1/FAILURE)
Main PID: 539 (code=exited, status=1/FAILURE)
CPU: 33ms
Dec 28 15:49:41 klipper armbian-led-state-restore.sh[539]: warning: /sys/class/leds/openvfd/trigger could not be restored
Dec 28 15:49:41 klipper armbian-led-state-restore.sh[539]: Invalid state file, syntax error in configuration file
Warning: journal has been rotated since unit was started, output may be incomplete.
Which config file are you using?
this one, the stock from your build, i only changed the dtb file.
I found the earliest tester feedback post, which is a little different from the current one, please modify it here. Try using the original dtb of my firmware.
vfd_dot_bits='0,1,2,3,4,5,6'
i made the change in tx3-mini.conf and i'm using your dtb, now on boot the display turn off (no "boot" message on the vfd), if i try to use armbian-led 18 it still does not work:
r88t@klipper:~$ sudo armbian-led 18
[sudo] password for r88t:
[ STEPS ] Start the led screen display...
[ INFO ] Using LED Profiles: /usr/share/openvfd/conf/tx3-mini.conf
[ INFO ] turn led usb on ...
/usr/sbin/armbian-led: line 105: /sys/class/leds/openvfd/led_on: No such file or directory
[ INFO ] turn led colon on ...
/usr/sbin/armbian-led: line 105: /sys/class/leds/openvfd/led_on: No such file or directory
[ INFO ] turn led eth on ...
/usr/sbin/armbian-led: line 105: /sys/class/leds/openvfd/led_on: No such file or directory
[ INFO ] turn led wifi on ...
/usr/sbin/armbian-led: line 105: /sys/class/leds/openvfd/led_on: No such file or directory
[ SUCCESS ] Enable LED display!
Open device failed.
: No such file or directory
it works again going back to my dtb.
In the test feedback post sent to you above, he posted a photo of the box lighting up the LEDs, your box is different from his?
In the test feedback post sent to you above, he posted a photo of the box lighting up the LEDs, your box is different from his?
same as this one posted here physically, labelled Tanix TX3 MiniA.