Jump to content

MMorales

Members
  • Posts

    17
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @firepower my instructions dont tell u to do any git clone. only unpack the zip file. And you have another type of machine i dont know about your environment. If you have kernel header installed u could follow the howto.
  2. @Nick A This is a compiled version of OpenVFDService for controlling the brightness. Usage: OpenVFDService [-t] [-dt TYPE] [-h] -s USER_STRING Run OpenVFDService in custom string mode. Displays the USER_STRING on the screen. -ss SECONDARY_USER_STRING Display a smaller secondary string in addtion to USER_STRING. -b Brightness [0-7] <----------------------------- -t Run OpenVFDService in display test mode. -dm Run OpenVFDService in display demo mode. -dt N Specifies which display type to use. -co N... < D HH:MM > Order of display chars. Valid values are 0 - 6. (D=dots, represented by a single char) -h This text. OpenVFDService_with_Brightness_control.zip
  3. Tested in Transpeed 8k H618 4g 64g & Vontar 6k h618 4g 32g @Nick A As we talk, here are the final "howto" to make it working leds display with openvfd. If you find any problem tell me. First go to armbian-config to change some kernel with has his own headers available like 6.10.9 (i had problem with rebooting with 6.7.12) configure an internet connection unpack the attached file to root dir / cd /linux_openvfd cp openvfd.dts /boot/dtb/allwinner/overlay/ armbian-add-overlay /boot/dtb/allwinner/overlay/openvfd.dts reboot ln -sf /boot/System.map-$(uname -r) /lib/modules/$(uname -r)/build/System.map cd cd /linux_openvfd/driver make -j 4 depmod -a make modules_install modprobe openvfd cd .. chmod +x OpenVFDService cp OpenVFDService /usr/sbin/ cp openvfd.service /etc/systemd/system/openvfd.service #apt install python3-psutil systemctl enable openvfd.service systemctl start openvfd.service After this, openvfd is working but if you want my scroll.py as a service uncomment in openvfd.service and comment the existing one. #ExecStart=/bin/sh -c '[ `cat /proc/device-tree/openvfd/compatible` = "open,vfd" ] && /sbin/modprobe openvfd; python3 /linux_openvfd/scroll.py' Correct openvfd.dts, some compiling fixes and extra glyphs for cool animations added to this file. linux_openvfd.zip @Nick A Please let me know if you make a new release with kernel 6.9.12 with this working cos now i made my server but no hdmi and no ethernet in 6.10.
  4. Some animations modifying glyphs.c in the openvfs driver. I let this here for myself or anyone who looks for this kind of silly thing. glyphs.hanimaciones.py
  5. @Nick A thanks for the info and all your work. Do you know how we can get 6.9.12 kernel headers ?
  6. I answer to myself: kernel 6.10.9-edge-sunxi64 does not have that problem, i can restart in any way. quit cable, halt, and it alwais starting again... so im happy with that. I had some problems to compile the openvfd in that kernel and i did some changes in openvfd_drv.c, after that i could compile and led display is working in 6.10.9. I attach the modified openvfd_drv.c here. openvfd_drv.c i did my own service using this script scroll.py now, when i write some text in /tmp/vfd.txt it will display in my led screen. but.... the hdmi does not work, i could advance using the serial port until i connect via wifi because the ethernet port is not working neither.
  7. hello again. I made some progress with my new trasnpeed h618 4g 64gb. wifi, lan, led display working from internal memory but.... when i switch off the machine directly or do a "halt" to shutdown completely , next time i want to boot the transpeed is not booting. After some research i found what if i reboot with an sdcard and do this: 1) Set fsck to scan on every boot: tune2fs -c 1 /dev/mmcblk0p1 2) Add bellow line to `/boot/armbianEnv.txt` extraargs=fsck.mode=force fsck.repair=yes After that, each time i boot first of all the system checks the mmc and the problem is fixed but if i shutdown again quiting the cable or doing a "halt" the problem persists. Any ideas ? thanks
  8. @L Jumadi i did not configure any vdf.conf , mine works without that. Finally. Did you get your display works ?
  9. i made a little python script for scrolling text. import psutil texto = """THIS IS A VERY LARGE TEXT FOR TESTING SCROLL SCREEN. 0123456789""" max_caracteres = 4 texto_completo = " "*max_caracteres + texto + " "*max_caracteres velocidad = 0.2 longitud_texto = len(texto_completo) def cerrar_proceso(nombre): """Cierra el proceso dado su nombre.""" for proc in psutil.process_iter(['name']): if proc.info['name'] == nombre: proc.terminate() # Termina el proceso proc.wait() # Espera a que el proceso termine while True: for i in range(longitud_texto - max_caracteres + 1): texto_a_enviar = texto_completo[i:i + max_caracteres] cerrar_proceso("OpenVFDService.exe" if os.name == 'nt' else "OpenVFDService") proceso = subprocess.Popen(['OpenVFDService', '-s', texto_a_enviar]) time.sleep(velocidad)
  10. ok i finally got working led display After i burn Armbian-unofficial_24.11.0-trunk_Transpeed-8k618-t_bookworm_edge_6.9.12 image from @Nick A repository and download kernel headers from armbian-config i switch to 6.7.12 kernel to be posible compile the next openvfd package. compiling from: https://github.com/augin/linux_openvfd with this dbt file: /dts-v1/; /plugin/; / { fragment@0 { target-path = "/"; __overlay__ { openvfd { 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"; }; }; }; }; Thanks to @L Jumadi for the given info. vontar h618 4g 32g fd650s
  11. thanks @L Jumadi i could compile cloning from this repository found on your link. https://github.com/augin/linux_openvfd but the led display dont turn on. this is my dbt and the service is loaded but dmesg tell me the address of gpio are not correct.
  12. Good Morning everyone. im still making some tests with the vontar h618 4g 32g in the sdcard. trying to compile "linux_openvfd" getting this error: @L Jumadi maybe this link is useful to you https://github.com/arthur-liberman/linux_openvfd/issues/14 Im already stuck but maybe you make progress.
  13. thanks @hexdump i followed the tutorial and i've cleaned it with that tutorial and uninstalled a lot of apps i dont use and its so minimal now. Another thing i did is: I found this tool https://github.com/PabloCastellano/extract-dtb?tab=readme-ov-file and this: https://pypi.org/project/fdt/ and with that i got some dts files extrating from the official rom. 01_dtbdump_,sun50iw9.dts in that file i found some lines : so i can be sure the dts lines for vfs in vontar & transpeed with h618 are these: openvfd { compatible = "open,vfd"; dev_name = "openvfd"; openvfd_gpio_clk = <&pio 8 11 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; openvfd_gpio_dat = <&pio 8 12 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 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"; };
  14. @Nick A This is the image which i was using: https://github.com/NickAlilovic/build/releases/download/v20240909/Armbian-unofficial_24.11.0-trunk_Transpeed-8k618-t_bookworm_edge_6.9.12_server.tar.gz After burning the microsd I copy brcmfmac4334-sdio.bin from https://github.com/LibreELEC/brcmfmac_sdio-firmware to /lib/firmware/brcm/brcmfmac4334-sdio.transpeed,8k618-t.bin renaming it in the sdcard. Doing this everythings works unless bluetooth and led display. the device is a Vontar h618 4g 32gb with FD650B-S chip for the led display. Yesterday i reflash finally this vontar with the original android firmware and install to my parents for tv watching. i will order this time a transpeed h618 4g 64g
  15. @L Jumadi yesterday i tried to reflash my vontar with the previous nick image (V20240726) wich has 6.7.12 kernel and source. After that i could advance some steps with the vfd tutorial but i got some error in the way. Anyway thanks very much to you and @Nick A for the help.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines