Thanks Durgadoss for the reply. I will :-)
On 4/24/12, Durgadoss Ramanathan wrote:
> Hi,
>
> Just do a Google on "Sysfs".
> You will have Wiki pages and pdf s explaining sysfs.
>
> Re: the mic thing, I am not sure. Probably it is exposed to user space
> through Audio HAL
> but I am no expert on t
Hi,
Just do a Google on "Sysfs".
You will have Wiki pages and pdf s explaining sysfs.
Re: the mic thing, I am not sure. Probably it is exposed to user space
through Audio HAL
but I am no expert on this to comment here :-(
On Tue, Apr 24, 2012 at 10:25 PM, Kanishka Ariyapala
wrote:
> Thanks Durg
Thanks Durga,
Do you know any good reference material for sysfs? so I can get start
on it. I am new to device drivers. Also can this be tested on the
emulator? because I plan to test it on it first, before moving on to
the device.
Also can sysfs be used to access the mic as well? I mean to get th
Thanks Kolja,
I am a newbie to the device drivers, and will have a look at sysfs. I
want to implement this at the kernel space not at the user sapce.
First I thought I would test with the emulator and then test it on my
android (S I9000). It can be tested on the emulator right? Also can
you point
Depending on the driver for the accelerometer. Most act like a input device
and will populate events when the acceleration changes. But there are
different drivers which simply propagate their current state via sysfs, I
have also seen drivers which where pure user space implementation. It
basicly d
Hi,
I have written a couple of Accelerometer drivers, where the properties are
exposed
via a Sysfs interface. So, you would want to figure out the sysfs paths
and proceed.
-Durga
On Mon, Apr 23, 2012 at 2:24 PM, DK wrote:
> How to access the accelerometer at the kernel level and read its
> val
How to access the accelerometer at the kernel level and read its
values. For example to identify if the user is standing(stationary) or
driving (moving). I think I think will have to deal with device
drivers, found this post
http://processors.wiki.ti.com/index.php/Android_Sensor_PortingGuide
but it