Industrial flat panel (resistive screen) touch screen driver installation and calibration under Ubuntu system
Preparation:
※Touch screen driver:pmLinux-Ubuntu
※Install the touch screen calibration tool: xinput-calibrator
※System version: Ubuntu20.04
※The industrial tablet is connected to the Internet
- Update the software package list, Ctrl+Alt+T to open the terminal, Input in terminal
sudo apt update
Input in terminal:sudo apt install git
Input in terminal:sudo apt upgradeUpgrade installed software packages
Input in terminal:sudo apt dist-upgradeUpgrade system kerne
Input in terminal:reboot Restart the computer
2、Unzip and copy pmLinux Ubuntu to the Downloads directory, and open the terminal in the Downloads directory(Terminal)
Input in terminalcd pmLinux-Ubuntu
Input in terminal
chmod +x install.sh
sudo ./install.sh
Wait for the driver installation to complete. After installation, enter reboot to restart the computer
3、After restarting and entering the desktop, press Ctrl+Alt+T to open the terminal installation calibration tool
xinput-calibrator tool:sudo apt-get install xinput-calibrator
Xinput tool:sudo apt-get insatll xinput
Calibration Example:
View touch devices id:xinput_calibrator –list
As can be seen from above:device name:“DIALOGUE INC PenMount USB” id=10
Calibrate touch devices:xinput_calibrator -v –device
This is for:xinput_calibrator -v –device 10
Input in terminal this command will enter the calibration page
4、Perform page calibration on the displayed screen touch calibration page, and the terminal will output the data after screen calibration;
- Copy the screen calibration data according to the prompts to the 99-touchscreen-evdev.conf file in the /etc/X11/xorg. conf. d/ directory. This blog post is for the distribution system, and the path is/usr/share/X11/xorg. conf. d/. If there is no 99-touchscreen-evdev.conf file, you can manually create one.
Manual creation method:
A.By pressing Ctrl + Alt + T Combination key to open terminal window
B.Input in terminal
cd /usr/share/X11/xorg.conf.d
C.Create using a text editor 99-touchscreen-evdev.conf file。You can use a command-line text editor such as nano
Input in terminal:sudo nano 99-touchscreen-evdev.conf
D.Paste the calibrated data of the output screen in the editor, note: all original data in the illustration needs to be deleted!
- After completing the editing in the editor, use the editor's commands to save the file. in nano ,press down Ctrl + O save,then press down Enter confirm,final press down Ctrl + X Exit the editor.
After completing the above steps,99-touchscreen-evdev.conf The file should have been created and located in /usr/share/X11/xorg.conf.d .
Please remember to back up the original file before modifying the configuration file to prevent configuration errors.
At this point, the touch screen issue has usually been resolved. If it is not resolved, please restart the computer and test it. If there are still problems, check if all steps are configured correctly or consult your after-sales technical personnel for analysis.
Industrial tablet Ubuntu system installed 4G module
Common QA answers for M1AMD series products
Related Article
