NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
uts(4) touchscreen calibration
Hi!
One year ago I successfully used uts(4) on a Raspberry-Pi with a ViewSonic
touch screen monitor. It worked perfectly after eliminating the black
borders in the RPi's config.txt.
Now we got another ViewSonic touch screen (model TD2421), which is no
longer correctly calibrated. Touching into the upper left quarter of the
display seems to move the mouse in X11 over the whole screen.
Both have a native resolution of 1920x1080. Is there any possibility to
calibrate uts(4) or wsmouse to match this monitor?
The dmesg-output of the working ViewSonic (Quanta):
---8<---
uhidev2 at uhub1 port 5 configuration 1 interface 0
uhidev2: Quanta OpticalTouchScreen, rev 1.10/2.26, addr 5, iclass 3/0
uhidev2: 18 report ids
uts0 at uhidev2 reportid 1wsmouse0 at uts0 mux 0
uhid3 at uhidev2 reportid 2: input=0, output=0, feature=1
uhid4 at uhidev2 reportid 3: input=0, output=0, feature=71
uhid5 at uhidev2 reportid 4: input=0, output=0, feature=1023
uhid6 at uhidev2 reportid 5: input=0, output=0, feature=11
uhid7 at uhidev2 reportid 6: input=0, output=0, feature=1023
uhid8 at uhidev2 reportid 7: input=0, output=0, feature=15
uhid9 at uhidev2 reportid 8: input=0, output=0, feature=1023
uhid10 at uhidev2 reportid 9: input=0, output=0, feature=1023
uhid11 at uhidev2 reportid 10: input=0, output=0, feature=63
uhid12 at uhidev2 reportid 11: input=0, output=0, feature=1023
uhid13 at uhidev2 reportid 12: input=0, output=0, feature=2
ums0 at uhidev2 reportid 13: 2 buttons
wsmouse1 at ums0 mux 0
uhid14 at uhidev2 reportid 14: input=0, output=0, feature=963
uhid15 at uhidev2 reportid 15: input=0, output=0, feature=1023
uhid16 at uhidev2 reportid 16: input=0, output=0, feature=899
uhid17 at uhidev2 reportid 17: input=0, output=0, feature=147
uhid18 at uhidev2 reportid 18: input=0, output=0, feature=1023
---8<---
And the dmesg-output of the bad ViewSonic:
---8<---
uhidev3 at uhub2 port 3 configuration 1 interface 0
uhidev3: Wistron Corporation Optical Touch Screen, rev 1.10/20.37, addr 7, iclass 3/0
uhidev3: 13 report ids
uts0 at uhidev3 reportid 1wsmouse1 at uts0 mux 0
uhid2 at uhidev3 reportid 2: input=0, output=0, feature=2
uhid3 at uhidev3 reportid 7: input=62, output=62, feature=62
uhid4 at uhidev3 reportid 8: input=0, output=0, feature=1
ums1 at uhidev3 reportid 13: 2 buttons
wsmouse2 at ums1 mux 0
---8<---
(Strange, that it doesn't list all of the 13 report ids.)
--
Frank Wille
Home |
Main Index |
Thread Index |
Old Index