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
<kanishka...@gmail.com>wrote:

> 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 the
> noise level, or is it different?
> Thank you,
>
> Regards,
> Kanishka
>
> On 4/23/12, Durgadoss Ramanathan <r.durgad...@gmail.com> wrote:
> > 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 <kanishka...@gmail.com> wrote:
> >
> >> 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 is not descriptive enough to get started..any ideas, tutorial a
> >> guide?
> >>
> >> --
> >> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> >> website: http://groups.google.com/group/android-kernel
> >
> >
> >
> >
> > --
> > Regards
> > Durgadoss
> >
> > --
> > unsubscribe: android-kernel+unsubscr...@googlegroups.com
> > website: http://groups.google.com/group/android-kernel
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
>



-- 
Regards
Durgadoss

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to