I tried putting the calibration stuff in 
/etc/X11/xorg.conf.d/99-screen-calibration.conf
( I also tried /usr/share/X11... etc  once the machine starts you can get the 
properties
and see the calibration is what was set by the conf file. The when you do the 
map-to-output
put it back to some other values. 

Ta

Mal



 
----- Original Message -----
From: Peter Hutterer (peter.hutte...@who-t.net)
Date: 14/03/19 22:40
To: malcolm moore (st-malcolm.mo...@whsg.info)
Cc: xorg@lists.x.org
Subject: Re: Confusing interactions between xinput mapping and xinput set-prop

On Thu, Mar 14, 2019 at 10:59:06AM +0000, malcolm moore wrote:
> If I use xinput set-prop to change the calibration matrix ( because I am
> trying to use a SmartBoard as a second touch screen which are notoriously
> inaccurate ) I can set the values to whatever I like. So far so good, but
> then I have to do the xinput --map-to-output to tell the machine where the
> touch is coming from. This resets the values I first set. If I do the
> xinput --map-to-output first the xinput set-prop resets that. How do I do
> both

you can't. map-to-output is a convenience helper because it's the prime
use-case for the calibration matrix and in the end writing map-to-output
was more efficient than explaning how to set the calibration matrix to every
user that filed a bug report.

If your touchscreen needs calibration *and* screen mapping, you need to
manually calculate the matrix and then set it directly.

Cheers,
  Peter






_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to