connect a sensor

2 messages Options
Embed this post
Permalink
Anas Alzouhbi

connect a sensor

Reply Threaded More More options
Print post
Permalink
Hello!
could you help me, what to do after connecting electrically the
sensor, how to setup it, or how can I make the gyroscope write data in
a file like accelerometers.
I big your help

_______________________________________________
hardware mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/hardware
Al Johnson

Re: connect a sensor

Reply Threaded More More options
Print post
Permalink
On Friday 24 April 2009, Anas Alzouhbi wrote:
> Hello!
> could you help me, what to do after connecting electrically the
> sensor, how to setup it, or how can I make the gyroscope write data in
> a file like accelerometers.
> I big your help

You need to write a driver for your gyroscope device. It will probably be
quite similar to the accelerometer driver, so have a look at that in the
current kernel source. For general documentation on writing drivers have a
look at:
http://kernelnewbies.org/Drivers

It's probably worth asking on the kernel list too (if you haven't already).

_______________________________________________
hardware mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/hardware