我在android4.0.4上面添加的ethernet支持,做法是按照android-x86的patch来加的。现在出现了网线不能热插拔的问题,第一次热插拔网是通的,从第二次开始网就断了。
以下是开机时候的信息:
V/EthernetStateTracker( 892): Starts...
V/EthernetStateTracker( 892): Successed
V/EthernetStateTracker( 892): start to monitor the ethernet devices
I/EthernetStateTracker( 892): reset device eth0
I/EthernetStateTracker( 892): trigger dhcp for device eth0
D/EthernetStateTracker( 892): DhcpHandler: DHCP request started
I/EthernetStateTracker( 892): reset device eth0
I/EthernetStateTracker( 892): trigger dhcp for device eth0
E/EthernetStateTracker( 892): DhcpHandler: DHCP request failed: Timed out waiting for dhcpcd to start == mzhu property_set( ctl.start ==dhcpcd_eth0==)TOE2: toe2_isr()=>isr(0x00001C23).
D/EthernetStateTracker( 892): DhcpHandler: DHCP request started
I/EthernetStateTracker( 892): report new state DISCONNECTED on dev eth0
V/EthernetStateTracker( 892): update network state tracker
I/EthernetStateTracker( 892): report new state DISCONNECTED on dev eth0
V/EthernetStateTracker( 892): update network state tracker
I/EthernetStateTracker( 892): received disconnected events, stack=false HW=false
I/EthernetStateTracker( 892): received disconnected events, stack=false HW=false
V/EthernetStateTracker( 892): report interface is up for eth0
I/EthernetStateTracker( 892): interface up event, kick off connection request
I/EthernetStateTracker( 892): trigger dhcp for device eth0
I/EthernetStateTracker( 892): report new state CONNECTED on dev eth0
V/EthernetStateTracker( 892): update network state tracker
I/EthernetStateTracker( 892): received HW connected, stack=false HW=false
D/EthernetStateTracker( 892): DhcpHandler: DHCP request succeeded: addr: 192.168.9.192/24 mRoutes: 0.0.0.0/0 -> 192.168.9.254 | dns: 192.168.9.11,192.168.9.10 dhcpServer: 192.168.9.250 leaseDuration: 7200
I/EthernetStateTracker( 892): received configured succeeded, stack=false HW=true
D/EthernetStateTracker( 892): DhcpHandler: DHCP request started
E/EthernetStateTracker( 892): DhcpHandler: DHCP request failed: Timed out waiting for DHCP to finish