This is hopefully temporary. The proximity and accelerometer sensor tags were removed upstream(1) citing an open issue on a specific device and the desire to have more testing. Enabling it in pmOS will help get testing. This udev rule shouldn't have any impact on devices that don't have fastrpc. Installing it conditionally on iio-sensor-proxy just seems adds packaging complexity for basically no benefit. 1. https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/a9d7ff148cd4fa5e40b23b189894b36dd81f51df Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7788>
11 lines
473 B
Plaintext
11 lines
473 B
Plaintext
# Proximity was disabled upstream, so this re-enables it.
|
|
# Also enable accel. sensor.
|
|
# See: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/a9d7ff148cd4fa5e40b23b189894b36dd81f51df
|
|
|
|
ACTION=="remove", GOTO="iio_sensor_proxy_end"
|
|
|
|
SUBSYSTEM=="misc", KERNEL=="fastrpc-adsp*", ENV{IIO_SENSOR_PROXY_TYPE}+="ssc-accel ssc-proximity"
|
|
SUBSYSTEM=="misc", KERNEL=="fastrpc-sdsp*", ENV{IIO_SENSOR_PROXY_TYPE}+="ssc-accel ssc-proximity"
|
|
|
|
LABEL="iio_sensor_proxy_end"
|