Skip to content

added the following files to mitigate two issues concerning the modules for LSM9DS1:

Chris Vogel requested to merge (removed):pureos/byzantium into pureos/byzantium

linux#436 (closed) linux#431 (closed)

Added the following files:

/usr/sbin/librem5-lsm9ds1-modules.sh: load/unload lsm9ds1 modules depending on the state of the three hardware kill switches (hks)

/etc/modprobe.d/librem5-lsm9ds1.conf: do not automatically load lsm9ds1 modules to avoid errors when starting the phone with all three hks enabled

/lib/systemd/librem5-load-lsm9ds1.service: oneshot service to run librem5-lsm9ds1-modules.sh to load the lsm9ds1 modules if at least one hks is not enabled

/lib/udev/rules.d/85-librem5-lsm9ds1.rules: run librem5-lsm9ds1-modules.sh each time a hks is altered

Merge request reports