Jump to content

Touch screen in Pine64


icce

Recommended Posts

Mainline stable Armbian stable for Pine64 worked great.

I have successfully make my 3.5 TFT screen work but not the touch screen. I read some tutorials,  mostly guide.

This guide for TFT and Touch is really detailed. For touch:

- Step 1: ads7846 driver seems ok

- Step 2: ads7846_device there is a warning after make and make install, and it said to skip depmod

- After this, I tried 

sudo modprob ads7846
sudo modprob ads7846_device model=7846 cs=1 gpio_pendown=1 keep_vref_on=1 swap_xy=1 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y_max=3900

ads7846 is ok (confirmed with lsmod).

But ads7846_device return invalid argument, it means that module ads7846_device is not in the system.

Anyone succeed with Pine64?

Link to comment
Share on other sites

Follow my attempt to make touch work on Pine64.

I confirmed that "ads7846" and "ads7846_device" already installed. Even though there was a warning about missing "system.map" but it seems those modules have been installed.

lsmod and ads7846 was there but not ads7846_device.

I tried

dmesg | grep ads7846

but it gave error:

ads7846_device: Unable to get IRQ assigned to gpio_pendown'

It seems that Armbian Mainline on Pine64 has not configured assign interrupt for pin?! Or kernel for Pine64 cannot IRQ for GPIO71

sudo modprobe ads7846_device model=7846 cs=1 gpio_pendown=71 keep_vref_on=1 swap_xy=1 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y_max=3900

Any idea?!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines