Name: nabu-device-config Version: 1 Release: 7.test%{?dist} Summary: Xiaomi Pad 5 sensor, input and boot-noise configuration License: GPL-3.0-or-later URL: https://copr.fedorainfracloud.org/coprs/mcc45tr/nabu-linux/ Source0: %{name}-%{version}.tar.zst BuildArch: noarch BuildRequires: systemd-rpm-macros BuildRequires: systemd-udev Requires: systemd-udev Provides: xiaomi-nabu-configs = %{version}-%{release} Obsoletes: xiaomi-nabu-configs < %{version}-%{release} %description Input calibration and device-specific configuration files for Xiaomi Pad 5. Accelerometer mounting is supplied by the SENEMOS Nabu kernel through sysfs. %prep %autosetup %build %install install -Dm0644 payload/usr/lib/udev/rules.d/99-libinput-calibration-matrix.rules \ %{buildroot}%{_udevrulesdir}/99-libinput-calibration-matrix.rules install -d -m0755 %{buildroot}%{_sysconfdir}/modules-load.d ln -s /dev/null %{buildroot}%{_sysconfdir}/modules-load.d/scsi_dh.conf %check udevadm verify %{buildroot}%{_udevrulesdir}/99-libinput-calibration-matrix.rules %posttrans if [ -x /usr/bin/udevadm ]; then /usr/bin/udevadm control --reload >/dev/null 2>&1 || : /usr/bin/udevadm trigger --action=change \ --subsystem-match=misc --sysname-match='fastrpc-adsp*' >/dev/null 2>&1 || : /usr/bin/udevadm trigger --action=change \ --subsystem-match=misc --sysname-match='fastrpc-sdsp*' >/dev/null 2>&1 || : fi if [ -x /usr/bin/systemctl ]; then case "$(/usr/bin/systemctl is-system-running 2>/dev/null || :)" in running|degraded) /usr/bin/systemctl try-restart iio-sensor-proxy.service >/dev/null 2>&1 || : ;; esac fi %files %license LICENSE %doc README.md %{_udevrulesdir}/99-libinput-calibration-matrix.rules %{_sysconfdir}/modules-load.d/scsi_dh.conf %changelog * Fri Aug 21 2026 SENEMOS Project - 1-7.test - Mask the generic multipath SCSI handler list on the UFS-only Nabu profile. - Eliminate three deterministic missing-module errors without granting access or adding userspace boot helpers. * Thu Aug 20 2026 mcc45tr - 1-6.test - Drop the duplicate SSC orientation rule now provided by kernel sysfs. - Keep only the touch/input calibration required outside the kernel. * Thu Aug 20 2026 mcc45tr - 1-5.test - Correct SSC orientation on both ADSP and SDSP discovery paths. - Reload udev and restart SensorProxy during normal package updates. - Remove the obsolete empty device-rotate compatibility file.