Comments (9)
As I mentioned in the other issue with a similar problem, I've not tested this on 5.x kernel in general, nor on Armbian specifically.
Maybe they have the pins mapped differently in the new/mainline kernel and that's why it doesn't work, I don't really know.
Thank you Arthur! I carefully compared the GPIO mapping between the two systems, and there are indeed some differences, and now I have successfully lit up the LCD screen!
Thank you very much!
from linux_openvfd.
Hi @lChiehZ
Could you please share your working config file or explain how you worked out the correct values? I have got a X96 Air running Manjaro that I failed to get working with openvfd, even tho it works fine with openelec.
Thanks
from linux_openvfd.
BTW, It works fine when I use CoreELEC-Amlogic-ng.arm-19.2-Matrix_rc2 With this vfd.conf:
vfd_gpio_clk='0,65,0'
vfd_gpio_dat='0,64,0'
vfd_gpio_stb='0,0,0xFF'
vfd_chars='0,4,3,2,1'
vfd_dot_bits='0,1,3,2,4,5,6'
vfd_display_type='0x00,0x00,0x00,0x06'
from linux_openvfd.
As I mentioned in the other issue with a similar problem, I've not tested this on 5.x kernel in general, nor on Armbian specifically.
Maybe they have the pins mapped differently in the new/mainline kernel and that's why it doesn't work, I don't really know.
from linux_openvfd.
@lChiehZ Bumping this thread to see if you can post your findings. Curious as well.
from linux_openvfd.
@Jeebus678 see the post from 16th Oct from chbgdn in #8 . I've not tried it yet but please let us know if it works for you.
from linux_openvfd.
Sorry I'm just seeing it now, I don't have the equipment in my hands right now, but I can tell you the points that need attention.
For example, in the dtb file
leds {
compatible = "gpio-leds";
status = "okay";
sys_led {
label = "sys_led";
gpios = <0x75 0x0b 0x00>; //0x75 is the phandle for bank@14, note to modify your own
default-state = "on";
linux,default-trigger = "default-on";
};
};
The above code is correct to display the power light normally.
Then check the GPIO mapping of your own device, e.g.
This conf works fine in CoreELEC, the
vfd_gpio_clk='0,65,0'
vfd_gpio_dat='0,64,0'
so check what gpio pins 65 and 64 are in CoreELEC.
Finally, find the corresponding pins in the system you need to use
For example, the last conf I used was.
vfd_gpio_clk='0,64,0'
vfd_gpio_dat='0,63,0'
vfd_gpio_stb='0,0,0xFF'
vfd_chars='0,4,3,2,1'
vfd_dot_bits='0,1,3,2,4,5,6'
vfd_display_type='0x00,0x00,0x00,0x06'
Good luck!
from linux_openvfd.
Thank you for the reply. I am trying to work the vfd on a tx mini 3, which is different although I imagine the idea is the same. I'm having trouble mapping the GPIOs. How do I figure out what pins are in charge of the 7-segment, and once I have that declared within my DTB and/or my vfd.conf, how do I actually write to the LCD? Thanks.
from linux_openvfd.
Closing due to lack of activity. Please let me know if you still have an issue with the latest commits pushed recently.
from linux_openvfd.
Related Issues (20)
- Display something other then the time? HOT 4
- Warning and error while compiling driver HOT 5
- OpenVFD: Failed to verify VFD config file, attempt using device tree HOT 25
- How to enter a port number greater than 255? HOT 9
- No LED indication on tanix tx6 android box HOT 6
- Kernel module name collision HOT 1
- Patch of_get_named_gpio_flags on latest kernels HOT 2
- License HOT 1
- OLED stays off when device comes out of suspend HOT 1
- Upstream into the kernel HOT 3
- What is the required file ? HOT 1
- RK3566 - "periphs-banks" chip not found (multiple banks issue, new $ARCH?) HOT 2
- Cannot paste vfd.conf into storage/config folder
- Missing gpiochip_find() when compiling on newer kernels HOT 9
- OpenVFD: Failed to verify VFD configuration file, attempt using device tree as fallback. HOT 3
- Q: How to compile? HOT 20
- Auto switch to wrong controller HOT 8
- Problems configuring X96 Air Q1000 VFD display HOT 43
- vfd.conf - correct pin numbers and Display Type setting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux_openvfd.