Skip to content

X Error of failed request: BadValue (integer parameter out of range for operation) - Major opcode of failed request: 101 (X_GetKeyboardMapping) #4

Description

@Rado9

Hi,

I successfully installed softwedge. (I needed to install also libraries libx11-dev and libxtst-dev.)
I use Linux linaro-alip 4.9.56 (Debian 9.13).

I set baudrate via sudo stty -F /dev/ttyUSB0 57600 and I run softwedge via sudo softwedge -c /dev/ttyUSB0 -f
Then I opened text editor and I scanned card via usb card RFID reader. In text file I got empty line and letter "y".

Expected result is: 0a 79 00 00 05 00 e6 b4 cc 01 e9 (hexadecimal)

In console I got error:

sudo softwedge -c /dev/ttyUSB0 -f
softwedge not daemonizing...

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 101 (X_GetKeyboardMapping)
Value in failed request: 0x0
Serial number of failed request: 20
Current serial number in output stream: 20

I found only this discussion about this error: https://bugs.freedesktop.org/show_bug.cgi?id=12538

I checked directory /usr/share/X11/xkb/keycodes. All files has value of parameter "maximum" set to 255 except file "sun". So I set value from 132 to 255, but it didn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions