Hi,

I have replaced rt3070sta.ko file calling with my ko file. changes are
done in Android.mk, BoardConfig.mk and wifi.c.

But it is not taking my file. I have tried updating wifi.c and
frameworks/base/services/java/com/android/server/WifiService.java
(changed the print statements) and compiled with "make clean" and
"make".
But the changes are not reflecting the logcat output. Looks like it
always trying to check for rt3070.ko file.

Is there any thing that am missing. Please help me.

Thanks,
Sudha


On Sep 9, 6:29 pm, bard shen <[email protected]> wrote:
> Hi Guy,
>   Maybe something missed. As I know, the atmel default supports Ranlink
> 3072.
>
>   You can modify the name of driver  in BoardConfig.mk file.
>
> On Fri, Sep 9, 2011 at 12:53 PM, Sudha Daram <[email protected]> wrote:
> > Hi all,
>
> > I am trying to port my wlan.ko files in android on atmel board. For
> > that I have added the corresponding changes in wifi.c file. But, the
> > insertion of the module is not happening.
>
> > I guess this should happen when WLAN enabled. But, directly it is
> > calling wifi_start_supplicant() function.
>
> > What should I do to invoke wifi_load_driver() function? How can i know
> > from where wifi_start_supplicant is getting called?
>
> > Please let me to solve this issue. I appreciate your quick responses.
>
> > LOGS:
>
> > I/ARMAssembler(  749): generated
> > scanline__00000077:03545404_00000A04_00000000 [ 29 ipp] (51 ins) at
> > [0x2f4208:0x2f42d4] in 1000000 ns
>
> > I/ActivityManager(  749): Starting activity: Intent
> > { act=android.intent.action.MAIN
> > cmp=com.android.settings/.WirelessSettings }
>
> > I/ActivityManager(  749): Displayed activity
> > com.android.settings/.WirelessSettings: 549 ms (total 549 ms)
>
> > I/ActivityManager(  749): Starting activity: Intent
> > { act=android.intent.action.MAIN
> > cmp=com.android.settings/.wifi.WifiSettings }
>
> > I/ActivityManager(  749): Displayed activity
> > com.android.settings/.wifi.WifiSettings: 468 ms (total 468 ms)
>
> > D/SettingsWifiEnabler(  880): Received wifi state changed from
> > Disabled to Enabling
>
> > rtusb init --->
>
> > usbcore: registered new interface driver rt2870
>
> > D/WifiService(  749): ACTION_BATTERY_CHANGED pluggedType: 1
>
> > E/WifiHW  (  749): Unable to open connection to supplicant on "/data/
> > misc/wpa_supplicant/wlan0": No such file or directory
>
> > D/SettingsWifiEnabler(  880): Received wifi state changed from
> > Enabling to Enabled
>
> > I/wpa_supplicant(  888): CTRL-EVENT-STATE-CHANGE id=-1 state=0
>
> > E/wpa_supplicant(  888): Failed to disable WPA in the driver.
>
> > D/dalvikvm(  880): GC freed 3827 objects / 225560 bytes in 107ms
>
> > E/SettingsWifiLayer(  880): Unable to scan for networks
>
> > --
> > unsubscribe: [email protected]
> > website:http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to