I'm afraid this is not cause of my problem. I'm using three keyboard layouts in linux - US, Deutsch and Czech. The US layout is the default and I'm using it unless I'm creating some document.
However, to check it, I switched off the layouts in xorg.conf, so only US was available. However, the Shift key behavior is still the same, without "usescancodes=true".
I did some more testing and this is the description how exactly it works:
- without Shift pressed, all keys work as expected
- with Shift pressed, letter keys work (writing capitals). Also, keys / * - + on numerical keyboard do their job.
- no other "character" key works with Shift pressed (numbers on both normal and numerical keyboard and all special characters). nothing happens, when I press the keys.
- there is one strange exception, key ',', instead of producing '<' character produces '|' (pipe) character when Shift is pressed