I’m currently migrating my setup from a Cubox-I running ArchLinux to RPi3 running OSMC.
As part of that I need to remap a key on my cheap RF remote from KEY_UNKNOWN to F1(not used by any other key). In Arch I did this with a simple hwdb file in
/etc/udev/hwdb.d/ followed by
systemd-hwdb --update and all was well.
I’m not able to achieve the same in OSMC though. I did create my file and re-built the hwdb.bin using
udevadm hwdb --update but it’s simply not being applied. What I’ve done so far is
- Created my overrides in
/lib/udev/hwdb.d/to make sure they would be picked up by
- Overwritten the hwdb.bin in
/lib/udevin case OSMC is ignoring my generated one in
- Checked all identifiers to make sure the device was being identified in the same way as on Arch so my rules should apply.
Now I know OSMC and Arch are very different distro’s. Am I missing some small detail on OSMC(debian) that is needed to make my changes stick/apply?
P.S. Why do we not have
systemd-hwdb on OSMC?