苦命的小編又接到新任務,要在工業PC上開發系統,限定使用Linux 當然我選擇安裝我的最愛Ubuntu 18.04 但因為會用到觸控螢幕的功能,18.04裝完沒辦法用觸控 不過試16.04是可以的;這表示應該有驅動程式可以裝,以下為我的解決流程。

先看看目前輸入設備有那些
指令:xinput

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ eGalax Inc. USB TouchController id=17 [slave pointer (2)]
⎜ ↳ eGalaxTouch Virtual Device for Single id=21 [slave pointer (2)]
⎜ ↳ PixArt USB Optical Mouse id=13 [slave pointer (2)]
⎜ ↳ Plus More Enterprise LTD. USB-compliant keyboard Consumer Control id=11[slave pointer (2)]
⎜ ↳ Plus More Enterprise LTD. USB-compliant keyboard Mouse id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Plus More Enterprise LTD. USB-compliant keyboard id=9 [slave keyboard (3)]

看到了關鍵字 eGalax Inc. USB TouchController

上官網找驅動程式吧!
http://www.eeti.com.tw/drivers_Linux.html

請確認你系統的kernel 跟架構 X86 / ARM

下載後解壓縮看到了 setup.sh
先給於執行權限 chmod a+x setup.sh

執行過程如下:
./setup.sh

() Driver installer for touch controller () Script Version = 1.04.6730

(I) Check user permission: root, you are the supervisor.
(I) Platform application binary interface = x86_64
(W) X server detected.

Declaration and Disclaimer
The programs, including but not limited to software and/or firmware (hereinafter referred to “Programs” or “PROGRAMS”, are owned by eGalax_eMPIA Technology Inc. (hereinafter referred to EETI) and are compiled from EETI Source code. EETI hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use and create derivative works of Programs for the sole purpose in conjunction with an EETI Product, including but not limited to integrated circuit and/or controller. Any reproduction, copies, modification, translation, compilation, application, or representation of Programs except as specified above is prohibited without the express written permission by EETI.

Disclaimer: EETI MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO PROGRAMS, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. EETI reserves the right to make changes without further notice to the Programs described herein. Licensee agrees that EETI does not assume any liability, damages or costs, including but not limited to attorney fees, arising out from Programs themselves or those arising out from the application or combination Programs into other products or circuit. The use or the inclusion of EETI’s Programs implies that the Licensee assumes all risk of such use and in doing so indemnifies EETI against all charges, including but not limited to any claims to infringement of any third party’s intellectual property right.

Do you agree with above patent declaration?
[Y] Yes, I agree. [N] No, I don’t agree.
Y

(Q) Which interface controller do you use?
(I) [1] RS232 [2] USB [3] PS2 : 2
(I) Please confirm the touch controller is linked with your device. Press [Enter] key to continue……….

(I) Found systemd service support in system
(I) Found a HID compliant touch controller.
(I) Found inbuilt kernel module: usbtouchscreen
(I) It is highly recommended to add it into blacklist.
(Q) Do you want to add it into blacklist? (y/n) y
(I) Add kernel module usbtouchscreen into /etc/modprobe.d/blacklist.conf.
(I) Found hidraw module enabled in system
(I) X.Org X server 1.20.4
(I) X version is 1.7.6 upwards
(I) Found uinput at path /dev/uinput
(I) Place eGTouch driver archive to /usr/local/eGTouch64withX.
(I) Create eGTouch daemon shortcut in /usr/bin.
(I) Create eGTouchU tool shortcut in /usr/bin.
(I) Create eCalib tool shortcut in /usr/bin.
(I) Found /bin/systemctl path for systemd service

(Q) How many controllers do you want to plug-in to system? [1-10]
(I) Default [1]:1
1
(I) Device Nums is set to 1
(I) Copy udev rule: 52-egalax-virtual-libinput.conf to /usr/share/X11/xorg.conf.d.
(I) Create eGTouchU shortcut in application list.
Created symlink /etc/systemd/system/multi-user.target.wants/eGTouchD.service → /etc/systemd/system/eGTouchD.service.

(I) Driver installation completed. Setup version 1.04.6730.
(I) Please reboot the system.

裝完就可以觸控了…

後記心得:凡事追根究底別輕易放棄才能航向偉大的航道…如果當初選擇重灌 16.04 雖然觸控可以用了,但你永遠也不知在Ubuntu中驅動怎麼裝,放棄很簡單堅持才固難 與大家共勉之~

喜歡我的文章嗎?歡迎按讚加分享/留言交流,或是點擊下方廣告讚助我喝一杯咖啡吧 ^_^ ⇩⇩⇩

Leave a comment

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *