Ok, so I have it working after applying Jesse's power.c file. Thanks Jesse :) I'll see about modifying the patch on the wiki, so it's not necessary.
On May 2, 2:22 pm, Jonathan Herriott <[EMAIL PROTECTED]> wrote: > I'd also assume it is not permission issues. I tried doing chmod -R > 777 * inside the root to the android file system, and still no luck. > > On May 2, 1:01 pm, Jonathan Herriott <[EMAIL PROTECTED]> wrote: > > > So, going along the assumption that my issue is not /sys/android_power/ > > last_user_activity, I'm assuming the issue is a device trying to > > access this. I'm using /dev from the m3 userspace. Did you end up > > pulling /dev from the userspace, or did you do it another way? > > > On May 1, 8:34 am, jesse <[EMAIL PROTECTED]> wrote: > > > > Georges, > > > > Are you using the M3 or the M5 runtime. I tried with the M3 because > > > the M5 is not supposed to work. > > > > I ended up taking power.c from the M3 kernel and ported it to your > > > patched n810 kernel. Using the older power.c, I saw the > > > last_user_activity node show up in sys. With this change, everything > > > seems to work just fine now. > > > > Jesse > > > > On May 1, 7:39 am, Georges Toth <[EMAIL PROTECTED]> wrote: > > > > > Jonathan Herriott wrote: > > > > > sysfs (/sys directory) cannot be modified. The issue is that the > > > > > patch athttp://code.google.com/p/android-on-n8xx/wiki/Homedoesnot > > > > > contain the necessary functions in drivers/android/power.c that are > > > > > needed by the m3 userspace. Since other people have it working with > > > > > the m3 userspace, I'm assuming they patched it. Does anyone happen to > > > > > have this patch, so I don't have to figure it out? > > > > > I'm replying in the wrong order :-).... > > > > Anyway, those functions are not needed for android to work. > > > > Sure power management is pretty much not working at all at the current > > > > state, but as I mentioned on the wiki, there are higher priority issues > > > > for now IMHO...but anybody is free to work on whatever part he wishes of > > > > course. > > > > > I'm not sure if somebody has those issues fixed already, but I don't > > > > think so. > > > > > If you do work on it please let us know how it goes > > > > > -- > > > > regards, > > > > > Georges Toth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Internals" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-internals?hl=en -~----------~----~----~----~------~----~------~--~---
