Accelerometer

Francesco Cat heartcollector87 at gmail.com
Thu Jul 10 21:38:02 CEST 2008


BTW: Where are tha accelerometers placed exactly? The images I've
found tell the positions of almost any chip but no accelerometer is
mentioned

2008/7/10 Jakob Westhoff <jakob at westhoffswelt.de>:
> Andreas Kemnade wrote:
>> On Mon, 7 Jul 2008 20:26:45 +0200
>> Tobias Diedrich <ranma+openmoko at tdiedrich.de> wrote:
>>
>>> Andreas Kemnade wrote:
>>>
>>>> I have tried to do get some values from the accelerometers.
>>>> I get from /dev/input/event3 these values:
>>>>
>>>> 000b070: 5de6 7148 4108 0200 0200 0000 ee08 0000  ].qHA...........
>>>> 000b080: 5de6 7148 7b08 0200 0200 0100 1200 0000  ].qH{...........
>>>> 000b090: 5de6 7148 9608 0200 0200 0200 2a03 0000  ].qH........*...
>>>>
>>>> As far as I understnd thee first line is for the x axis,
>>>> the second for the y-axis, the thirs for the z-axis.
>>>>
>>>> The value for the x axis does not change.
>>>>
>>>> I get no data for /dev/input/event2.
>>> From a cursory look, "hexdump /dev/input/event2" and
>>> "hexdump /dev/input/event3" both show accelerometer data on my phone.
>>>
>> ok, neod seems to do something with them and seems to sometimes reconfigure them.
>> That seems to be the reason why I got no data.
>> I have managed to get values from event2, too now.
>
> That sounds quite interesting. I got the exact same problem as you are
> experiencing. Could you tell me what you did, to get the event data from
>  the first accelerometer?
>
> Greetings
> Jakob
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>




More information about the community mailing list