Closed sunilsankar closed 3 months ago
Well - miniarch uses the same kernel like minimyth2 so openvfd kernel module should work out-of-box... Do you have in dmesg any openvfd entries?
Dont see any module
root@tanix ~]# dmesg |grep -i vfd
[root@tanix ~]#
But I see this
[root@tanix ~]# modinfo openvfd
filename: /lib/modules/6.9.3/kernel/drivers/misc/openvfd/openvfd.ko
license: GPL
description: OpenVFD Driver
author: Arthur Liberman
depends:
intree: Y
name: openvfd
vermagic: 6.9.3 SMP preempt mod_unload aarch64
parm: vfd_gpio_chip_name:charp
parm: vfd_gpio_clk:array of uint
parm: vfd_gpio_dat:array of uint
parm: vfd_gpio_stb:array of uint
parm: vfd_gpio0:array of uint
parm: vfd_gpio1:array of uint
parm: vfd_gpio2:array of uint
parm: vfd_gpio3:array of uint
parm: vfd_gpio_protocol:array of uint
parm: vfd_chars:array of uint
parm: vfd_dot_bits:array of uint
parm: vfd_display_type:array of uint
parm: vfd_display_auto_power:byte
[root@tanix ~]#
Right. If you do modprobe openvfd
then dmesg should show us kernel talks to 7-seg display hw.
To use 7-seg display you need userspace app https://github.com/arthur-liberman/linux_openvfd It talks to kernel.
In MiniMyth2 i'm building this user-space app: https://github.com/warpme/minimyth2/blob/master/script/utils/openvfd-service/Makefile
Thanks now it works 😄.Is it possible to share the miniarch code base I will include the steps and also the service file
Well - for miniarch code - i'm already doing this: https://github.com/warpme/minimyth2/tree/master/script/miniarch User-space of miniarch is in fact ArchLinux ARM - so i think isn't be best when you will start AUR project for user-space OpenVFD?
Well - for miniarch code - i'm already doing this: https://github.com/warpme/minimyth2/tree/master/script/miniarch User-space of miniarch is in fact ArchLinux ARM - so i think isn't be best when you will start AUR project for user-space OpenVFD?
Agreed
Is there a way to enable the led on miniarch. Amazing work btw