Thanks for your help. I found that I have a problem in HAL (Hardware abstraction) which results in not writing proper information about ambient light values to sysfs.
After some changes it started to work, but the backlight intensity isn't very smooth. Probably that can be done by changing some config, what Vishveshwar wrote. W dniu czwartek, 6 czerwca 2013 16:33:38 UTC+2 użytkownik cha...@gmail.com napisał: > > Hi all, > it is my first post on the group, but I read it very often. Guys you are > very helpful! > > I'm working on porting android to arm and recently I met some problems. > I don't know how to integrate *ambient light* *sensor* with *Auto > brightness* (UI option in Settings/Display). > The only thing I need is integration: sensor works and returns valid > values (checked by getevent -p), the slider in settings (UI) also works > great (dimming and brightens the screen). > Unfortunately checking the option Auto brightness has no effect - the > brightness of the screen remains the same despite ambient light changed. > > What can be the reason? How can be it fixed? Any tips are welcome. > > Android version is: *2.3.3* > > Thanks in advance for help. > > chaqi > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.