I'm running ICS DevKit 3.0.0 on a custom OMAP3530 board with a WL1271 attached to MMC2, similar to the omap3evm. WiFi doesn't want to become enabled, and it seems to be a file permissions issue having to do with processes running as "system" (uid 1000) instead of "wifi" (uid 1010).
I have found that WiFI doesn't start apparently because "Cannot set RW to "/data/misc/wifi/wpa_supplicant.conf": Permission denied". My init.rc file is copied from the omap3evm version, but with a few tweaks for our display, and bluetooth commented out, but wifi is identical. It sets permissions and uid/gid just as in the omap3evm's version. The problem seems to be that the thread is running with uid=system (1000) instead of uid=wifi (1010). I added a debug message to display this:
E/WifiHW ( 1261): Cannot set RW to "/data/misc/wifi/wpa_supplicant.conf": Permission denied
E/WifiHW ( 1261): ----- Program uid = 1000, euid = 1000, gid = 1000, egid = 1000
E/WifiHW ( 1261): Wi-Fi will not be enabled
I think this should be running as uid/gid = 1010 (wifi).
Is this correct?
Why might this be running as system (1000) instead of wifi (1010)?
A full log is here: 8446.log.txt
Thanks in advance,
Chris