i.mx6 Linux Egtouch touchscreen porting One, Download driver:http://www.eeti.com.tw/drivers_Linux.htmlSecond, read: Eeti egtouch Linux Programming Guide Three, System boot configuration: ... # I put the driver directly in the kernel, and did not make the module # insmod/module/hid-Multitouch.ko # Use EGTOUCH_V2.5.4330. l-ma/egtoucharm/Egtoucharmnonx inside the file/usr/bin/egtouchd &# Sleep1#I was through this sleep 1 found that the device node does not exist caused by while[!-e/dev/input/Event4] DoEcho"Please hang up USB TOUCH!"Sleep1Done Export Tslib_root=/usr/local/tslib-instal export Tslib_tsdevice=/dev/input/EVENT4 Export Tslib_calibfile=/etc/pointercal Export Tslib_conffile= $TSLIB _root/etc/ts.conf Export Tslib_plugindir= $TSLIB _root/lib/TS Export Tslib_fbdevice=/dev/fb0 Export PATH=/usr/local/tslib-instal: $PATH export Ld_library_path=/usr/local/trolltech/qtembedded-4.8.5-arm/Lib Export qt_qws_fontdir=/usr/local/trolltech/qtembedded-4.8.5-arm/lib/Fonts Export Qws_mouse_proto=tslib:/dev/input/event4 ... Iv. Highlights of the issue:1Question 1: Not sure that input input: workaround:1. Run: cat/proc/bus/input/devices; [Email protected]/etc$ cat/proc/bus/input/devices ... I:bus=0006Vendor=0eef product=0020version=0001N:name="Egalaxtouch Virtual Device for Multi"P:phys=S:sysfs=/devices/Virtual/input/input5 U:uniq=h:handlers=cpufreq_interactive event4 B:prop=2B:ev=b b:key= - 0 0 0 0 0 0 0 0 0 0B:abs=6608000 1000003I:bus=0006Vendor=0eef product=0010version=0001N:name="Egalaxtouch Virtual Device for single"P:phys=S:sysfs=/devices/Virtual/input/input6 U:uniq=h:handlers=event5 B:prop=2B:ev=b b:key=30000 0 0 0 0 0 0 0 0B:abs=3[email protected]/etc$2. By h:handlers the Egtouch corresponds to/DEV/INPUT/EVENT4,/dev/input/Event5, two try it out and know which one is going to work. 2Question 2: The system performs a ts_calibrate flash on the first boot (often not even flashing), resulting in a non-normal correction: Workaround:/usr/bin/egtouchd &device insertion detection mechanism, because it takes a little time to generate the above event4, EVENT5, so that the tslib in the back can be correctly identified. while[!-e/dev/input/Event4] DoEcho"Please hang up USB TOUCH!"Sleep1 Done3. Question 3:tslib:selected Device isNot a touchscreen (must support ABS and KEYEventtypes) Workaround:1may be because the driver does not support, replace the standard driver, because some drivers are others on the standard driver modified driver, so it is best to replace the official standard driver;2. Export tslib_tsdevice=/dev/input/Event4 pointing to the input device is not correct, pay attention to modify the correct input device;
i.mx6 Linux Egtouch Touchscreen porting