hadess / iio-sensor-proxy

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

How does one go about adding support for new sensors? 2017 Spectre x360 13 - i7 8550u #211

Closed ilikenwf closed 6 years ago

ilikenwf commented 6 years ago

I can get udev output but it seems the sensors aren't yet supported. Does this involve kernel patching, iio-sensor-proxy patching, or both?

hadess commented 6 years ago

Unless it's a new type of sensor, only making sure the kernel supports it should be needed. We support drivers written for the IIO, input or hwmon classes of drivers, depending on the type of sensor as well.

hadess commented 6 years ago

I looked at the original udevadm listing, and it could be that your kernel doesn't have the hid-sensor-hub driver available. Might be a good idea to try with a more featureful distro's kernel, such as an Ubuntu or Fedora live CD.

If it still fails, please get in touch with the linux-iio mailing-list, they might be able to help you out.