HI Does someone know how to correctly operate on-off function of the tomtom?
For my debian to nicely shutdown I'd like to read power button state but how? On the event interface there's only touchscreen and power button press event doesn't show. Can someone post a code snippet that reads button state or better that can execute some program upon button press? Second, how to correctly power down the tomtom ? (without using suspend to RAM). If I just execute shudown from debian, the screen turns down and everything looks good EXCEPT it's not real shutown, it continues draining battery (also is still discoverable on bluetooth although LCD is off) Best regards, Davor
