uld call onStop().What
> I'm not sure is , when the device goes in early suspend , does the onStop()
> is called for the application automatically? If it is so, fault may be on
> the sensor apps I'm using. (as they might not have implemented OnStop() ).
>
> -regards
>
Sorry, it is not clear what what does your driver do in the first case
(error).
BTW: why do you need the early suspend at all? Android is not a pure
Linux so you better start from the application level.
The application should disable sensors event listener, Sensor Manager
will call your data_close
mydev.ko before dalvik boot.
> and also want to make wait until device initialized before dalvik
> boot.
>
> by the way, Which is earlier init.rc or init..rc ?
>
> Thanks.
>
> On 9月3日, 午前5:20, ip332 wrote:
>
>
>
> > Problem solved. Here is the final change in
oot.
> and also want to make wait until device initialized before dalvik
> boot.
>
> by the way, Which is earlier init.rc or init..rc ?
>
> Thanks.
>
> On 9月3日, 午前5:20, ip332 wrote:
>
>
>
> > Problem solved. Here is the final change in theinit.rc:
>
> > se
oot.
> and also want to make wait until device initialized before dalvik
> boot.
>
> by the way, Which is earlier init.rc or init..rc ?
>
> Thanks.
>
> On 9月3日, 午前5:20, ip332 wrote:
>
>
>
> > Problem solved. Here is the final change in theinit.rc:
>
> > se
You need to clarify your goal: is it about drivers development or
about Android HAL?
Typical HAL implementation (senors.c for example) is not a Linux
kernel driver. It is part of the user space programming in according
with Android sensors interface requirements and limitations. There are
few reso
First of all: check if the problem is in your app or init.rc is not
updated.
I would start from something trivial - hello world should be enough.
If it a simple app works then check all system calls if they are
really supported in bionic, run your app from the command line, use
gdb, etc.
If it stil
Problem solved. Here is the final change in the init.rc:
serivice change_permissions /system/bin/chmod 777 /dev/mydev
oneshot
Thanks.
On Sep 2, 11:29 am, ip332 wrote:
> Unfortunately there is a certain limit how early you can call insmod
> and how late you can do chown.
> I ad
restart zygote
onrestart restart media
But it still doesn't work
There should be some other way of doing it :(
On Sep 2, 11:03 am, "Sven Killig" wrote:
> > -Original Message-
> > From: android-kernel@googlegroups.com [mailto:android-
> > ker...@goo
s are included into kernel therefore it
looks like loadable module has some special rules there.
Can anybody tell me how to change permissions on loadable device
driver from init.rc ?
Thanks
ip332
--
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
10 matches
Mail list logo