[prev in list] [next in list] [prev in thread] [next in thread] 

List:       neo1973-hardware
Subject:    Re: connect a sensor
From:       Al Johnson <openmoko () mazikeen ! demon ! co ! uk>
Date:       2009-04-24 9:25:18
Message-ID: 200904241025.19376.openmoko () mazikeen ! demon ! co ! uk
[Download RAW message or body]

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
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic