I have found a way to trace from libhardware_legacy/power.c, sorry, it
was simpler than what I thought, I'm using logcat through serial port.
And now I can see that power.c is able to write to /sys/power/state,
but again the problem is that when resuming it doesn't write "on" to
"state".
M
On Ap
I've checked one more time the power.c code, and the fact that /sys/
android_power doesn't exist should not be a problem as it is the old
device driver for android power management in the linux kernel, while
the newer is named /sys/power
but I have an idea: as libhardware_legacy.so is not able to
another problem: power.c wants to write to this file: /sys/
android_power/auto_off_timeout
I don't see the android_power directory in the sysfs, ?
what is missing???
On Apr 11, 4:59 pm, Manjeet Pawar wrote:
> Y dont u use procfs or ioctl...to check whats goin on inside...
>
>
>
>
>
>
>
> On Wed
Y dont u use procfs or ioctl...to check whats goin on inside...
On Wed, Apr 11, 2012 at 8:17 PM, Ventanas wrote:
> found that errno is always 13, that is EACCES, so access no Permission
> denied, so what can I do?
> M
>
> On Apr 11, 4:36 pm, Ventanas wrote:
> > ok, I am trying to debug the libh
found that errno is always 13, that is EACCES, so access no Permission
denied, so what can I do?
M
On Apr 11, 4:36 pm, Ventanas wrote:
> ok, I am trying to debug the libhardware_legacy.so library that
> contains the power.c 'C'-code module that interacts with the linux-
> kernel power manager, bu
ok, I am trying to debug the libhardware_legacy.so library that
contains the power.c 'C'-code module that interacts with the linux-
kernel power manager, but I have this problem:
I want to open the /dev/kmsg file and write to it, but I get always
-1, do you know why I cannot open("/dev/kmsg", O_WR
On Tue, Apr 10, 2012 at 08:32:51AM +, Arnd Bergmann wrote:
> On Tuesday 10 April 2012, Minchan Kim wrote:
> > 2012-04-09 오후 9:35, Arnd Bergmann 쓴 글:
>
> > >>
> > >> I understand it's best for writing 64K in your statement.
> > >> What the 8K, 16K? Could you elaborate relation between 8K, 16K a