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 <guerreromarc...@gmail.com> 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, 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_WRONLY); from this > module? > > while I can from a classic 'C' main-program in user mode. > > Marco -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel