Aarrgh, now I suddenly realised the unpleasant truth... The darn box is not yet running X at preinit stage, right? So, propably qt is out of scope here, then. Does anybody have any good suggestions on how to handle it? Are there any libraries that handle raw input and output like on the device console? If not, do I need to read raw position events off some device or somerhing like that?