Re: [android-kernel] How can my device driver knows when the system is rebooting or shut down

2012-05-22 Thread mark gross
There is a reboot notifier you can register your own call back to get called on reboot. register_reboot_notifier is your friend. grep for where its used for examples on how to do it. --mark On Tue, May 22, 2012 at 6:14 PM, Satya vara prasad wrote: > Hi all,register_reboot_notifier > I have an

[android-kernel] How can my device driver knows when the system is rebooting or shut down

2012-05-22 Thread Satya vara prasad
Hi all, I have an small scenario like when the system is rebooting or shutting down,How my device driver will get the notification. Based on that i should glow particular led for an indication. Thanks&Regards prasad -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://gro

[android-kernel] Support for /dev/hidraw devices

2012-05-22 Thread giangiammy
Hi all, I looked at various Android devices checking if they have support for /dev/hidraw devices Usually it is always disabled, even in devices natively with standard USB port. For this devices I need to get the source, recompile the kernel, changing just the "SUPPORT USB RAW HID DEVICES" :-(

[android-kernel] using linux-goldfish-3.0-wip for emulator

2012-05-22 Thread andria
Hi, I have recently noticed a new branch for goldfish kernel named linux-goldfish-3.0-wip. I successfully built a zImage but don't know how to use it? When I ask the emulator running ICS to use it, the virtual device seems to be stuck i.e no android logo and the screen stays black. The command