Hi,

On 11-01-15 23:03, Jens Lucius wrote:
I am also trying to get the touchscreen working (olimex 4.3 Inch display
works fine, thanks!)

I tried using the driver in the mainline kernel which I suppose was posted
first here:
https://groups.google.com/forum/#!topic/linux-sunxi/DzcsAsvmrcM

Any reason why this should not work (Olimex A20-Micro for me)?

Same story as my answer to the other Jens, copy and pasted here for
convenience:

Ah, sorry I did not look at $subject, and thought we we were talking
about a capacative touchscreen as found on most tablets.

So yes support for a resistive touchscreen with the build-in resistive
touchscreen controller is upstream, and ti should work fine.

I'm pretty sure about that as I wrote the code :)

But to use this you must explicitly enable it in devicetree, iow you
need this change:

--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
@@ -155,6 +155,10 @@
                        };
                };

+         rtp: rtp@01c25000 {
+                 allwinner,ts-attached;
+         };
+
                uart0: serial@01c28000 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&uart0_pins_a>;

And then rebuild the dtb, and put it where your boot setup
searches for the dtb.

Then you can run e.g. evemu-record from a text-console and it
should show a touchscreen and report events when you press it.

Then follow this howto:
http://www.dimrobotics.com/2013/06/olinuxino-a13-touchscreen-support-in.html
To get it to work with Xorg

I've not yet tried this with the new simplefb stuff, but it
should work. Let me know if you hit any problems.

Regards,

Hans

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to