The result above shows the resistive touch screen is corresponding to
/dev/input/event3
; The capacitive touch screen is corresponding to
`/dev/input/event2, so test capactive touch screen as below:
# export TSLIB_TSDEVICE=/dev/input/event2
# ts_calibrate
xres = 800, yres = 480
Took 4 samples...
Top left : X = 57 Y = 56
Took 2 samples...
Top right : X = 743 Y = 64
Took 4 samples...
Bot right : X = 742 Y = 438
Took 4 samples...
Bot left : X = 61 Y = 443
Took 4 samples...
Center : X = 398 Y = 246
-8.802551 1.024123 -0.004216
-8.078796 -0.002245 0.998305
Calibration constants: -576884 67116 -276 -529452 -147 65424 65536
#
Power off the MYD-AM335X series development board
,
connect MY-
TFT070RV2 module to MYD-AM335X series development board, power on the
board and view the device node in /dev/input directory.
# ls /dev/input
by-path event0 event1 event2 event3 mice mouse0
# cat /sys/class/input/event0/device/name
beeper
# cat /sys/class/input/event1/device/name
ti-tsc
# cat /sys/class/input/event2/device/name
tps65217_pwrbutton
# cat /sys/class/input/event3/device/name
volume_keys@0
#
The result above shows the resistive touch screen is corresponding to
/dev/input/event1
, so test resistive touch screen as below:
# export TSLIB_TSDEVICE=/dev/input/event1
# ts_calibrate
35
Содержание MYD-AM335X
Страница 1: ......
Страница 33: ...After complete the picture displays just right for the LCD 33 ...
Страница 43: ...Exchange roles of the two boards the result is the same 43 ...
Страница 65: ...Figure 5 2 9 Finish Creating a New Project 65 ...
Страница 100: ...Sales Email sales myirtech com Phone 86 755 22984836 Fax 86 755 25532724 Website www myirtech com 100 ...