• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Android » Android forum » wpa_supplicant not started correctly
Share
Android
  • Forum
Options
  • Subscribe via RSS

wpa_supplicant not started correctly

wpa_supplicant not started correctly

This question is not answered
Kevin Chow
Posted by Kevin Chow
on Jan 08 2012 19:23 PM
Expert1560 points
Hi TI,

Environment: AM3517, Android 2.3.4, Kernel 2.6.37

I compiled wifi driver as module, ported wifi function into android 2.3.4, and enable wifi in wifi-setting, but it seems that wpa_supplicant service not running correctly, 
and the dalvik and android processes will restart repeatly. I can't find out what is the real problem.

the console log:
5228.log-console-android-process-restart.txt

the logcat:
2844.log-android-process-restart.txt

Thanks,
Kevin
Wifi wpa_supplicant
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vishveshwar Bhat
    Posted by Vishveshwar Bhat
    on Jan 09 2012 00:22 AM
    Genius9580 points

    Kevin,

    We currently do not support Wifi on AM3517evm with our DevKit releases. However, it may be possible to solve this issue.

    Can you provide more informations about the wifi driver version. Is it from a DevKit release or the latest version from rowboat?

    Can you provide the changes you have done for compilation and in init.rc?

     

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Chow
    Posted by Kevin Chow
    on Jan 09 2012 20:55 PM
    Expert1560 points

    Hi Vishveshwar,

    In android 2.3, I added these lines into init.rc,  no error reported, and my ported wifi works, 

    # wpa_supplicant socket (unix socket mode)
    mkdir /data/system/wpa_supplicant 0771 wifi wifi
    chmod 0771 /data/system/wpa_supplicant
    chown wifi wifi /data/system/wpa_supplicant
    
    
    But in android 2.3.4, the android will restart repeatedly with the above lines, after deleleting the lines, It is OK now.
    
    
    Thanks,
    Kevin
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Chow
    Posted by Kevin Chow
    on Jan 10 2012 02:46 AM
    Expert1560 points

    Kevin Chow

    In android 2.3, I added these lines into init.rc,  no error reported, and my ported wifi works, 

    # wpa_supplicant socket (unix socket mode)
    mkdir /data/system/wpa_supplicant 0771 wifi wifi
    chmod 0771 /data/system/wpa_supplicant
    chown wifi wifi /data/system/wpa_supplicant
    
    
    But in android 2.3.4, the android will restart repeatedly with the above lines, after deleleting the lines, It is OK now.

    Still not solved, the problem happened again, when I unplug the wifi card. :-(

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vishveshwar Bhat
    Posted by Vishveshwar Bhat
    on Jan 10 2012 04:02 AM
    Genius9580 points

    How are you loading the filesystem?

    We have seen issues with WiFi when using NFS filesystem.

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Chow
    Posted by Kevin Chow
    on Jan 11 2012 02:10 AM
    Expert1560 points
    Hi Vishveshwar,

    I am using ubi file system, and boot from NAND.

    I found there are some changes in frameworks/base/wifi/java/android/net/wifi/WifiStateTracker.java.

    I made some changes to the file according to that in 2.3, and now it seems ok now,
    
    
    7357.changes.txt
    
    
    Thanks,
    Kevin
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kshitij Kumar
    Posted by Kshitij Kumar
    on Jun 15 2012 08:19 AM
    Prodigy180 points

    Hi Kevin

    Did you manage to port wifi on AM3517?

    I have tried alot, can you please help me with the steps?

    i am using custom AM3517 board with Android 2.3.4 Kernel 2.6.37

    and i want wl12xx drivers enabled.

    Thanks

    Kshitij

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Chow
    Posted by Kevin Chow
    on Jun 17 2012 21:43 PM
    Expert1560 points

    Hi  Kshitij,


    I just have a quick note about my poring process, but I am not sure it will suit for your case,  and I can send you my steps, you can refer to it if it can help.

    8171.my usb hed_aq3 wifi porting.txt


    Best Wishes,

    Kevin


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use