Originally Posted by geekmaster
kill -CONT resumes the cvm process, but when it wakes up it wierds-out, asking if I want to "Delete Collection"... Hmm...
you have to grab ( ioctl(fd, EVIOCGRAB, on)
) all input devices in order to avoid
key presses to be put into CVM's input queue. See capture_input()
This technique is used in Qt keyboard driver for kindle. I even do not send kill -STOP / kill -CONT to CVM,
but grab all input devices if I want to run Qt application in a foreground.