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.

OPI Zero and XPT2046 (ADS7846) controller

Featured Replies

Hello all,

 

i wonder what is the status of the support for this touchcontroller.

I've got to know that in latest kernels there is prebuilt support for it and in my latest armbian there is a module for this. But following this:

https://www.raspberrypi.org/forums/viewtopic.php?t=143581

i failed to make it work. May be i've done it the wrong way in armbianEnv.txt tho.

Should i just insert theese line into this file?

dtparam=i2c_arm=on
dtparam=spi=on
dtoverlay=ads7846,penirq=25,speed=10000,penirq_pull=2,xohms=150

According to dmesg log, module is loading, but nothing happens when i touch the screen.

 

If not, should i instead use methods that suggest compiling this driver?

https://sourceforge.net/p/openipmi/linux-ipmi/ci/master/tree/drivers/input/touchscreen/ads7846.c

 

I've made my tft working relatively easily, but now i seem to completely stuck.

  • Author
10 hours ago, Igor said:

 

Are you using 4.17.y or 4.14.y kernel? In 4.17.y this might not work properly yet.

i'm on 4.14 tho. can you confirm that i can simply copy those device tree lines to armbianEnv.txt without changes? i'm not sure here, but don't know the right answer.

3 hours ago, waylander said:

can you confirm that i can simply copy those device tree lines to armbianEnv.txt without changes

 

Not that copy/paste simple. Check this generic DT manual https://docs.armbian.com/User-Guide_Allwinner_overlays/. Do some extensive search with www.armbian.com/search since its possible that someone already succeed in this. I don't deal much with those displays to give you the straight answer but I guess it should be possible to set it up.

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.