[xorg-bugzilla-noise] [Bug 1542] New: Characters losing their shiftedness when input from a USB HID device

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 5 20:45:25 UTC 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1542        
   
           Summary: Characters losing their shiftedness when input from a
                    USB HID device
           Product: xorg
           Version: 6.7.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Input/Keyboard
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: spam747 at mynamehere.com


I've got a USB magnetic card reader that emulates a USB HID-based keyboard.

In MS Windows and the Linux console, it works perfectly.  In X (any program) it
sporadically "unshifts" characters.

For example, if the expected input is "%DAVID?" I'd get something like:
"5DAvID?", or perhaps "%DAViD/", or some other combination.

The device can have it's USB polling interval adjusted.  When I change it from
1ms to 5ms, things improve, but still aren't perfect.  I've tried up to 16ms and
it still fails.  As this is essentially an inter-character delay, higher values
defeat the point of a card swipe.

I'm guessing this bug affects all USB keyboards, it's just that most people
don't type shifted characters fast enough to notice.

>From a quick test with 1130 total characters: of 230 characters that should have
been shifted characters, 50 were not (~20%).

I will gladly ship/loan the hardware to anyone in a position to fix the bug and
are unable to reproduce it.

Also, my email address is real, it's just disposable.        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list