***
When upgrading to OCP-KOReader-v2023.06 and copying libs from my old KOReader setup, KOReader would crash when opening pdf files.
The crash was because of libs installed for the w3m browser:
https://www.mobileread.com/forums/sh...91&postcount=3
w3m libs not needed:
libgcc_s.so.1
libgctba.so.1
* this lib would crash KOReader when opening pdf files *
Ironically, if I don't copy those two libs to the new KOReader installation, w3m seems to work fine anyway.
***
If I set up udev rules for the HP keyboard as follows:
# mkdir /etc/udev/hwdb.d
# vi /etc/udev/hwdb.d/10-my-modifiers.hwdb
Code:
evdev:input:b0003v03F0pA107* # HP Wireless Mini Keyboard
KEYBOARD_KEY_70028=enter # bind to enter
KEYBOARD_KEY_70052=up # bind to up
# udevadm control --reload-rules
# udevadm trigger
Then when I press return on the USB keyboard, it clicks whatever key the focus is on the onscreen keyboard!
i.e.the udev rule accomplished nothing!
* EDIT: even if I try to bind other keys, e.g. comma, the udev rule has no effect.
However, the arrow keys on the USB keyboard work to scroll focus on the onscreen keyboard. So if I scroll focus to the return key on the onscreen keyboard, then return on the USB keyboard works by this kludge.
On my other USB keyboard, the enter key works perfectly, but the arrow keys also scroll the onscreen keyboard.
*EDIT: LOL! It turns out that the "# udevadm trigger" was mainly what "triggered" the misdirected focus on the onscreen keyboard. You hopefully will not have this problem if you don't shoot yourself in the foot like me.
In any case, exiting the terminal and going back in resolves the issue.
So actually, these USB keyboards are pretty usable in KOReader.
And there is a nice visual cue in the file manager that you are in host mode and keyboard connected.
*I forgot to mention you have to put the Clara HD in host mode, with powered connector as explained here:
https://www.mobileread.com/forums/sh...d.php?t=340418
So this is a nice capability.
Great work NiLuje!
***