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.

ads7846 / Banana pro

Featured Replies

Hi,

 

I own several SPI touch displays, and I would like to use them with armbian.

I got the displays to work already, but I'm now trying to get the touchpanels to work also.

 

I'm using Debian Jessie Server Legacy 5.20 with a BananaPro board.

 

I tried to add the module to /etc/modules :

ads7846_device gpio_pendown=17 cs=1 x_plate_ohms=400 pressure_max=255 swap_xy=0
ads7846

... does not work, I don't even see an error in dmesg.

I also tried to put the options in a /etc/modprobe.d/ads7846.conf, /etc/modprobe.d/ads7846_device.conf and /etc/modprobe.d/fbtft_device.conf but nothing works.

 

Manual modprobe :

modprobe ads7846 

loads fine (I could see it in lsmod), but

modprobe ads7846_device gpio_pendown=17 cs=1 x_plate_ohms=400 pressure_max=255 swap_xy=0

returns modprobe: FATAL: Module ads7846_device not found.

 

Do you have an idea ?

Thank you !

You need to add at least something like this:

https://github.com/raspberrypi/linux/blob/rpi-4.4.y/arch/arm/boot/dts/overlays/ads7846-overlay.dts

This is valid for recent Vanilla kernel, for legacy ... module is present:

https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-sun7i-default.config#L1702

but perhaps it has to be enabled in HW config (script.bin).

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.