2

I would like to check my laptop's sensor (e.g. simple device orientation sensor, gyrometer, hinge, etc). I came across the sensor diagnostic tool for Windows 10 but I don't know if it has any equivalents for Ubuntu and I couldn't seem to find any.

Any recommendations?

xjm
  • 105

1 Answers1

2

Quick google search, the lm-sensors package should fit your purpose. (Note I'll be summarizing this article).

Open a terminal window.

sudo apt-get install lm-sensors

Let the process finish, then

sensors-detect

And answer yes to the corresponding yes or no questions. After this is finished you have a choice to either insert the sensors into /etc/modules automatically (yes) or to manually do it later (no.)

Next, load the necessary modules with

sudo service kmod start

You will need a monitoring program, further down the article's page there are a few listed, psensor being the first listed. Install (your choice)...

sudo apt-get install psensor

And launch the executable (or run the application from the terminal window). You should now be able to monitor your sensors.

For the tablet sensor (From another AU post):

sudo apt install iio-sensor-proxy inotify-tools

NB: You might have to put your computer to sleep and wake it up for the sensor to work. After that, it keeps working.

Also see this github repo

David
  • 3,487