I have a touch panel based on cypress’s TMA568 for nano, and the touch panel’s driver work well.
But now I have a problem as follows: (1) If I login nano's ubuntu and do nothing for a while, the ubuntu system goes to sleep. In this case, when I touch the touch panel the ubuntu will be awakend immediately. (2) If I DO NOT login nano's ubuntu and do nothing for a while, the ubuntu system goes to sleep. In this case, I touch the touch panel, but the ubuntu system can not be awakend for ever. The difference between these two case is whether login nano's ubuntu system for just one time. If I DO NOT login nano's ubuntu, when ubuntu goes to sleep, I will never wake up the system by touch panel. But, in this case I can wake up the ubuntu by mouse and keyboard. And in this case, the touch panel's driver can invoke interrupt and report touch axis correctly. I have been confused by this problem for several days, thank you very much!