hadess / iio-sensor-proxy

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

Support BMA2x2 accelerometer #188

Closed Ilia1 closed 6 years ago

Ilia1 commented 6 years ago

command output monitor-sensor contains nothing.

hadess commented 6 years ago

Please provide the debug output of iio-sensor-proxy as per README.

Ilia1 commented 6 years ago

** (process:9488): DEBUG: Could not find any supported sensors

hadess commented 6 years ago

What's the output of udevadm info --export-db on this system? Is there actually a driver for this device? What system is this in?

Ilia1 commented 6 years ago

udevadm info --export-db System Linux Mint 18.2, kernel 4.13.1, version iio-sensor-proxy 1.1-1ubuntu1

hadess commented 6 years ago

You should test at least version 2.0, which has a number of detection fixes. This version is 2 years old, which is very old for such a young project.

Ilia1 commented 6 years ago

thank you very much, updating to the latest version helped. now tell me, which script or program to choose to change the screen orientation?

hadess commented 6 years ago

thank you very much, updating to the latest version helped.

Great, I'll close this bug then.

now tell me, which script or program to choose to change the screen orientation?

It's up to the desktop environment to provide that. I implemented it in GNOME, and it's been there for a while. Anything else, you can point the desktop developers towards this API documentation for them to use: https://developer.gnome.org/iio-sensor-proxy/