The last time I moaned about this was in 2015, so once per decade can’t be too much, surely?
But I had to upgrade my TV machine (for stupid reasons), and of course my little wireless keyboard that I use to control Emacs/mpv on the TV started misbehaving: The PgUp/PgDw keys stopped working, because they’re using non-standard key codes or something.
The solution is to:
- Clone this repo
- Apply this patch
- Compile
cp ~larsi/src/xf86-input-evdev/src/.libs/evdev_drv.so /usr/lib/xorg/modules/input/evdev_drv.so
(Yes, that’s stupid, because you can’t update X without recompiling, but never mind.)
And then config X.
But the old ways of configuring this stuff has changed. For something that’s supposed to be on life support, people are sure changing how X is being configured. It used to be that you said:
Section "InputDevice" Identifier "Logitech TV730" Driver "evdev" Option "Device" "/dev/input/tv730" Option "event_key_remap" "402=112 403=117 272=89" EndSection
This does nothing now. Instead you say:
Section "InputClass" Identifier "Force evdev for my Logitech" MatchProduct "Logitech TV730" # use exact name from `xinput list` MatchIsKeyboard "on" Driver "evdev" Option "event_key_remap" "402=112 403=117 272=89" EndSection
See? MUCH BETTER!!!! That only took me two hours to find out, and I had to use ChatGPT, because this info is not readily accessible via Google, as far as I can see.
Perhaps after posting this, it will be?
While I’m moaning — the proprietary Nvidia drivers, man… The 5xx drivers don’t support my VIDIA Corporation GP107 [GeForce GTX 1050 Ti] video card. And the 3xx drivers, that do, won’t build.
(The doc says that the 5xx drivers are necessary for the Pascal architecture, but my card is Pascal. But whatevs.)
So I’m using the nouveau for the first time… and they seem to actually kind of work now? So that’s progress. There’s no acceleration, though, so I’m not sure it’ll actually be usable for watching 4K movies?
Hm… tried it with Thor: Love and Bullshit now, and it seems to work? Huh. Didn’t expect that.