> That information is better fetched from 1) ACPI or DT, if available, 2) made
> available through sysfs, or 3) provided in the firmware.
> 
> 1) silead_ts does this
> 2) chipone_icn8318 does this

Sorry, I was mistaken. chipone_icn8318 tries to fetch the information from
DeviceTree. No sysfs interface is provided.

> 3) gslx680-acpi does this

Basically, the information that's needed is:

- Touchscreen resolution (horizontal and vertical)
- If the touchscreen is inverted horizontally or vertically
- If the x and y axes are swapped
- (For some devices) If finger tracking is supported in hardware

It's possible to recalibrate these to a certain degree, but this prevents the
device from "just working". And if finger tracking isn't supported, it will
behave very erratically.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to