Issue with pressure and temp sensor


#1

My application has stopped reading the temperature and pressure sensor. It was working earlier today but suddenly stopped. Its the same behaviour on a second Mangoh red board which probably points to software. One oddity I notice is that the file system’s time stamp has changed since earlier in the day. From the correct date/time stamp, it is now showing as 1980!!. Could this be causing the reading failure?

root@swi-mdm9x15:~# ls -l /sys/devices/i2c-0/0-0076/iio:device1/
-r–r--r-- 1 root root 4096 Jan 6 1980 dev
-rw-r–r-- 1 root root 4096 Jan 6 1980 in_pressure_input
-r–r--r-- 1 root root 4096 Dec 29 04:03 in_pressure_oversampling_ratio_available
-rw-r–r-- 1 root root 4096 Jan 6 1980 in_temp_input
-r–r--r-- 1 root root 4096 Dec 29 04:03 in_temp_oversampling_ratio_available
-r–r--r-- 1 root root 4096 Dec 29 04:03 name
drwxr-xr-x 2 root root 0 Dec 29 04:03 power
lrwxrwxrwx 1 root root 0 Dec 29 04:03 subsystem -> …/…/…/…/bus/iio
-rw-r–r-- 1 root root 4096 Dec 29 04:03 uevent
root@swi-mdm9x15:~#


#2

Issue resolved. Its working again. Not got to the root cause of the problem though as I was focusing on getting other services working.