2 2
icce

Touch screen in Pine64

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?

Share this post


Link to post
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?!

Share this post


Link to post
Share on other sites

Hello 

I am having the same issue with the BPI-M64 (same chipset) is there any new information of what we should do? or where should we look for a solution? 

Any guidance of how to proceed?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
2 2