Re: [PATCH] Add a driver to support InvenSense mpu3050 gyroscope chip.
From: Alan Cox <hidden>
Date: 2011-03-14 20:15:06
From: Alan Cox <hidden>
Date: 2011-03-14 20:15:06
quoted
It's not even ADC counts - the mpu3050 has its own processing.Oh goody.. Just had a look at the datasheet. 'Interesting' I'm particularly looking forward to seeing use of the on gyro master i2c bus for talking to an external accelerometer :)
A lot depends on the firmware in use. I don't have a test case for adding using the i2c bus as a sort of bypass for the mpu3050 alas, although it did occur to me.
There are quoted conversion parameters for going from the raw readings to degree's per sec. You 'could' apply them in kernel I guess, or maybe provide details of what they are to userspace....
Not sure how that is best done really - I guess I should at least document the "probable" conversions - again it seems it will be firmware specific in some cases.