Qt evdev handler - Missed and corrupt characters when using the reader as keyboard.
Unsolved
Mobile and Embedded
-
We scan USB Readers to scan or swipe badges to get the characters into our Qt application. We depend on the Qt evdev handler embedded in the linuxfb platform plugin. The reader characters are getting missed or sometimes some special characters (@^) get shown instead of actual data (0-9 aA-zZ). We tried to verify the scan by using evtest, it seems to identify the characters 100%.
The reader scan triggers the slot() void QEvdevKeyboardHandler::readKeycode() signalled by the QSocketNotifier. Below is an example of reader code both Good and Bad ones:;4024722218720798=23051011000015400001?
;40247=230510001?As one can see the characters are being missed.