need info about sysfs for sensors
Hi,
I wanted to know how should my sensors be places as my sensors driver takes care of all the sensor devices on the platform.I don't find any class as sensors->accelerometer/gyrometer/ambient light/compass.Is there any existing frame work where I can register my driver and use the interface.
If I use Hwmon then my devices are not connected to I2C directly. Can I get some help.
Thanks
Kalhan
Quoted 19 lines · Greg KH
From: Greg KH <[email protected]>
Subject: Re: need info about sysfs for sensors
To: "kalhan trisal" <[email protected]>
Date: Tuesday, 2 September, 2008, 11:53 PMQuoted 2 lines · kalhan trisal
Hi
I am new to open source community and the kind ofwork i am doing is related to sensors.
Quoted 1 line
I have accelerometer/gyrometer/Ambient light
sensors/thermal/compass some are connected to 12c bussoem are connected > to ADC controller with propritry interface to read and write.
Quoted 1 line
If I go to Linux community and define my own class
then it would be
Quoted 1 line
difficult to convince them. Same time I don't see
any class defined
Quoted 1 line
for sensors/accelerometer0 or gyrometer0 where people
can use
Quoted 1 line
existing frame work and write there.
Quoted 7 lines
Have you brought this up on the hwmon mailing list? That would be the
proper place for this kind of discussion.thanks,
greg k-h
Did you know? You can CHAT without downloading messenger. Go to http://in.webmessenger.yahoo.com/
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Kalhan,
Quoted 8 lines · kalhan trisal
Hi,
I wanted to know how should my sensors be places as my sensors
driver takes care of all the sensor devices on the platform. I don't find any class as sensors->accelerometer/gyrometer/ambient light/compass.Is there any existing frame work where I can register my driver and use the interface.
If I use Hwmon then my devices are not connected to I2C directly.
Can I get some help.
The hwmon class if for hardware monitoring and not sensors in general. There is a separate project for so-called "industrial I/O" devices, which include the devices you mention (accelerometer, gyrometer, etc.) It isn't merged in the kernel yet. You can read the discussions about it here:
http://lkml.org/lkml/2008/7/23/163
If you have an interest in this then I suggest that you get in touch with Jonathan Cameron (Cc'd). I don't know if the project has a mailing list or home yet.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors