jpezz
Posts: 97
Joined: Fri Apr 26, 2013 6:14 pm
Location: North Carolina, U.S.

plexar 2430mw touchscreen gets error mesage and won't align.

Wed Apr 17, 2019 8:30 pm

First, let me say I've never had any trouble in the past with HP or Acer touchscreens. They were simply plug-and-go.

Code: Select all

$uname -a
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

Code: Select all

dmesg
shows
usbhid 1-1.3:1.1: couldn't find an input interrupt endpoint
The touchscreen is aligned so that where I touch is about 3/4" above and to the left of the arrow so to touch a particular point, I have touch above/left of what I want to touch.

If I boot using an Acer touchscreen monitor, then, with the login prompt showing, I disconnect the Acer HDMI and USB and replace them with the Plexar HDMI and USB, it works perfectly and where I touch is right on.

Code: Select all

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1824 x 984, current 1824 x 984, maximum 1824 x 984
default connected 1824x984+0+0 0mm x 0mm
1824x984 0.00*
which is wrong because this is a 1920x1080 monitor.

I install xinput-calibrator and run it. I select the four corners and it tells me

Code: Select all

# xinput_calibrator
Calibrating standard Xorg driver "Pixart Imaging, Inc. Optical Touch"
current calibration values: min_x=1497, max_x=63535 and min_y=3064, max_y=61939
If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
Identifier "calibration"
MatchProduct "Pixart Imaging, Inc. Optical Touch"
Option "MinX" "2923"
Option "MaxX" "62126"
Option "MinY" "6330"
Option "MaxY" "59421"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection
I try

Code: Select all

# xinput_calibrator --precalib 2923 62126 6330 59421 
and it gives me four new numbers.

So any suggestions?

Return to “Troubleshooting”