I'm grappling with this: if one has a device driver that's to be "ported" to Android, are there any specific steps / guidelines that need to be followed to be "Android-compliant"? Or is it just the "usual" Linux driver stuff?
I would imagine some callbacks for PM can/should be hooked into...I found some doc stating that the callbacks are: android_register_early_suspend(android_early_suspend_t *handler) android_register_early_resume(android_early_resume_t *handler) However these don't even seem to exist in a recent 2.6.29 Android kernel tree. ?? Are they outdated? Do we use wake_[un]lock? Is there documentation/guidelines to state how exactly we're expected to hook into PM stuff in *kernel* space? (I know abt the PowerManager etc classes in userland). Would appreciate any help! TIA, -kaiwan. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---