Re: missing support for OHMS and ENERGY sensors in sensorsd

2020-09-22 Thread Theo de Raadt
It also lacks SENSOR_UNUSEDFEATURES. No. Paul de Weerd wrote: > Hi all, > > While browsing sensorsd.c for inspiration for a small project I'm > working on, I noticed that both src/usr.sbin/sensorsd/sensorsd.c and > src/sbin/sysctl/sysctl.c have a 'print_sensor' function that > returns/prints

missing support for OHMS and ENERGY sensors in sensorsd

2020-09-21 Thread Paul de Weerd
Hi all, While browsing sensorsd.c for inspiration for a small project I'm working on, I noticed that both src/usr.sbin/sensorsd/sensorsd.c and src/sbin/sysctl/sysctl.c have a 'print_sensor' function that returns/prints the value of the given sensor, including unit. However, sensorsd doesn't