¿ªÔÆÌåÓý

sBITX touchscreen calibration help


 

Looking for some guidance here...
My touchscreen calibration is off to the left and slightly high. So to hit the IF button, I actually have to click the Drive button.

I have installed xinput_calibrator and ran it. It reports:
current calibration values: min_x=0, max_x=65535 and min_y=0, marx_y=65535

And it provides me new values that are supposed to go into either /etc/X11/xorg.conf.d/99-calibration.conf or in /usr/share/X11/xorg.conf.d/99-calibration.conf
OK, so I add the new values to *both* places. Checked the permissions and they are similar to other startup files. rw r r.

Reboot, and no change to calibration.
Run xinput_calibrator again, and it still reports:
current calibration values: min_x=0, max_x=65535 and min_y=0, marx_y=65535

So obviously I must be putting the calibration in the wrong place since it is not picked up by xinput_calibrator and there is NO change to my touchscreen calibration.??

Anybody been down this path before and can provide me with some hints?

73
Mark
?
--
AJ6CU/7
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

Hi Mark.

Is the owner/group root:root for the calibration file?



-JJ


 

Yes owner group is root root

am I correct in assuming the fact that the xinput_calibration doesn¡¯t pick up the calibration numbers I added to the 99-Calibration file mean that it ?was not found?

mark

--
AJ6CU/7
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

Mark,
I mean the selected area is bigger than what was produced on the screen. try to select a smaller area.
--
Gyula HA3HZ


 

Gyula,

Thanks. To clarify your comment, are you referring to the reported min/max being the default when running input_calibrator and not picking up what is in the 99-calibration.conf file?

?I tried some larger and smaller x/y in that file and nothing seems to make an impact. The cursor is always to the right of the point I touch.

?73
?Mark
--
AJ6CU/7
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

OK, I resolved this. ?Traced it to the default screen resolution as set in the raspi-config being something other than default. Changed it to default and touch is now calibrated.

?I don't think I ever got xinput_calibrator working. But I really don't care now that the touch on the touchscreen is where it should be...

?73
?Mark
--
AJ6CU/7
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu