[android-porting] Re: Can't adjust backlight in our built emulator from source?

2009-06-14 Thread ming
No, I don't have /system/etc/init.goldfish.rc No, I don't have /system/lib/hw/liblights.goldfish.so either. How can I build and run with a goldfish kernel in the emulator? I did build in eng as follows; #printconfig TARGET_PRODUCT=generic

[android-porting] Re: Can't adjust backlight in our built emulator from source?

2009-06-11 Thread David Turner
backlight emulation works as follows in 1.5 (this may change in future system images though): 1/ hardware/qemu/liblights/lights.c is compiled into /system/lib/hw/ liblights.goldfish.so 2/ libhardware recognize at runtime that it is running in the emulator (goldfish) system, then loads it 3/ the