arcadialabs Posted October 1, 2016 Posted October 1, 2016 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 !
Igor Posted October 2, 2016 Posted October 2, 2016 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).
Recommended Posts