Package: iio-sensor-proxy
Version: 1.1-1
Severity: normal

To quote a kernel developer:

---
Finally I have Yoga 900. I see the sensors are working and rotation is
working with iio_sensor_proxy. But some of you suggested, rotation only works
after suspend and then resume. The reason is that the iio-sensor-proxy starts
too early as systemctl service. By that time IIO subsystem is not ready.

So you need to add to iio-sensor-proxy.service:

After=multi-user.target
---

Actually I also added

[Install]
WantedBy=default.target

to make sure it is started correctly. This seems (only one test so far) to fix
the rotation issue of a Yoga 900.

Michael

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages iio-sensor-proxy depends on:
ii  libc6           2.22-7
ii  libglib2.0-0    2.48.0-1
ii  libgudev-1.0-0  230-3
ii  systemd         229-5

iio-sensor-proxy recommends no packages.

iio-sensor-proxy suggests no packages.

-- no debconf information

Reply via email to