[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-04-13 Thread nail
Dear Roman, two weeks ago, i try to build common wpa_supplicant into normal linux OS, but i failed to build wpa_supplicant。 thank you for your hint, and i will keep working on this topic :-) On 4月14日, 上午8時42分, Roman roman.baumgaert...@t-mobile.com wrote: Hi Nail, Here is an article which

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-04-12 Thread nail
dear Roman, sorry for i have not explain my question enough, and i will be glade to explain it again: my goal is to enable the intel 3945 abg wifi component on our x86 target platform so my first step is to enable corresponding kernel config and built-in corresponding firmware my next step is

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-04-10 Thread Roman Baumgaertner
Nail, I don't understand your question. If you are connected you should see with the command iwconfig to which SSID you are attached to. It might make sense to send the detail configuration of your supplicant to find out what is going on. Make sure that you have nowhere a typo in your

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-04-09 Thread Luca Belluccini
I did that but I get a similar error of ehung.. The output: ioctl[SIOCSIWAUTH]: Operation not supported on transport endpoint. WEXT auth param 4 value 0x0 - CTRL-EVENT-STATE-CHANGE id=-1 state=2 CTRL-EVENT-SCAN-RESULTS Ready CTRL-EVENT-STATE-CHANGE id=-1 state=1 And it locks. I'm running on

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-04-09 Thread nail
Hi, I have enabled wifi using the following command written in init.rc: mkdir /data/misc/wifi 0770 wifi wifi mkdir /data/misc/wifi/sockets 0770 wifi wifi mkdir /data/system/wpa_supplicant 0770 wifi wifi mkdir /data/misc/dhcp 0770 dhcp dhcp chown dhcp dhcp /data/misc/dhcp

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-04-09 Thread nail
Dear Roman yes, i got IP and can connect to network, it is because i have configred the wpa_supplicant.conf, and the contents is shown below: wpa_supplicant.conf: === update_config=1 eapol_version=1 ap_scan=1# ap_scan=1:

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-27 Thread Androidphan
I'm getting the following error at the moment: D/WifiHW ( 2325): Unable to open connection to supplicant on /data/ system/wpa_supplicant/wlan0: No such file or directory I got wpa_supplicant running. # ls -l /data/system/wpa_supplicant/ srwxrwx--- root system2009-03-27 11:39

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-27 Thread Androidphan
This is the output when starting wpa_supplicant: Initializing interface 'wlan0' conf '/system/etc/wifi/ wpa_supplicant.conf' drive r 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/system/etc/wifi/wpa_supplicant.conf' - '/system/ etc/wifi/ w pa_supplicant.conf' Reading

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-27 Thread Michael Trimarchi
Hi, Androidphan wrote: This is the output when starting wpa_supplicant: Initializing interface 'wlan0' conf '/system/etc/wifi/ wpa_supplicant.conf' drive r 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/system/etc/wifi/wpa_supplicant.conf' - '/system/ etc/wifi/ w

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-27 Thread Androidphan
My bad, I forgot to create the directory /data/misc/wifi/sockets On 27 mrt, 12:49, Androidphan niels.kee...@tass.nl wrote: # wpa_cli -p/data/system/wpa_supplicant/ scan Selected interface 'wlan0' Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory On 27 mrt,

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-17 Thread ehung1...@gmail.com
Hi everyone: I have a question about wpa_supplicant. I hope someone can offer some suggestion for me. I have successful load driver and firmware file in android. But I have problem at wpa_supplicant. #wpa_supplicant -Dwext -iwlan0 -c/etc/wifi/wpa_supplicant.conf ioctl[SIOCSIWAUTH]: Operation not

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-17 Thread Jith911
In you supplicant conf file.. try mentioning.. ctrl_interface=DIR=/data/system/wpa_supplicant/ GROUP=system By default the permission of the socket would be root and the service running on behalf of system won't b able to access it. -JJ. On Mar 16, 1:01 pm, SH kidsjr_...@yahoo.co.jp wrote:

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-17 Thread SH
Thank you for your advices . I've got it solved. but next error below: V/WifiStateTracker( 2422): Changing supplicant state: INACTIVE == SCANNING V/WifiMonitor( 2422): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1] V/WifiStateTracker( 2422): Changing supplicant state: SCANNING == INACTIVE

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-16 Thread SH
I am getting the following error. D/WifiService( 2436): Unable to open connection to supplicant on / data/system/wpa_supplicant/wlan0 Permisiion Denied. I would be grateful for your support. Best regards, --~--~-~--~~~---~--~~ unsubscribe:

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-16 Thread mvniekerk
Hi SH Make sure that all the correct directories is in the right place (google for /data/misc wifi android) Search through all the android code and make sure that tiwlan0 is changed to whatever your wifi device's name is. That will save you considerable time... On Mar 16, 10:01 am, SH

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-13 Thread malkin.pe...@gmail.com
I have a similar setup. My wifi shows up as eth1. I tried to follow your instructions, did not quite work. So I am able to load wpa_supplicant, can connect to AP, can ping and wget files from web. My system does not resolve domain names for some reason. What do I need to have DNS working? But the

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-12 Thread 이성준
Hi, ehung! sb 1-7.3: Could not load firmware file zd1211/zd1211b_ub. Error number -2 zd1211rw 1-7.3:1.0: couldn't load firmware. Error number -2 error: SIOCSIFFLAGS (No such file or directory) Please check your firmware file location. It must be located under /etc/firmware/* (=

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-03-11 Thread ehung1...@gmail.com
Hi vinay: I had meet a question about wifi in android. I had suceessful to insmod my wifi driver but the wifi not up yet. when I typed netcfg wlan0 up, I got the some error. # ifconfig wlan0 up firmware: requesting zd1211/zd1211b_ub init: untracked pid 2425 exited usb 1-7.3: Could not load

[android-porting] Re: Porting a WiFi Driver on a android supported platform

2009-02-11 Thread vinay
muneesh, First verify your drivers are getting inserted and you are able to connect AP with static Ip adress (use wlan_cfg). This is independent of Android and it should work FIRST. 1. Add HAVE_CUSTOM_WIFI_DRIVER_2 := true to build/target/board/generic/BoardConfig.mk file. 2. make sure