[android-porting] Re: Porting Wifi driver on Android

2010-04-02 Thread dr3w
Hi Gaan, I am trying to port the same driver for my beagleboard based touchbook. I would greatly appreciate if you could post how you got it working properly. Thanks On Mar 29, 2:00 am, Gaan gaan...@gmail.com wrote: after one month, it works. On 3月3日, 下午10時07分, Gaan gaan...@gmail.com wrote:

[android-porting] Re: Porting Wifi driver on Android

2010-03-29 Thread Gaan
after one month, it works. On 3月3日, 下午10時07分, Gaan gaan...@gmail.com wrote: I think stop trying it from GUI maybe a good idea. and I figure out why fail. because I pass ctrl_path /data/system/ wpa_supplicant/ra0 to wpa_ctrl_open but I didn't creat ra0 this directory under /data/system/

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
I found the problem is that the directory /data/system/wpa_supplicant is not creat after bootup and I change to use Group system in create all relative directories. out/target/product/generic/system/etc/wifi/wpa_supplicant.conf still with ctrl_interface=DIR=/data/system/wpa_supplicant/

Re: [android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread pavan savoy
aren't these problems similar to, http://osdir.com/ml/android-porting/2009-02/msg00139.html ? modifications are required in init.rc and .conf file - If I remember correctly (does seem a long time ago ...). regards, Pavan 2010/3/3 Gaan gaan...@gmail.com I found the problem is that the

Re: [android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread pavan savoy
I am not sure it's gonna help - but when I faced this kind of problem. I stopped trying it from GUI. I made sure - my supplicant ran from console (as root), I tried connecting with a wpa_cli and did all the steps in wifi.c manually (inserting modules/fw_download or whatever is specific to chip)

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
I think stop trying it from GUI maybe a good idea. and I figure out why fail. because I pass ctrl_path /data/system/ wpa_supplicant/ra0 to wpa_ctrl_open but I didn't creat ra0 this directory under /data/system/ wpa_supplicant after I creat directory ra0, log has changed. E/Wap_Supplicant( 963):

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
there are one thing strange. I think code flow in wpa_ctrl_open() ( wpa_ctrl.c ). it should go into #ifdef ANDROID, but not outside. I found that it will check the first char in ctrl_path, it can't be /. or it will go outside. unfortunately, I just gave the path /data/ system/ #ifdef ANDROID

[android-porting] Re: Porting Wifi driver on Android

2010-03-02 Thread Brandon
In your wpa_supplicant.conf, change your GROUP=system to GROUP=wifi. If you create /data/system/wpa_supplicant using 0777 wifi wifi, your group needs to be wifi so the correct permissions can be used. I had this issue before until I changed the group, then it was able to make the interface. On

[android-porting] Re: Porting Wifi driver on Android

2010-02-25 Thread Brandon
Did you check your system/bin to see if wpa_supplicant was present? Here is what's in my BoardConfig.mk in order to build wpa supplicant. # Wifi related defines BOARD_WPA_SUPPLICANT_DRIVER := WEXT BOARD_WPA_SUPPLICANT_PRIVATE_LIB := On Feb 23, 3:56 am, Gaan gaan...@gmail.com wrote: Hi