In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to debug embedded Linux drivers in eGalaxTouch. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
1. Connect the touchscreen to USB first. The terminal prints the following information: [138.121969] usb 2-1.2: USB disconnect, device number 3 [140.030843] usb 2-1.2: new full-speed USB device number 4 using musb-hdrc [140.151688] usb 2-1.2: New USB device found, idVendor=0eef, idProduct=c002 [140.158940] usb 2-1.2: New USB device strings: Mfr=1, Product=2 SerialNumber=0 [140.166653] usb 2-1.2: Product: eGalaxTouch P80H32 4070 v00_M03 k4.02.146 [140.173809] usb 2-1.2: Manufacturer: eGalax Inc.
You can know the manufacturer of the screen from USB's self-description, and then go to the official website to have a look.
two。 Official website download driver # official website http://www.eeti.com/# official website driver http://www.eeti.com/drivers_Linux.html
Choose the appropriate driver according to your own platform. For example, my ARM architecture, Linux, will be chosen.
EGTouch_v2.5.7413.L-ma ARM / MIPS 2019.03.133. Configure and modify the kernel according to the official documentation: "EETI_eGTouch_Programming_Guide" 4. Update the kernel and install the driver sh setup.sh5 in the file system. Modify / etc/eGTouchL.ini file
There are detailed instructions in the file. Note that many embedded devices use tslib, so the BtnType project should be modified to 1.
6. Running eGTouchD, / dev/input/ directory should have more evenX;ls / dev/input/cat / proc/bus/input/devices7. Use the official test tool to test arm-linux-gnueabihf-gcc-o GetEvent.out GetEvent.c./GetEvent.out / dev/input/event1 # when you touch the touch screen, you can see a numerical change / / press [ABS_X] code = 0, value = 2012 [ABS_Y] code = 1, value = 2047 [ABS_PRESSURE] code = 24 Value = 1 [SYN_REPORT] code = 0, value = 0 / / lift [ABS_PRESSURE] code = 24, value = 0 [SYN_REPORT] code = 0, value = 0 this is how eGalaxTouch debugs embedded Linux drivers. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.