Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

These are the VFD conf files from https://github.com/ophub/amlogic-s9… #15

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

phodina
Copy link
Contributor

@phodina phodina commented Jun 6, 2023

Hi,

I found these configuration files for VFD driver/daemon on unofficial repository for Armbian.

The configuration for X96 Max Plus works for me and it would be great to merge them into one.

With the permission of the author.

Copy link
Owner

@arthur-liberman arthur-liberman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please rename the files to follow the naming convention that the rest of the vfd files have?

hk1-x3.conf Outdated Show resolved Hide resolved
hk1box.conf Outdated Show resolved Hide resolved
t95.conf Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this t95m-s905x-vfd have the wrong config? Or are there multiple S905X variations? I'm pretty sure I still have a S905X T95m, and the config in my repo definitely works.
If this config is correct, please rename it to t95m-s905x-2-vfd.conf and I will rename the existing one with 1.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't guarantee the validity of this config as I don't own the device. If you want I can just remove this device and use your configuration.

t95z-plus.conf Outdated Show resolved Hide resolved
tx3-mini.conf Outdated Show resolved Hide resolved
tx9-pro.conf Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--- tx9-pro.conf	2023-06-10 00:27:36.961211989 +0200
+++ tanix-tx9-pro-vfd.conf	2023-06-10 00:27:17.505131843 +0200
@@ -1,14 +1,14 @@
 # This file must be renamed to vfd.conf and placed in the /storage/.config/ folder.
 #
-# Tanix TX9 Pro (S912) configuration
+# Tanix TX9 Pro configuration
 #--------------------
 #gpio_xxx:
 # [0] 0 = &gpio, 1 = &gpio_ao.
 # [1] pin number - https://github.com/openSUSE/kernel/blob/master/include/dt-bindings/gpio/meson-gxl-gpio.h
 # [0] Reserved - must be 0.

-vfd_gpio_clk='0,75,0'
-vfd_gpio_dat='0,74,0'
+vfd_gpio_clk='0,76,0'
+vfd_gpio_dat='0,75,0'
 vfd_gpio_stb='0,53,0'

 #chars:
@@ -34,6 +34,3 @@
 # [3] - Controller.

 vfd_display_type='0x00,0x00,0x00,0x00'
-
-#functions='alarm usb play pause colon lan wlan'
-functions=''

Are you sure? The vfd_gpio_clk and vfd_gpio_dat are allocated to different pins.

whale.conf Outdated Show resolved Hide resolved
x92.conf Outdated Show resolved Hide resolved
x96max.conf Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as x96air, maybe worth unifying them?

x96maxplus.conf Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

@arthur-liberman
Copy link
Owner

Thanks for this, but I made some comments, as I can't accept it as-is.

@phodina
Copy link
Contributor Author

phodina commented Jun 9, 2023

Hi @arthur-liberman,

thanks for the review. I've applied most of your points.

@phodina phodina requested a review from arthur-liberman June 12, 2023 08:00
Copy link
Owner

@arthur-liberman arthur-liberman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
Mostly nitpicking, but I'd like names to be consistent. It makes it easier for me to track/find things later.

h96max-x3-vfd.conf Outdated Show resolved Hide resolved
hk1box-vfd.conf Outdated Show resolved Hide resolved
t95-vfd.conf Outdated Show resolved Hide resolved
tanix-tx3-vfd.conf Outdated Show resolved Hide resolved
tx9-pro.conf Outdated Show resolved Hide resolved
x96max-vfd.conf Outdated Show resolved Hide resolved
@phodina
Copy link
Contributor Author

phodina commented Jun 12, 2023

No problem. I also like consistency at least in names since the component-wise it's a mess on these boxes :-D

@phodina phodina requested a review from arthur-liberman June 12, 2023 22:09
@arthur-liberman
Copy link
Owner

This is great, thank you.

@arthur-liberman arthur-liberman merged commit beea986 into arthur-liberman:master Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants