Open hbfs opened 8 years ago
That issue was fixed by moving xtemp.c from xtemp/ to the parent directory and deleting the xtemp folder. Alternatively, we can change the path in the make file.
New question is how can we run xtemp on a headless machine (without X)?
On Dec 14, 2015, at 1:21 PM, Sri Gogineni notifications@github.com wrote:
New question is how can we run xtemp headless?
Use <ssh -X …> when logging in. That forwards the remote X11 to your local host in that session.
I'm on os x without X11, is there a way to run strictly in terminal?
edit: Here's a handy one-liner
SCALE=$(cat /sys/bus/iio/devices/iio:device0/in_temp0_scale); \
OFFSET=$(cat /sys/bus/iio/devices/iio:device0/in_temp0_offset); \
RAWTEMP=$(cat /sys/bus/iio/devices/iio:device0/in_temp0_raw); \
bc <<< "scale=1; ($RAWTEMP + $OFFSET) * $SCALE / 1000"
make: *** No rule to make target 'xtemp.c', needed by 'xtemp'. Stop.