%global debug_package %{nil} Name: iio-sensor-proxy Version: 3.9 Release: 3.sp11.3%{?dist} Summary: IIO accelerometer sensor to input device proxy, with Qualcomm Sensor Core support # tests/unittest_inspector.py is LGPL-2.1-or-later but it is not packaged License: GPL-3.0-or-later URL: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy Source0: %{name}-%{version}.tar.bz2 Patch0: 0001-Pause-sensor-polling-across-system-sleep.patch BuildRequires: meson BuildRequires: gcc BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(libssc) >= 0.2.1 BuildRequires: systemd BuildRequires: systemd-rpm-macros %{?systemd_requires} %description %{summary}. Fedora's %{version}-3 build plus -Dssc-support=enabled: the drivers that read the accelerometer, light and compass sensors of Qualcomm's Snapdragon Sensor Core through libssc (QMI over QRTR), which the Fedora package leaves out. Built for the Surface Pro 11, whose sensors sit behind that DSP. The proxy also stops every sensor when logind announces a system sleep, holding a delay lock until they are stopped, and starts them again after the wake. %prep %autosetup -p1 %build %meson -Dgtk_doc=false -Dgtk-tests=false -Dssc-support=enabled %meson_build %install %meson_install %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %license COPYING %doc README.md %{_bindir}/monitor-sensor %{_libexecdir}/%{name} %{_unitdir}/%{name}.service %{_udevrulesdir}/*-%{name}.rules %{_datadir}/dbus-1/system.d/net.hadess.SensorProxy.conf %{_datadir}/polkit-1/actions/net.hadess.SensorProxy.policy %changelog * Thu Dec 03 2026 SP11 build - 3.9-3.sp11.3 - Comments removed from the spec; the packaged files are unchanged * Thu Oct 08 2026 SP11 build - 3.9-3.sp11.2 - Pause sensor polling across system sleep: every sensor stops on logind's PrepareForSleep(true), under a delay lock held until they are stopped, and starts again on PrepareForSleep(false); one function decides polling, so a claim, release or sleep notice served inside a driver's start or stop no longer re-enters the driver. An open Sensor Core stream woke the Surface Pro 11 from deep sleep within seconds. * Sat Sep 19 2026 SP11 build - 3.9-3.sp11.1 - Rebuild Fedora's 3.9-3 with -Dssc-support=enabled (libssc) for the Surface Pro 11 sensors