Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to interface Orange pi One with kedei 3.5" hdmi lcd

Featured Replies

Hello, 

I've been trying to interface Kedei hdmi 3.5 inch hdmi lcd (480x320) with orangepi one.
So far i"ve been unable to display anything on lcd using Armbian mainline kernal image.

But with legacy kernal using h3disp command i was able to change the resolution but the lcd than gave message " Not Supported".

Can someone please help me how to do this?

This was tricky enough on raspberry pi, an unsupported screen on a supported platform, where I finally got it working. I haven't even tried to get it working on this half-supported platform.
What I had to do on raspberry was add one line to /boot/config.txt

dtoverlay=ads7846,cs=0,penirq=25,penirq_pull=2,speed=10000,keep_vref_on=0,swap_xy=1,pmax=255,xohms=150,xmin=5837,xmax=35819,ymin=59198,ymax=27978
please note that the [xy][min|max] are calibrated values for my screen.

And I needed this in a new file in /usr/share/X11/x.org.conf called 98-calibration.conf

Section "InputClass"
        Identifier "calibration"
        MatchProduct "ADS7846 Touchscreen"
        Option  "MinX" "5837"
        Option  "MaxX" "35819"
        Option  "MinY" "27978"
        Option  "MaxY" "59198"
        Option  "SwapXY" "1"
        Option  "SwapAxes" "1"
        Option  "InvertX" "0"
        Option  "InvertY" "1"
        Option  "TransformationMatrix" "1 0 0 0 -1 1 0 0 1"
EndSection
I think I added these max and min x and y values in one place more than I needed, but when it finally worked,.....
The dtoverlay ads7846 is not compiled for armbian as far as I know. I don't even have the source code.

good luck.

  • Author
On 26/01/2018 at 8:53 PM, FredrikA said:

This was tricky enough on raspberry pi, an unsupported screen on a supported platform, where I finally got it working. I haven't even tried to get it working on this half-supported platform.
What I had to do on raspberry was add one line to /boot/config.txt

dtoverlay=ads7846,cs=0,penirq=25,penirq_pull=2,speed=10000,keep_vref_on=0,swap_xy=1,pmax=255,xohms=150,xmin=5837,xmax=35819,ymin=59198,ymax=27978
please note that the [xy][min|max] are calibrated values for my screen.

And I needed this in a new file in /usr/share/X11/x.org.conf called 98-calibration.conf

Section "InputClass"
        Identifier "calibration"
        MatchProduct "ADS7846 Touchscreen"
        Option  "MinX" "5837"
        Option  "MaxX" "35819"
        Option  "MinY" "27978"
        Option  "MaxY" "59198"
        Option  "SwapXY" "1"
        Option  "SwapAxes" "1"
        Option  "InvertX" "0"
        Option  "InvertY" "1"
        Option  "TransformationMatrix" "1 0 0 0 -1 1 0 0 1"
EndSection
I think I added these max and min x and y values in one place more than I needed, but when it finally worked,.....
The dtoverlay ads7846 is not compiled for armbian as far as I know. I don't even have the source code.

good luck.

Hmm. Ok. Thanks for the reply

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.