Hi li,

Please post your messages here only.

On 08/25/2011 11:32 AM, weihongcsu li wrote:
> I try it like this:
> set_dns_props()
> {
>     setprop net.dns 192.168.1.100
> ...
> But it did not work.

Assuming that the function is functioning properly -
setprop net.dns1 192.168.1.100

-- Note that suffix - 1 after dns.

> Thank you all the same!

Not at all.
You may continue to get the DHCP Time-out message.
It's just an effort to override and get network connectivity
established.

>
> 2011/8/25 Ashwini Singh <ashw...@whiznets.com>
>
>     Hi weihongcsu/li,
>
>     On 08/25/2011 09:17 AM, weihongcsu li wrote:
>     > Hi,Singh,thanks for your answer.I changed permission in the 
> sysinit.rc,but no luck.Now I use the kernel 2.6.32.9. It can scan,but it just 
> cannot connect to the wifi,fails on "Obtaining an IP Address",even I use a 
> static ip. Can you lend me a hand? Here is the log:
>     > I/wpa_supplicant(  588): Trying to associate with 00:e0:4c:b8:73:24 
> (SSID='HG231f-B8731C' freq=2422 MHz)
>     > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=-1 state=3
>     >
>     > V/WifiMonitor(  200): Event [Trying to associate with 00:e0:4c:b8:73:24 
> (SSID='HG231f-B8731C' freq=2422 MHz)]
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
>     >
>     > V/WifiStateTracker(  200): Changing supplicant state: SCANNING ==> 
> ASSOCIATING
>     > D/NetworkStateTracker(  200): setDetailed state, old =SCANNING and new 
> state=CONNECTING
>     >
>     > D/ConnectivityService(  200): ConnectivityChange for WIFI: 
> CONNECTING/CONNECTING
>     >
>     >
>     > D/WifiService(  200): ACTION_BATTERY_CHANGED pluggedType: 2
>     > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=4
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=4]
>     > V/WifiStateTracker(  200): Changing supplicant state: ASSOCIATING ==> 
> ASSOCIATED
>     > D/NetworkStateTracker(  200): setDetailed state, old =CONNECTING and 
> new state=CONNECTING
>     > I/wpa_supplicant(  588): Associated with 00:e0:4c:b8:73:24
>     > V/WifiMonitor(  200): Event [Associated with 00:e0:4c:b8:73:24]
>     > D/dalvikvm(  561): GC_FOR_MALLOC freed 8399 objects / 482752 bytes in 
> 122ms
>     > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=5
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5]
>     > V/WifiStateTracker(  200): Changing supplicant state: ASSOCIATED ==> 
> FOUR_WAY_HANDSHAKE
>     > D/NetworkStateTracker(  200): setDetailed state, old =CONNECTING and 
> new state=AUTHENTICATING
>     > D/ConnectivityService(  200): Dropping ConnectivityChange for WIFI: 
> CONNECTING/AUTHENTICATING
>     > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=5
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5]
>     > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=6
>     > V/WifiStateTracker(  200): Changing supplicant state: 
> FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6]
>     > I/wpa_supplicant(  588): WPA: Key negotiation completed with 
> 00:e0:4c:b8:73:24 [PTK=CCMP GTK=CCMP]
>     > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=7
>     > I/wpa_supplicant(  588): CTRL-EVENT-CONNECTED - Connection to 
> 00:e0:4c:b8:73:24 completed (auth) [id=0 id_str=]
>     > V/WifiStateTracker(  200): Changing supplicant state: 
> FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE
>     > V/WifiMonitor(  200): Event [WPA: Key negotiation completed with 
> 00:e0:4c:b8:73:24 [PTK=CCMP GTK=CCMP]]
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=7]
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-CONNECTED - Connection to 
> 00:e0:4c:b8:73:24 completed (auth) [id=0 id_str=]]
>     > D/NetworkStateTracker(  200): setDetailed state, old =AUTHENTICATING 
> and new state=AUTHENTICATING
>     > V/WifiStateTracker(  200): Changing supplicant state: GROUP_HANDSHAKE 
> ==> COMPLETED
>     > V/WifiStateTracker(  200): New network state is CONNECTED
>     > D/NetworkStateTracker(  200): setDetailed state, old =AUTHENTICATING 
> and new state=OBTAINING_IPADDR
>     > D/ConnectivityService(  200): Dropping ConnectivityChange for WIFI: 
> CONNECTING/OBTAINING_IPADDR
>     > D/WifiStateTracker(  200): DhcpHandler: DHCP request started
>     > D/dhcpcd  (  685): dhcpcd 4.0.15 starting
>     > D/dhcpcd  (  685): hardware address = b4:07:f9:b6:9e:bc
>     > D/dhcpcd  (  685): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', 
> reason PREINIT
>     > I/dhcpcd  (  684): Toolbox!
>     > D/dhcpcd  (  685): host does not support a monotonic clock - timing can 
> skew
>     > D/dhcpcd  (  685): broadcasting for a lease
>     > D/dhcpcd  (  685): sending DHCP_DISCOVER with xid 0xe21861cf, next in 
> 4.09 seconds
>     > D/dhcpcd  (  685): offered 192.168.1.110 from 192.168.1.100
>     > D/dhcpcd  (  685): sending DHCP_REQUEST with xid 0xe21861cf, next in 
> 3.09 seconds
>     > D/dhcpcd  (  685): acknowledged 192.168.1.110 from 192.168.1.100
>     > D/dhcpcd  (  685): checking 192.168.1.110 is available on attached 
> networks
>     > D/dhcpcd  (  685): sending ARP probe (1 of 3), next in 1.52 seconds
>     > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>     > D/dhcpcd  (  685): sending ARP probe (2 of 3), next in 1.87 seconds
>     > D/dhcpcd  (  685): sending ARP probe (3 of 3), next in 2.00 seconds
>     > D/dhcpcd  (  685): leased 192.168.1.110 for 86400 seconds
>     > D/dhcpcd  (  685): adding IP address 192.168.1.110/24
>     > D/dhcpcd  (  685): adding route to 0.0.0.0/0 via 192.168.1.100
>     > D/dhcpcd  (  685): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', 
> reason BOUND
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > D/skia    (  439): purging 6K from font cache [1 entries]
>     > I/dhcpcd  (  684): Toolbox!
>     > I/dhcpcd  (  684): Toolbox!
>     > D/dhcpcd  (  685): forking to background
>     > I/logwrapper(  684): dhcpcd terminated by exit(0)
>     > D/dalvikvm(  439): GC_EXPLICIT freed 2167 objects / 164400 bytes in 
> 133ms
>     > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>     > D/dhcpcd  (  735): sending ARP announce (1 of 2), next in 2.00 seconds
>     > D/dhcpcd  (  735): sending ARP announce (2 of 2)
>     > D/dhcpcd  (  735): renew in 43196 seconds
>     > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>     > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>     > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>     > D/dalvikvm(  561): GC_FOR_MALLOC freed 9104 objects / 568304 bytes in 
> 115ms
>     > I/WifiStateTracker(  200): DhcpHandler: DHCP request failed: Timed out 
> waiting for DHCP to finish
>
>     Even i had the same problem in past.
>     Somehow, 'managed' to make it work by adding property (setprop
>     net.dns) in 20-dns.conf
>
>     Would like to get informed if you are able to do it some other way.
>
>     > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=8
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=8]
>     > D/dhcpcd  (  735): carrier lost
>     > V/WifiStateTracker(  200): Changing supplicant state: COMPLETED ==> 
> DORMANT
>     > D/WifiStateTracker(  200): Reset connections and stopping DHCP
>     > I/wpa_supplicant(  588): CTRL-EVENT-DISCONNECTED - Disconnect event - 
> remove keys
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-DISCONNECTED - Disconnect event 
> - remove keys]
>     > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=-1 state=8
>     > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=8]
>     > I//system/bin/wpa_supplicant(  587): ioctl[SIOCGIWSCAN]: Try again
>     > D/WifiStateTracker(  200): Disabling interface
>     > D/NetworkStateTracker(  200): setDetailed state, old =OBTAINING_IPADDR 
> and new state=FAILED
>     > I//system/bin/wpa_supplicant(  587): l2_packet_receive - recvfrom: 
> Network is down
>     > V/WifiStateTracker(  200): New network state is DISCONNECTED
>     > V/WifiStateTracker(  200): Changing supplicant state: DORMANT ==> 
> DORMANT
>     > D/ConnectivityService(  200): ConnectivityChange for WIFI: 
> DISCONNECTED/FAILED
>     > V/ConnectivityService(  200): Attempt to connect to WIFI failed.
>     > D/ConnectivityService(  200): getMobileDataEnabled returning true
>     > D/DataConnectionTracker(  263): enableApnType(default), isApnTypeActive 
> = false and state = IDLE
>     > D/DataConnectionTracker(  263): type not available
>     > D/Tethering(  200): Tethering got CONNECTIVITY_ACTION
>     > D/Tethering(  200): MasterInitialState.processMessage what=3
>     > E/HierarchicalStateMachine(  200): TetherMaster - unhandledMessage: 
> msg.what=3
>     > I/ActivityManager(  200): Start proc com.google.android.apps.uploader 
> for broadcast 
> com.google.android.apps.uploader/.ConnectivityBroadcastReceiver: pid=750 
> uid=10019 gids={3003}
>     > I/ActivityThread(  750): Publishing provider 
> com.google.android.apps.uploader: 
> com.google.android.apps.uploader.UploadsContentProvider
>     > I/ActivityThread(  750): Publishing provider 
> com.google.photos.provider.Album: 
> com.google.android.apps.uploader.clients.picasa.AlbumProvider
>     > D/MediaUploader(  750): UploaderApplication.onCreate
>     > D/MediaUploader(  750): nonWifiLimit=20971520, default=20971520
>     > I/MediaUploader(  750): No need to wake up
>     > I/GTalkService(  601): [ServiceAutoStarter] --- connectivity changed
>     > I/GTalkService(  601): [ServiceAutoStarter] --- start GTalk service ---
>     > D/GTalkService(  601): [GTalkService.1] onStartCommand: found 0 
> connections, force audit connections...
>     > I/ActivityManager(  200): Start proc android.process.media for 
> broadcast com.android.providers.downloads/.DownloadReceiver: pid=760 
> uid=10020 gids={1015, 2001, 3003}
>     > D/GoogleLoginService(  601): onBind: Intent { 
> act=android.accounts.AccountAuthenticator 
> cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
>     > W/GoogleLoginService(  601): Device has no accounts: sending Intent { 
> act=com.google.android.gsf.LOGIN_ACCOUNTS_MISSING }
>     > I/ActivityManager(  200): Process com.google.android.apps.uploader (pid 
> 750) has died.
>     > I/ActivityManager(  200): Low Memory: No more background processes.
>     >
>     >
>     >
>     > 2011/8/24 Ashwini Singh <ashw...@whiznets.com>
>     >
>     >     Hi weihongcsu,
>     >
>     >     It seems like a permission issue.
>     >     Scenario is :--> There is something that is accessible via adb and 
> un-
>     >     accessible via console.
>     >     I guess, granting permissions to 'console' should do the work.
>     >
>     >
>     >     On Aug 20, 12:59 pm, weihongcsu li <liweihong...@gmail.com> wrote:
>     >     > Dear all,
>     >     >      Hello!I am trying to use bcm4329 on P860(Paloris) .*The 
> problem is that
>     >     > wifi cannot scan for any network ,but it can scan when I use "adb 
> shell" to
>     >     > test.Does anyone have any ideas? Any help would be greatly 
> appreciated.*
>     >     > *     Here are the logcat after I turned on wifi:*
>     >     > ###################logcat ####################################
>     >     > *     *
>     >     > I/ActivityManager(  170): Process com.android.bluetooth (pid 384) 
> has died.
>     >     >
>     >     > I/ActivityManager(  170): Process com.android.vending (pid 390) 
> has died.
>     >     >
>     >     > D/WifiService(  170): ACTION_BATTERY_CHANGED pluggedType: 2
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCGIFFLAGS]: No such 
> device
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): Could not set interface 
> 'eth0' UP
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCSIWPMKSA]: 
> Operation not
>     >     > permitted
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCSIWMODE]: 
> Operation not
>     >     > permitted
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): Could not configure driver 
> to use
>     >     > managed mode
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCGIWRANGE]: No such 
> device
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): socket(PF_PACKET): Operation 
> not
>     >     > permitted
>     >     >
>     >     > I/wpa_supplicant(  503): liweihong!!!call 
> wpa_supplicant_deinit_iface.Failed
>     >     > to add interface eth0
>     >     >
>     >     > I/wpa_supplicant(  503): CTRL-EVENT-STATE-CHANGE id=-1 state=0
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCSIWENCODEEXT]: 
> Operation not
>     >     > permitted
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCSIWENCODEEXT]: 
> Operation not
>     >     > permitted
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCSIWENCODEEXT]: 
> Operation not
>     >     > permitted
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCSIWENCODEEXT]: 
> Operation not
>     >     > permitted
>     >     >
>     >     > E/wpa_supplicant(  503):
>     >     >
>     >     > E/wpa_supplicant(  503): 
> wpa_supplicant_deinit_iface:liweihong!!!ifname:eth0
>     >     >
>     >     > E/wpa_supplicant(  503):
>     >     >
>     >     > E/wpa_supplicant(  503): Failed to disable WPA in the driver.
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCSIWAP]: Operation 
> not
>     >     > permitted
>     >     >
>     >     > I//system/bin/wpa_supplicant(  501): ioctl[SIOCGIFFLAGS]: No such 
> device
>     >     >
>     >     > I/logwrapper(  501): /system/bin/wpa_supplicant terminated by 
> exit(255)
>     >     >
>     >     > D/Tethering(  170): eth0 is not a tetherable iface, ignoring
>     >     >
>     >     > D/WifiStateTracker(  170): Reset connections and stopping DHCP
>     >     >
>     >     > W/ActivityManager(  170): Timeout of broadcast 
> BroadcastRecord{4403e728
>     >     > android.net.wifi.WIFI_STATE_CHANGED} -
>     >     > receiver=android.os.BinderProxy@44025820
>     >     >
>     >     > W/ActivityManager(  170): Receiver during timeout: 
> ResolveInfo{43fb1680
>     >     > com.android.settings.widget.SettingsAppWidgetProvider p=0 o=0 
> m=0x108000}
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 462 SIG: 3
>     >     >
>     >     > I/dalvikvm(  462): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  462): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 170 SIG: 3
>     >     >
>     >     > I/dalvikvm(  170): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  170): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 232 SIG: 3
>     >     >
>     >     > I/dalvikvm(  232): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  232): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 238 SIG: 3
>     >     >
>     >     > I/dalvikvm(  238): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  238): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 443 SIG: 3
>     >     >
>     >     > I/dalvikvm(  443): threadid=3: reacting to signal 3
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 307 SIG: 3
>     >     >
>     >     > I/dalvikvm(  307): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  443): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/dalvikvm(  307): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 402 SIG: 3
>     >     >
>     >     > I/dalvikvm(  402): threadid=3: reacting to signal 3
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 437 SIG: 3
>     >     >
>     >     > I/dalvikvm(  437): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  402): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 240 SIG: 3
>     >     >
>     >     > I/dalvikvm(  240): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  240): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 411 SIG: 3
>     >     >
>     >     > I/dalvikvm(  411): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  437): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/dalvikvm(  411): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 419 SIG: 3
>     >     >
>     >     > I/dalvikvm(  419): threadid=3: reacting to signal 3
>     >     >
>     >     > I/Process (  170): Sending signal. PID: 284 SIG: 3
>     >     >
>     >     > I/dalvikvm(  284): threadid=3: reacting to signal 3
>     >     >
>     >     > I/dalvikvm(  284): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > I/dalvikvm(  419): Wrote stack traces to '/data/anr/traces.txt'
>     >     >
>     >     > E/ActivityManager(  170): ANR in com.android.settings
>     >     >
>     >     > E/ActivityManager(  170): Reason: Broadcast of Intent {
>     >     > act=android.net.wifi.WIFI_STATE_CHANGED flg=0x10000000
>     >     > cmp=com.android.settings/.widget.SettingsAppWidgetProvider (has 
> extras) }
>     >     >
>     >     > E/ActivityManager(  170): Load: 5.02 / 4.53 / 2.5
>     >     >
>     >     > E/ActivityManager(  170): CPU usage from 262302ms to 84ms ago:
>     >     >
>     >     > E/ActivityManager(  170):   system_server: 1% = 1% user + 0% 
> kernel /
>     >     > faults: 1370 minor 23 major
>     >     >
>     >     > E/ActivityManager(  170):   ndroid.settings: 0% = 0% user + 0% 
> kernel /
>     >     > faults: 326 minor 6 major
>     >     >
>     >     > E/ActivityManager(  170):   e.process.gapps: 0% = 0% user + 0% 
> kernel /
>     >     > faults: 1314 minor 18 major
>     >     >
>     >     > E/ActivityManager(  170):   kmmcd: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):   mmcqd: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):   loop0: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):   d.apps.uploader: 0% = 0% user + 0% 
> kernel /
>     >     > faults: 501 minor
>     >     >
>     >     > E/ActivityManager(  170):   d.process.media: 0% = 0% user + 0% 
> kernel /
>     >     > faults: 548 minor 3 major
>     >     >
>     >     > E/ActivityManager(  170):   loop1: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):   adbd: 0% = 0% user + 0% kernel / 
> faults: 30
>     >     > minor
>     >     >
>     >     > E/ActivityManager(  170):   kswapd0: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):   events/0: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):   m.android.phone: 0% = 0% user + 0% 
> kernel /
>     >     > faults: 95 minor 4 major
>     >     >
>     >     > E/ActivityManager(  170):   nie.geniewidget: 0% = 0% user + 0% 
> kernel /
>     >     > faults: 138 minor
>     >     >
>     >     > E/ActivityManager(  170):   init.android: 0% = 0% user + 0% 
> kernel / faults:
>     >     > 35 minor
>     >     >
>     >     > E/ActivityManager(  170):   pdflush: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):   servicemanager: 0% = 0% user + 0% 
> kernel
>     >     >
>     >     > E/ActivityManager(  170):   vold: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):   netd: 0% = 0% user + 0% kernel / 
> faults: 2 minor
>     >     >
>     >     > E/ActivityManager(  170):   .android.htcime: 0% = 0% user + 0% 
> kernel /
>     >     > faults: 104 minor
>     >     >
>     >     > E/ActivityManager(  170):   gps_nmea_thread: 0% = 0% user + 0% 
> kernel
>     >     >
>     >     > E/ActivityManager(  170):   d.process.acore: 0% = 0% user + 0% 
> kernel /
>     >     > faults: 21 minor
>     >     >
>     >     > E/ActivityManager(  170):  +sh: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  +logcat: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  +iscan_sysioc: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  +dhcp_sysioc: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  +dhd_watchdog: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  +dhd_dpc: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  +dhd_sysioc: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  +ksdiorqd: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  -droid.bluetooth: 0% = 0% user + 0% 
> kernel
>     >     >
>     >     > E/ActivityManager(  170):  -android.vending: 0% = 0% user + 0% 
> kernel
>     >     >
>     >     > E/ActivityManager(  170):  -sh: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  -logcat: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  -iscan_sysioc: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  -dhcp_sysioc: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  -dhd_watchdog: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  -dhd_dpc: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  -dhd_sysioc: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170):  -ksdiorqd: 0% = 0% user + 0% kernel
>     >     >
>     >     > E/ActivityManager(  170): TOTAL: 4% = 2% user + 1% kernel + 0% 
> iowait
>     >     >
>     >     > D/dalvikvm(  170): GC_FOR_MALLOC freed 7928 objects / 969192 
> bytes in 195ms
>     >     >
>     >     > D/WifiStateTracker(  170): Disabling interface
>     >     >
>     >     > D/dalvikvm(  170): GC_FOR_MALLOC freed 1045 objects / 532072 
> bytes in 188ms
>     >     >
>     >     > W/ActivityManager(  170): finishReceiver called but no pending 
> broadcasts
>     >     >
>     >     > W/InputManagerService(  170): Window already focused, ignoring 
> focus gain
>     >     > of: 
> com.android.internal.view.IInputMethodClient$Stub$Proxy@43f77d80
>     >     >
>     >     > ####it should be these error,but I comment wpa_suplicant's
>     >     > check。::begin########
>     >     > E/WifiHW  (  165): Supplicant not running, cannot connect
>     >     >
>     >     > W/InputManagerService(  165): Window already focused, ignoring 
> focus gain
>     >     > of: 
> com.android.internal.view.IInputMethodClient$Stub$Proxy@44057b20
>     >     >
>     >     > E/WifiHW  (  165): Supplicant not running, cannot connect
>     >     >
>     >     > E/WifiHW  (  165): Supplicant not running, cannot connect
>     >     >
>     >     > V/WifiStateTracker(  165): Supplicant died unexpectedly
>     >     > ################################################# end
>     >     >  #######################
>     >     >
>     >     > E/WifiHW  (  170): Unable to open connection to supplicant on 
> "eth0": No
>     >     > such file or directory
>     >     >
>     >     > E/WifiHW  (  170): Unable to open connection to supplicant on 
> "eth0": No
>     >     > such file or directory
>     >     >
>     >     > E/WifiHW  (  170): Unable to open connection to supplicant on 
> "eth0": No
>     >     > such file or directory
>     >     >
>     >     > V/WifiStateTracker(  170): Supplicant died unexpectedly
>     >     >
>     >     > D/WifiStateTracker(  170): Reset connections and stopping DHCP
>     >     >
>     >     > D/WifiStateTracker(  170): Disabling interface
>     >     >
>     >     > D/NetworkStateTracker(  170): setDetailed state, old 
> =DISCONNECTED and new
>     >     > state=DISCONNECTED
>     >     >
>     >     > D/WifiStateTracker(  170): Reset connections and stopping DHCP
>     >     >
>     >     > D/WifiStateTracker(  170): Disabling interface
>     >     >
>     >     > E/Tethering(  170): attempting to remove unknown iface (eth0), 
> ignoring
>     >     > ###################logcat ####################################
>     >     > *
>     >     > *
>     >     >     *Here are the details:*
>     >     > 1. Phone is the *p860*, but the wifi chip is the bcm4329.
>     >     >
>     >     > 2. Android and bcm4329 is from       git://
>     >     > androidhtc.git.sourceforge.net/gitroot/androidhtc/manifest -b 
> froyo. And *I
>     >     > add my own "bcm_wlan_power_on" and "bcm_wlan_power_off"* in
>     >     > the /arch/arm/mach-msm/mmc.c. "trout_wifi_power" is in the
>     >     > board-htckaiser.c. For details,please see the attachments.
>     >     >
>     >     > 3. Kernel is linux 2.6.25, Compiler is arm-2009q3.
>     >     >
>     >     > 4. And the logs is in the attachments.
>     >     >     *Thank you very much!*
>     >     >
>     >     > Best regards!
>     >     > weihongcsu
>     >     > 8/20/2011
>     >     >
>     >     >  board-htckaiser.c
>     >     > 35KViewDownload
>     >     >
>     >     >  mmc.c
>     >     > 8KViewDownload
>     >     >
>     >     >  dmesg234-af2
>     >     > 169KViewDownload
>     >
>     >
>     >     Thank You.
>     >     - Ashwini
>     >
>     >     --
>     >     unsubscribe: android-porting+unsubscr...@googlegroups.com
>     >     website: http://groups.google.com/group/android-porting
>     >
>     >
>
>     --
>     Thank You,
>     - Ashwini
>
>     --
>     unsubscribe: android-porting+unsubscr...@googlegroups.com
>     website: http://groups.google.com/group/android-porting
>
>

Thank You.

--
Ashwini

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to