Problèmes difficiles d'un appareil simple - écran tactile

Problèmes difficiles d'un appareil simple, écran tactile capacitif sur ft5406

J'ai nettoyé un nuage un jour et j'ai trouvé mes notes sur le problème d'un écran tactile avec un écran tactile capacitif sur ft5406. Voici comment cet article est apparu, que se passe-t-il si quelqu'un d'autre tombe sur quelque chose comme ça pendant le développement ...





Je suis tombé sur un problème avec un écran tactile capacitif sur ft5406, l'écran tactile à un moment donné vient de raccrocher et a refusé de continuer à fonctionner. Eh bien, maintenant plus à ce sujet. 





Fer à repasser: marsboard sun7i A20. 





Logiciel: uboot 2017, kernel 4.10, LUbuntu 16.04. 





L'essence du problème. 





, , . .. , .  





, Xinput, Xorg, . 





.. touchscreen xinput, (xinput), xinput test – xinput test-xi2 - , XI 2.0 (The X Input Extension 2.x), . . , , - .





, evt-ft5x06 ( ft5406) evtest, , . , , , . xserver-xorg-input-evdev , ( ft5406) , ( ) , .





, : 





  • xserver-xorg-input-libinput 





  • xserver-xorg-input-mtrack





/usr/share/X11/xorg.conf.d , libinput , mtrack , , touchpad, . .. , touchpad , . 





.. multitouch, XI 2.0 , . 





, , devicetree ( devicetree kernell , 3.11) , ... 





/drivers/input/touchscreen/ edt-ft5x06.c : 





static const struct edt_i2c_chip_data edt_ft5x06_data = { 
     ...
    .max_support_points = 5, 
    ...
}; 
      
      



5 1. .  





. , , , . 





,   





static irqreturn_t edt_ft5x06_ts_isr(int irq, void *dev_id) 







, . 





.





. , .. ( ) . 








All Articles