hadess / iio-sensor-proxy

IIO accelerometer sensor to input device proxy
197 stars 64 forks source link

"Could not find any supported sensors" on Dell XPS 15 9575 2-in-1, iio v2.4, latest mainline kernel 4.19.0-041900rc3 #236

Closed Suedkiez closed 6 years ago

Suedkiez commented 6 years ago

Apparently it does not work at all on this Dell XPS 15 2-in-1 9575 on Ubuntu Cosmic 18.10. Same problem with current Cosmic standard kernel 4.18.0-7-generic Thanks for any help, please let me know if you need any additional info.

Secureboot deactivated, kernel not tainted

~$ apt show iio-sensor-proxy Package: iio-sensor-proxy Version: 2.4-2

~$ uname -r 4.19.0-041900rc3-generic

~$ sudo systemctl stop iio-sensor-proxy.service ~$ sudo systemctl start iio-sensor-proxy.service

~$ systemctl status iio-sensor-proxy.service ● iio-sensor-proxy.service - IIO Sensor Proxy service Loaded: loaded (/lib/systemd/system/iio-sensor-proxy.service; static; vendor preset: enabled) Active: inactive (dead)

~$ udevadm info --export-db | grep iio ~$

~$ gdbus introspect --system --dest net.hadess.SensorProxy --object-path /net/hadess/SensorProxy Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name net.hadess.SensorProxy was not provided by any .service files

$ monitor-sensor Waiting for iio-sensor-proxy to appear

~$ sudo systemctl stop iio-sensor-proxy.service ~$

$ sudo G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy ** (process:10880): DEBUG: 19:00:33.565: Could not find any supported sensors

hadess commented 6 years ago

Looks like there's no supported sensors, or just no sensors inside this machine. Nothing that we can do about it, except asking your vendor for support (eg. is there one or multiple sensors, and if so, why aren't they supported in the kernel)

Suedkiez commented 6 years ago

Oh well. There are sensors in there, they work in Windows and it's Dell's brand new convertible laptop :) Forgot one thing, when I fold the display back into tablet mode, the machine goes to suspend as if the display was closed. I will talk to Dell's Project Sputnik

Suedkiez commented 5 years ago

For the benefit of anyone stumbling on this post: This is fixed in the latest mainline kernel v4.19-rc4. Ubuntu bug report is here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792813