Nonlinear outputs
Hi,
currently all outputs listed in Documentation/ABI/testing/sysfs-bus-iio are _raw. What about f.ex. a nonlinear resistive output?
Shall I mark it as processed value which implies giving it an _input name or shall I fake raw values with offset = 0 and scale = 1?
Best regards,
Daniel
Signature · 8 lines
Dipl.-Math. Daniel Glöckner, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11, Bertha-von-Suttner-Straße 9, 37085 Göttingen, Germany Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 Geschäftsführung: Heike Jordan, Dr. Uwe Kracke Ust-IdNr.: DE 205 198 055 emlix - your embedded linux partner
Quoted 8 lines · Daniel Glöckner
Hi,
currently all outputs listed in
Documentation/ABI/testing/sysfs-bus-iioare_raw. What about f.ex. a nonlinear resistive output?Shall I mark it as processed value which implies giving it an
_inputname
or shall I fake raw values with offset = 0 and scale = 1?
Processed but then you will need to do the conversions in the driver. If we get
enough other cases that can be easily described we can add ABI to allow the conversions in userspace.
Jonathan
Quoted 4 lines
Best regards,
Daniel
Signature · 1 line
Sent from my Android device with K-9 Mail. Please excuse my brevity.