The driver doesn't do this, it is done by the high-level PowerManager Java service.
On Thu, Mar 12, 2009 at 6:20 AM, <linlo...@gmail.com> wrote: > hi, > > In G1 phone, when user press any KEY, the LED that be as backlight of > "HOME" KEY, will be lightened. > I check Android source codes, and want to know how to lighten the LED in > key driver, but, don't find any clue. > I have checked following source codes: > -------------------------------------- > kernel/drivers/input/ > kernel/drivers/leds/ > --------------------------------------- > > My key question is that where in the codes of key driver, will call LED > driver to control LED on/off. > > Thanks. > > > > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---