ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.08k stars 1.95k forks source link

tx3 mini 设置LED失败,CPU主频也调节不了。t95z plus 也是调节不了CPU主频,但是有led屏显示。 #2464

Closed goldsoft8888 closed 1 month ago

goldsoft8888 commented 2 months ago

tx3 mini 主控s905w Armbian_24.8.0_amlogic_s905w_noble_6.6.43_server_2024.08.01.img 设置LED失败,换了几个内核也一样, CPU主频也调节不了

[ 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 ... /usr/sbin/armbian-openvfd: line 114: /sys/class/leds/openvfd/led_on: No such file or directory [ INFO ] turn led colon on ... /usr/sbin/armbian-openvfd: line 114: /sys/class/leds/openvfd/led_on: No such file or directory [ INFO ] turn led eth on ... /usr/sbin/armbian-openvfd: line 114: /sys/class/leds/openvfd/led_on: No such file or directory Open device failed. : No such file or directory [ INFO ] turn led wifi on ... /usr/sbin/armbian-openvfd: line 114: /sys/class/leds/openvfd/led_on: No such file or directory [ SUCCESS ] Enable LED display! root@armbian:~#

goldsoft8888 commented 2 months ago

t95z plus 也是调节不了CPU主频,但是有led屏显示。 咱们这个项目有QQ群吗?

tri-pole commented 1 month ago

@goldsoft8888

I have an old Tanix TX3-mini s905w 2G/16G (mfgd by Oranth) and I got the VFD display working with Ophub kernel 6.6.50 by modifying (decompiling/editing/recompiling with dtc) the dtb in the following way:

In the dtb I removed the entire section spi {...} (where e.g. led-controller@0 is defined) and removed also the entry for tm1628 in the symbol table (at the end). (The entry for openvfd {...} in the dtb must remain.) After this, the VFD works with the kernel module openvfd present in Ophubs kernels and a openVFD service such as 7Ji's YAopenvfD. The kernel module can be loaded with e.g. armbian-openvfd 18 (after loading the openvfd kernel module the VFD interface is present at /sys/class/leds/openvfd).

With this edit to the dtb the VFD access is no longer controlled by info in the dtb but by the parameters you supply when you load the openvfd module (or so I think, at least).

Edit: I have attached the (edited) dtb that I use. meson-gxl-s905w-tx3-mini-6.6.50-openvfd.dtb.zip