pianyu / 0xdroid

Automatically exported from code.google.com/p/0xdroid
0 stars 0 forks source link

problem driver rt3070sta.ko USB wifi module WF-8000 u with beagleboard #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

=== pAd = d0e7f000, size = 510088 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
usbcore: registered new interface driver rt2870
D/Tethering(  853): interfaceAdded :ra0
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
RTMP_TimerListAdd: add timer obj d0ec6f78!
RTMP_TimerListAdd: add timer obj d0ec6fa4!
RTMP_TimerListAdd: add timer obj d0ec6fd0!
RTMP_TimerListAdd: add timer obj d0ec6f4c!
RTMP_TimerListAdd: add timer obj d0ec6ec8!
RTMP_TimerListAdd: add timer obj d0ec6ef4!
RTMP_TimerListAdd: add timer obj d0e91b0c!
RTMP_TimerListAdd: add timer obj d0e80e5c!
RTMP_TimerListAdd: add timer obj d0e80e90!
RTMP_TimerListAdd: add timer obj d0e91ba4!
RTMP_TimerListAdd: add timer obj d0e91ab4!
RTMP_TimerListAdd: add timer obj d0e91b74!
-->RTUSBVenderReset
<--RTUSBVenderReset
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
NVM is Efuse and its size =2d[2d0-2fc] 
phy mode> Error! The chip does not support 5G band 5!
RTMPSetPhyMode: channel is out of range, use first channel=1 
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
D/dhcpcd  ( 1701): dhcpcd 4.0.15 starting
D/dhcpcd  ( 1701): hardware address = 00:19:94:10:d7:da
D/dhcpcd  ( 1701): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason 
PREINIT
===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 106
I/wpa_supplicant( 1699): CTRL-EV==>rt_ioctl_siwfreq::SIOCSIWFREQ(Channel=1)
ENT-STATE-CHANGE id=-1 state=2
I/wpa_supplicant( 1699): CTRL-EVENT-SCAN-RESULTS  Ready
I/wpa_supplicant( 1699): Trying to associate with 00:1b:2f:71:ec:89 
(SSID='engin_elec' freq=2412 MHz)
I/wpa_supplicant( 1699): CTRL-EVENT-STATE-CHANGE id=-1 state=3
I//system/bin/wpa_supplicant( 1698): ioctl[SIOCSIWGENIE]: Operation not 
supported on transport endpoint
I/wpa_supplicant( 1699): Association request to the driver failed
D/dhcpcd  ( 1701): waiting for carrier
D/dhcpcd  ( 1701): host does not support a monotonic clock - timing can skew
===>rt_ioctl_giwscan. 3(3) BSS returned, data->length = 436
==>rt_ioctl_siwfreq::SIOCSIWFREQ(Channel=1)
I/wpa_supplicant( 1699): CTRL-EV===>rt_ioctl_giwscan. 3(3) BSS returned, 
data->length = 436
ENT-SCAN-RESULTS  Ready
I/wpa_supplicant( 1699): Trying to associate with 00:1b:2f:71:ec:82 
(SSID='engin_elec' freq=2462 MHz)
I/wpa_supplicant( 1699): CTRL-EVENT-STATE-CHANGE id=0 state=3
I//system/bin/wpa_supplicant( 1698): ioctl[SIOCSIWGENIE]: Operation not 
supported on transport endpoint
I/wpa_supplicant( 1699): Association request to the driver failed
I/wpa_supplicant( 1699): CTRL-EVENT-SCAN-RESULTS  Ready
I/power   (  853): *** set_screen_state 1
I/wpa_supplicant( 1699): Authentication with 00:1b:2f:71:ec:82 timed out.
I/wpa_supplicant( 1699): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 1699): CTRL-EVENT-STATE-CHANGE id=-1 state=2
D/WifiStateTracker(  853): Resetinit: untracked pid 1701 exited
 connections and stopping DHCP
D/dhcpcd  ( 1701): received SIGTERM, stopping
===>rt_ioctl_giwscan. 4(4) BSS returned, data->length = 542
==>rt_ioctl_siwfreq::SIOCSIWFREQ(Channel=1)
I/wpa_supplicant( 1699): CTRL-EV===>rt_ioctl_giwscan. 4(4) BSS returned, 
data->length = 542
ENT-SCAN-RESULTS  Ready
I/wpa_supplicant( 1699): Trying to associate with 00:1b:2f:71:ec:82 
(SSID='engin_elec' freq=2462 MHz)
I/wpa_supplicant( 1699): CTRL-EVENT-STATE-CHANGE id=-1 state=3
I//system/bin/wpa_supplicant( 1698): ioctl[SIOCSIWGENIE]: Operation not 
supported on transport endpoint
I/wpa_supplicant( 1699): Association request to the driver failed
I/wpa_supplicant( 1699): CTRL-EVENT-SCAN-RESULTS  Ready
I/power   (  853): *** set_screen_state 1
D/WifiStateTracker(  853): Disabling interface
I//system/bin/wpa_supplicant( 1698): l2_packet_receive - recvfrom: Network is 
down
I/wpa_supplicant( 1699): CTRL-EVENT-TERMINATING - signal 15 received
I/wpa_supplicant( 1699): CTRL-EVENT-TERMINATING - signal 0 received
I/wpa_supplicant( 1699): CTRL-EVENT-STATE-CHANGE id=0 state=0
E/wpa_supplicant( 1699): Failed to disable WPA in the driver.
D/WifiStateTracker(  853): Reset connections and stopping DHCP
init: untracked pid 1699 exited
usbcore: deregistering interface driver rt2870
rtusb_disconnect: unregister usbnet usb-ehci-omap.0-2.5
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
D/WifiStateTracker(  853): Disabling interface
D/Tethering(  853): InitialState.processMessage what=4
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
 RTUSB disconnect successfully
<--- rtusb exit

 I modify  wifi.c   I found  the driver problem.  
result    ioctl[SIOCSIWGENIE]: Operation not supported on transport endpoint    
could you help to patch driver ? I would like to share you.

Original issue reported on code.google.com by greatma...@gmail.com on 9 Feb 2011 at 4:15

GoogleCodeExporter commented 9 years ago
I attach  wifi.c (test file )

Original comment by greatma...@gmail.com on 14 Feb 2011 at 9:19

Attachments: