Hi, Mr. Yong Li.
Thanks for your interest in the sensor framework.
when sensor plugins are loaded, they find the one of three sysfs nodes, /sys/class/input/input*/(input sysfs node, general) or /sys/class/sensors/(it's a special node for some sensors) or /sys/bus/iio/devices/iio:device*/(for iio subsystem).
please ignore the error message related to /sys/class/sensors which means that sensord could not find a sensor on device.
please refer the below link if you'd like to know deeply about sensord.
https://wiki.tizen.org/wiki/System:Sensord
Thanks.
Kibak.
------- Original Message -------
Sender : Yong Li<[email protected]>
Date : 2015-04-11 20:34 (GMT+09:00)
Title : [Dev] /sys/class/sensors for sensord
I am learning the sensord project in the tizen-common project, I found it is using the /sys/class/sensors file(find_model_id function in sensor_hal.cpp). But I did not find this sysfs file after booting the Tizen common on a PC, the sensord reports a lot of error messages. It seems that the /sys/class/sensors is used for Android systems, how to use the sensord on the Tizen system ?
|
|
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
