This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WIFI Issue on OMAP3530 - Unable to open connection to supplicant on "tiwlan0": Permission denied issue.

Other Parts Discussed in Thread: OMAP3530Hi I have followed the guide for making wifi work on Omap3530 android platform: http://processors.wiki.ti.com/index.php/Android_wireless_build_and_porting_guide But I am stuck up with the WifiHW E Unable to open connection to supplicant on "tiwlan0": Permission denied issue. Can any one please point me as where is the mistake or any hints as how to solve this ? Attached below is the log:
      wpa_supplicant  D  Received 3573 bytes of scan results (8 BSSes)
  1370         wpa_supplicant  D  Actual APs number 8
  1370         wpa_supplicant  D  After merge, APs number 8
  1370         wpa_supplicant  D  New scan results available
  1370         wpa_supplicant  I  WPS-AP-AVAILABLE 
  1370         wpa_supplicant  D  No suitable AP found.
  1370         wpa_supplicant  D  State: SCANNING -> INACTIVE
  1370         wpa_supplicant  I  CTRL-EVENT-STATE-CHANGE id=-1 state=1 BSSID=00:00:00:00:00:00
  959         EthernetMonitor  I  get event 
  959         EthernetMonitor  I  go poll events
  959                  WifiHW  E  Unable to open connection to supplicant on "tiwlan0": Permission denied
  959                  WifiHW  E  Unable to open connection to supplicant on "tiwlan0": Permission denied
  959                  WifiHW  E  Unable to open connection to supplicant on "tiwlan0": Permission denied
  959        WifiStateTracker  V  Supplicant died unexpectedly
  959        WifiStateTracker  D  Reset connections and stopping DHCP
  959        WifiStateTracker  D  Disabling interface
  1370         wpa_supplicant  D  RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
  1370         wpa_supplicant  D  RTM_NEWLINK, IFLA_IFNAME: Interface 'tiwlan0' added
  • 'Permission denied' errors are generally due to incomplete/incorrect setup in init.rc.

    Are you trying this on omap3evm or a custom device? I recommend that you compare init.rc for your device with init.rc for AM37x provided with the TI Android Devkit v2.2 for Froyo.

    BTW, please ask Android questions at the Android e2e forum @ e2e.ti.com/android

  • Thanks. This permission issue is solved by (1) By loading the NVS_MAP.bin file and (2) Moving the RFS from the NFS to Flash card. Now WiFi interface is up, able to see the list of APs and able to transmit packet with (80%) loss.