-
Posts
59 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by L Jumadi
-
@Willx Mine not working also 1st, need to open the box and photo the chip.. then seek in forum, Fortunately my wifi chip already known on rockchip forum then ppl here can help to connect it on the build. Bluetooth Im not aware as Im not using it atm
-
@heiko910 My SBC that I already use for Klipper is RK3318 version (H96 max v11) I bought after my Tanix (that use nearly same chip as transpeed speed). Before posting here Im already give up with Tanix as need to open box set up serial display.. so I tought is easier just buy one again that already can use. While waiting new one or after I success with last one (I forgot already), I have spare time and have CP2102 around also (from my previous hobby building quadcopter with STM chip) but I really dont want solder anything (too small for my old eyes, lol) I just slip the stripped wire to the hole TX RX Ground and use tape to hold it in place and try to see whether it send data to computer.. voila I get data from this little machine, and try to asked here.Then @Nick A help and all worked as I needed :) Right now Im still building (mod/designing) CoreXY from used Ender 5 then may be my Tanix got use :)
-
@MMorales @dale on Jefflessard openvfd version setting brightness its as easy as write number to /sys/class file, no need other service :)
-
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
Ok after long search.. I found that your softdep solution prevent my install option, so I just do it all on install option in /etc/modprobe.d/tm16xx.conf install tm16xx /sbin/modprobe -q ledtrig_timer; \ /sbin/modprobe -q ledtrig_netdev; \ /sbin/modprobe -i tm16xx; \ echo boot > /sys/class/leds/display/value Now it display boot imediately so my eyes cant catch up if 8888 ever show :P -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
hi @Jean-Francois Lessard Searching further how to early change display, I found using this udev rules can change it quick after your 8888 displayed, better than systemd ACTION=="add", SUBSYSTEM=="module" KERNEL=="tm16xx", RUN+="/bin/sh -c 'echo \"bo ot\" > /sys/class/leds/display/value'" Edit: Should be faster using modprobe install option but dunno why its never executed on armbian tough its correct config Maybe then seaching how to make your driver load earlier -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
About early LED show seems its on generic LED can be set at u-boot but maybe thats not using any driver just signal one or few individual led :) Maybe Android version using that way also, sure manufacture worker did it and not publish as opensource -
Just FYI @Nick A While working further with Jefflessard I found that all modules in your build not included in images created, Tough it compiles as module and already make the .ko file in the /sources/linux-kernel-worktree/devices. I dont know it is by design or not.. while Im afraid to update linux-kernel-image so I just copy (some modules).ko to /lib/modules/6.7.12-edge-sunxi64 run depmod and its ready to modprobe :)
-
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
About /lib/modules/$(uname -r)/kernel/drivers/leds/trigger/ I already investigate as Im building the images myself I can check trigger config is modules but seems the image created not include all modules, I will report the creator, thanks -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
@Jean-Francois Lessard already try your service then try to boot.. it display 8888 longer than a blink boot after followed by time display. So I stick to 8888 only better :) at least have displaying something long before the time. Dunno on Android the led display is faster show when device just like to power on, Its Android base on Linux also with even older kernel, lol. Maybe many unused service or other at kernel loading removed, but after that Android longer loading than armbian -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
ls /lib/modules/$(uname -r)/kernel/drivers/leds/trigger/ Error: No such file or directory Before I found the trigger with cat /sys/class/leds/display::colon/trigger which result: none usb-gadget usb-host kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock usbport disk-activity disk-read disk-write mtd nand-disk [heartbeat] cpu cpu0 cpu1 cpu2 cpu3 activity default-on panic mmc0 mmc1 mmc2 stmmac-0:00:link stmmac-0:00:100Mbps stmmac-0:00:10Mbps thanks for service suggestion, will try and experiment with it.. hope can display early as I am still not so familiar with systemd -
@MMorales @Nick A Hi, I already success with Jefflessard version of openVfd with some minor error with my build, can check the forum if you try and have problem: Just in case you interested, I prefer it because it starting to display something when driver initialized so we early know the box starting and not hang up :) then can display timer or whatever you like after.. and setting just via bash scripting than writing other language code :)
-
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
Trying it rightaway give error: modprobe: WARNING: Module ledtrig_timer not found in directory /lib/modules/6.7.12-edge-sunxi64 maybe my armbian version or sunxi version not provide it :P -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
After trial error I change the error line with echo heartbeat > /sys/class/leds/display::colon/trigger then it successfully display time with colon heartbeating :P Sure will be nicer if we can change 1st time appearance than 8888, but I already satisfied with current stage -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
@Jean-Francois Lessard thanks, with your help now I know which file to check.. dunno maybe because my header using old version. Step I do: kernel header reinstalled cat /lib/modules/$(uname -r)/build/include/config/kernel.release correct -> 6.7.12-edge-sunxi64 I try sudo make install it error like I describe before, then I re-check cat /lib/modules/$(uname -r)/build/include/config/kernel.release wrong -> 6.7.12 reinstalled header again, check kernel.release correct and try make clean then make module --> success then I wrong type make module-install without sudo error permission denied, redo correct sudo make module-install error because build directory gone, recreate it and check kernel.release still correct, so I re-try with correct order make clean, make module ==> success, sudo make modules-install error: Entering directory '/usr/src/linux-headers-6.7.12-edge-sunxi64' make[3]: *** No rule to make target 'modules.order', needed by '//lib/modules/6.7.12-edge-sunxi64/modules.order'. Stop. But accidentally I check /lib/modules/6.7.12-edge-sunxi64/updates seems tm16xx.ko re-created so I try reboot It seems modules loaded correctly as LED power on 8888 awhile then blank .. dmesg said Display initialized successfully trying sudo display-utils -c its correct display 1234 and colon, so I try starting display.service but status is failed I try manually display-service as root it error: /usr/sbin/display-service: line 68: echo: write error: Invalid argument I check its the line number mentioned: echo timer > /sys/class/leds/display::colon/trigger Maybe there is error on my installation before but sure the driver already correct :) .. thanks -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
Make fdt success as usual but when try reinstall driver got error. I reinstalled header.. trying make success but when make install error permission denied. so sudo make install error: No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucap-defs.h'. Stop. then I re-read your read.me no need make just make install, I try make clean and make install same permision denied then sudo make install same as above without creating tm16xx.ko I try to make and move tm16xx.ko manually then reboot, dmesg said: [ 10.187780] tm16xx: version magic '6.7.12 SMP mod_unload aarch64' should be '6.7.12-edge-sunxi64 SMP mod_unload aarch64' I dunno whats wrong, as I try re-make liberman and modules_install still ok -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
@Jean-Francois Lessard as I remember, I already try 0 1 2 3 via command but got error when include 0 in the number (forgot the error seems like its not supported). As I ever mention my display have no other icon, and to make it more complicated it is Tanix tx3 mini (picture outside same with it), which usually use amlogic chip Now the reason why Im testing your driver: It seems yours starting early at booting than the liberman (but maybe its me that cant configure it properly) so I can see 2 stage display like android one which display boot when on and time after all ready. Which then Im ask wether I can change (customize via config or other) the display right after the display initialization (than the default 8888, maybe change to boot or hi Will try your new code and dt and report after this -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
@Jean-Francois Lessard here I copy paste it : /dts-v1/; /plugin/; #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/leds/common.h> &{/} { display-client { <------>compatible = "i2c-gpio"; <------>sda-gpios = <&pio 8 12 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PI12 */ <------>scl-gpios = <&pio 8 11 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PI11 */ <------>i2c-gpio,delay-us = <5>; <------>#address-cells = <1>; <------>#size-cells = <0>; <------>display-controller@24 { <------><------>compatible = "fdhisi,fd650"; <------><------>reg = <0x24>; <------><------>tm16xx,digits = [01 02 03 04]; <------><------>tm16xx,segment-mapping = [00 01 02 03 04 05 06]; <------><------>#address-cells = <2>; <------><------>#size-cells = <0>; <------><------>led@2,0 { <------><------><------>reg = <2 0>; <------><------><------>function = LED_FUNCTION_ALARM; <------><------>}; <------><------><------> <------><------>led@2,1 { <------><------><------>reg = <2 1>; <------><------><------>function = LED_FUNCTION_USB; <------><------>}; <------><------>led@2,3 { <------><------><------>reg = <2 3>; <------><------><------>function = "play"; <------><------>}; <------><------>led@2,2 { <------><------><------>reg = <2 2>; <------><------><------>function = "pause"; <------><------>}; <------><------>led@2,4 { <------><------><------>reg = <2 4>; <------><------><------>function = "colon"; <------><------>}; <------><------>led@2,5 { <------><------><------>reg = <2 5>; <------><------><------>function = LED_FUNCTION_LAN; <------><------>}; <------><------>led@2,6 { <------><------><------>reg = <2 6>; <------><------><------>function = LED_FUNCTION_WLAN; <------><------>}; <------>}; }; }; -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
@Jean-Francois Lessard Already test and find correct segment and digit but seems it start from 2nd digit, so echo 1234 will display only 123 from 2nd digit, cant fill first digit unless on 1st boot all 4 digit show. And seems my dts segment mapping different from what I read from cat /sys/class/display/segments Edit: Segment fixed after edit the correct one and make overlay again but digit still from 2nd Just fyi: display-utils and display-services on /usr/sbin of mine not correct attributes all empty) maybe faulty install on me -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
Thanks for your patience, Im not carefull then just expect the order of configuration is same Now my LED display 8888 already at boot.. then I guess it all okay (No other LED than the number and dot) btw the dot not on also, later will check how to turn it on, or blink thanks -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
Im aleady try to convert my vfd.conf and edit gpio section as your last change, make overlay no error also but dmesg result still same as I post before -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
@Jean-Francois Lessard thanks, Im building from home, but maybe messed up using sudo make . About service-install I read other forum also so I thought it needed Ok next step I already do (all need sudo) dmesg result: [ 189.603677] tm16xx 1-0024: Failed to set brightness: -6 [ 189.604464] tm16xx 1-0024: Failed to write display data: -6 [ 189.604545] tm16xx 1-0024: Display initialized successfully Sure no LED lights (Im already turn off liberman overlay to test your driver, I guess its already enough) I'm modifiying your tanix-tx6-allwinner-h6.dtso as Im use in liberman, its same as transpeed sda-gpios = <&pio 8 11 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PI11 */ scl-gpios = <&pio 8 12 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PI12 */ rest all same, then make overlay .. rename result to tm16xx.dtbo put at /boot/overlay-user and also edit /boot/armbianEnv.txt . Usually I use armbian-add-overlay dtsfile.dts that auto make dtbo copy and edit it Edit I include my liberman config here to help, seems many other than gpio setting needed: compatible = "open,vfd"; dev_name = "openvfd"; openvfd_gpio_clk = <&pio 8 11 0>; openvfd_gpio_dat = <&pio 8 12 0>; vfd_gpio_chip_name = "0300b000.pinctrl"; openvfd_chars = [02 01 02 03 04]; openvfd_dot_bits = [00 01 03 02 04 05 06]; openvfd_display_type = <0x03000000>; status = "okay"; -
Help wanted to test a new OpenVFD alternative
L Jumadi replied to Jean-Francois Lessard's topic in Amlogic meson
@Jean-Francois Lessard thanks, I try make dtb now without error. Make modules ok but when I run sudo make module-install (or make clean?) sometimes it remove build directory. then I try again it create new lib/modules/6.7.12 directory while my original 6.7.12-edge-sunxi64 still there then error but tml16xx.ko already installed on updates directory so I try modprobe it success make service-install no error but when I check with systemtl status display it error Failed to start Display service May be its my system that not using standar (armbian unofficial) but for libermann make and modules install all ok Need to mention in readme.md also statement for make module make module-install make service-install as many newbie confuse Still dunno where to check which step really make it failed -
@MMorales better you suggest this to liberman github, so many other get benefit Edit: Nvm, Sorry I thought you make the correction of the service
-
@Nick A when I try your 6.10 my HDMI works, one ethernet patches I disable because conflict with my defconfig patch but my ethernet still work. Then I patch wifi also work.. need back to 6.9 just because no header to compile openvfd :)
-
@MMorales I maybe have same problem but not aware as I just unplug adaptor to switch off, and when stuck just replug then its normal boot.. so I guess it only happen intermittently and because some of electronic component not warmed up