Help getting Ralink WiFi module to start

871 views
Skip to first unread message

Elvis Dowson

unread,
Jun 27, 2009, 3:22:39 PM6/27/09
to android-porting
Hi,
I get the following error while attempting to start my internet
browser. Could someone help me troubleshoot this error :

I/WifiHW ( 1175): Loading WiFi Modules
D/SettingsWifiEnabler( 1477): Received wifi state changed from
Disabled to Enabling
E/WifiHW ( 1175): driver rt73usb has NOT been installed
phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 1300, rf: 0002,
rev: 0002573a.
wmaster0 (rt73usb): not using net_device_ops yet
wlan0 (rt73usb): not using net_device_ops yet
Registered led device: rt73usb-phy0:radio
Registered led device: rt73usb-phy0:assoc
Registered led device: rt73usb-phy0:quality
usbcore: registered new interface driver rt73usb
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file
'rt73.bin'.
rt73usb 1-1:1.0: firmware: requesting rt73.bin
init: untracked pid 1628 exited
phy0 -> rt2x00lib_request_firmware: Info - Firmware detected -
version: 1.7.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5,
CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5,
CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5,
CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5,
CWmax: 10, Aifs: 2, TXop: 0.
I/WifiHW ( 1175): start wifi_start_supplicant
I/WifiHW ( 1175): wifi_connect_to_supplicant called
I/WifiHW ( 1175): wifi_wait_for_event called
W/ActivityManager( 1175): Unable to start service Intent
{ action=android.bluetooth.IBluetoothHeadset }: not found
E/BluetoothHeadset( 1175): Could not bind to Bluetooth Headset Service
I/WifiHW ( 1175): wifi_command called,cmd:STATUS
I/WifiHW ( 1175): wifi_command called,cmd:DRIVER RSSI
I/WifiHW ( 1175): reply:FAIL
I/WifiHW ( 1175):
I/WifiHW ( 1175): wifi_command called,cmd:DRIVER LINKSPEED
I/WifiHW ( 1175): reply:FAIL
I/WifiHW ( 1175):
I/WifiHW ( 1175): wifi_command called,cmd:DRIVER MACADDR
I/WifiHW ( 1175): reply:FAIL
I/WifiHW ( 1175):
V/WifiStateTracker( 1175): Connection to supplicant established,
state=INACTIVE
I/WifiHW ( 1175): wifi_command called,cmd:DRIVER RXFILTER-ADD 0
I/WifiHW ( 1175): reply:FAIL
I/WifiHW ( 1175):
I/WifiHW ( 1175): wifi_command called,cmd:DRIVER BTCOEXSCAN-STOP
I/WifiHW ( 1175): reply:FAIL
I/WifiHW ( 1175):
I/WifiHW ( 1175): wifi_command called,cmd:LIST_NETWORKS
D/SettingsWifiEnabler( 1477): Received wifi state changed from
Enabling to Enabled
I/WifiHW ( 1175): wifi_command called,cmd:BLACKLIST clear
V/WifiMonitor( 1175): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1]
I/WifiHW ( 1175): wifi_wait_for_event called
V/WifiStateTracker( 1175): Changing supplicant state: INACTIVE ==>
INACTIVE

.....


I/WifiHW ( 994): wifi_command called,cmd:BLACKLIST clear
V/WifiMonitor( 994): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1]
I/WifiHW ( 994): wifi_wait_for_event called
V/WifiStateTracker( 994): Changing supplicant state: INACTIVE ==>
INACTIVE



Best regards,

Elvis


Elvis Dowson

unread,
Jun 28, 2009, 3:05:16 PM6/28/09
to android-porting
Hi,
I've made some more progress, but I'm stuck at one point. What
is the correct location to store the wifi module firmware files?

Is it /system/etc/firmware or /etc/firmare?

The linux kernel loads it from /lib/firmware.

I've copied the Ralink rt73.bin wifi module firmware file to /system/
etc/firmware for android to load from , but I still get the folowing
error:

init: cannot open '/initlogo.rle'
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file
'rt73.bin'.
rt73usb 1-1:1.0: firmware: requesting rt73.bin
phy0 -> rt2x00lib_request_firmware: Error - Failed to request
Firmware.

This is being called from init.rc

on boot
# basic network init
ifup lo
ifup wlan0
hostname localhost
domainname localdomain


Best regards,

Elvis

Elvis Dowson

unread,
Jun 28, 2009, 6:24:21 PM6/28/09
to android-porting
Hi,
Here is the latest set of messages.

I//system/bin/wpa_supplicant( 1242): wpa_driver_wext_set_key: alg=0
key_idx=0 set_tx=0 seq_len=0 key_len=0
I//system/bin/wpa_supplicant( 1242): wphy0 ->
rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'.
pa_driver_wext_set_key: alg=0 kert73usb 1-1:1.0: firmware: requesting
rt73.bin
y_idx=1 set_tx=0 seq_len=0 key_linit: untracked pid 1278 exited
en=0
I//system/bin/wpa_supplicant( 1242): wpa_driver_wext_set_key: alg=0
key_idx=2 set_tx=0 seq_len=0 key_len=0
I//system/bin/wpa_supplicant( 1242): wpa_driver_wext_set_key: alg=0
key_idx=3 set_tx=0 seq_len=0 key_len=0
I//system/bin/wpa_supplicant( 1242):
wpa_driver_wext_set_countermeasures
I//system/bin/wpa_supplicant( 1242): ioctl[SIOCSIWAUTH]: Operation not
supported on transport endpoint
I//system/bin/wpa_supplicant( 1242): WEXT auth param 4 value 0x0 -
wpa_driver_wext_set_drop_unencrypted
I//system/bin/wpa_supplicant( 1242): Setting scan request: 0 sec
100000 usec
I//system/bin/wpa_supplicant( 1242): Added interface wlan0
I//system/bin/wpa_supplicant( 1242): Ignore event for foreign ifindex
2
I//system/bin/wpa_supplicant( 1242): RTM_NEWLINK: operstate=0
ifi_flags=0x1002 ()
I//system/bin/wpa_supplicant( 1242): RTM_NEWLINK, IFLA_IFNAME:
Interface 'wlan0' added
I//system/bin/wpa_supplicant( 1242): RTM_NEWLINK: operstate=0
ifi_flags=0x1002 ()
I//system/bin/wpa_supplicant( 1242): RTM_NEWLINK, IFLA_IFNAME:
Interface 'wlan0' added
I//system/bin/wpa_supplicant( 1242): Wireless event: cmd=0x8b06 len=8
I//system/bin/wpa_supplicant( 1242): l2_packet_receive - recvfrom:
Network is down
I//system/bin/dhcpcd( 1276): wlan0: dhcpcd 4.0.1 starting
I//system/bin/wpa_supplicant( 1242): State: DISCONNECTED -> SCANNING
I//system/bin/wpa_supplicant( 1242): CTRL-EVENT-STATE-CHANGE id=-1
state=2
I//system/bin/wpa_supplicant( 1242): Starting AP scan (broadcast SSID)
I//system/bin/wpa_supplicant( 1242): Trying to get current scan
results first without requesting a new scan to speed up initial
association


It seems to add the wlan0 interface after a few retries, but still
nothing works.

Elvis

Elvis Dowson

unread,
Jun 28, 2009, 6:27:03 PM6/28/09
to android-porting
Some more messages..

I/WifiHW ( 1007): Loading WiFi Modules
D/SettingsWifiEnabler( 1340): Received wifi state changed from
Disabled to Enabling
I/WifiHW ( 1007): check_driver_loaded
E/WifiHW ( 1007): driver rt73usb has NOT been installed
I/WifiHW ( 1007): insmod
I/WifiHW ( 1007): insmod
I/WifiHW ( 1007): insmod
phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 1300, rf: 0002,
rev: 0002573a.
wmaster0 (rt73usb): not using net_device_ops yet
wlan0 (rt73usb): not using net_device_ops yet
Registered led device: rt73usb-phy0:radio
Registered led device: rt73usb-phy0:assoc
Registered led device: rt73usb-phy0:quality
usbcore: registered new interface driver rt73usb
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file
'rt73.bin'.
rt73usb 1-1:1.0: firmware: requesting rt73.bin
init: untracked pid 1473 exited
I//system/bin/dhcpcd( 1477): wlan0: dhcpcd 4.0.1 starting
I//system/bin/wpa_supplicant( 1475): Initializing interface 'wlan0'
conf '/system/etc/wifi/wpa_supplicant.conf' driver 'wext'
ctrl_interface 'N/A' bridge 'N/A'
I//system/bin/wpa_supplicant( 1475): Configuration file '/system/etc/
wifi/wpa_supplicant.conf' -> '/system/etc/wifi/wpa_supplicant.conf'
I//system/bin/wpa_supplicant( 1475): Reading configuration file '/
system/etc/wifi/wpa_supplicant.conf'
I//system/bin/wpa_supplicant( 1475): update_config=1
I//system/bin/wpa_supplicant( 1475): ctrl_interface='wlan0'
I//system/bin/wpa_supplicant( 1475): eapol_version=1
I//system/bin/wpa_supplicant( 1475): ap_scan=1
I//system/bin/wpa_supplicant( 1475): fast_reauth=1
I//system/bin/wpa_supplicant( 1475): Initializing interface (2)
'wlan0'
I//system/bin/wpa_supplicant( 1475): EAPOL: SUPP_PAE entering state
DISCONNECTED
I//system/bin/wpa_supplicant( 1475): EAPOL: KEY_RX entering state
NO_KEY_RECEIVE
I//system/bin/wpa_supplicant( 1475): EAPOL: SUPP_BE entering state
INITIALIZE
I//system/bin/wpa_supplicant( 1475): EAP: EAP entering state DISABLED
I//system/bin/wpa_supplicant( 1475): EAPOL: External notification -
portEnabled=0
I//system/bin/wpa_supplicant( 1475): EAPOL: External notification -
portValid=0
E/WifiService( 1007): Failed to load Wi-Fi driver.
D/SettingsWifiEnabler( 1340): Received wifi state changed from
Enabling to Unknown



阿虚

unread,
Jun 28, 2009, 9:43:36 PM6/28/09
to android...@googlegroups.com
 
You can try this,it does not need a firmare at all!

2009/6/29 Elvis Dowson <elvis....@gmail.com>

Elvis Dowson

unread,
Jul 10, 2009, 12:12:52 PM7/10/09
to android...@googlegroups.com
Hi,
     Those versions do not compile for an ARM target. Do you have one that works for an ARM target, that works with the OpenEmbedded build system?

Elvis

阿虚

unread,
Jul 11, 2009, 1:59:53 AM7/11/09
to android...@googlegroups.com
just build them with arm-linux-gcc ,it works well.

2009/7/11 Elvis Dowson <elvis....@gmail.com>:

Elvis Dowson

unread,
Jul 11, 2009, 9:41:30 AM7/11/09
to android-porting
Hi,
I finally managed to fix it and get the Ralink RT2571WF USB wifi
driver to work.

This chipset requires the rt73usb.ko kernel wifi module driver. It's
firmware file rt73.bin, should be located under /etc/firmware. For
other wifi drivers, such as the overo libertas driver, it should be
located under /system/etc/firmware.

The rt73usb driver is supplied as part of the linux 2.6.29 kernel
sources, called RT2x00. I used the dependent libraries rt2x00lib.ko
and rt2x00usb.ko, as modules, and modified wifi.c to load all three
modules. Then I applied all the patches that yi had developed for the
EEPC's atheros wifi driver, and after a long struggle, finally got it
to work.

This wifi driver wasn't easy to get up and running.

Elvis Dowson

sandeep gupta

unread,
Jul 13, 2009, 9:36:25 AM7/13/09
to android...@googlegroups.com
Hi,

I am trying to make usb wifi dongle (ralink rt73) work. I have enabled the support for rt73 in kernel Image(Linux-2.6.29).

At boot time I can see the log kernel which detects  USB wifi.

Here are boot log messages:
Disabling unused clock "modem_fck"
Disabling unused clock "clkout2_src_ck"
Disabling unused clock "dpll4_m6x2_ck"
Disabling unused clock "dpll4_m5x2_ck"
Disabling unused clock "dpll3_m3x2_ck"
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1

phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 1300, rf: 0002, rev: 0002573a.
twl4030_rtc twl4030_rtc: hctosys: invalid date/time
Waiting 3sec before mounting root device...

Registered led device: rt73usb-phy0:radio
Registered led device: rt73usb-phy0:assoc
Registered led device: rt73usb-phy0:quality
usb 1-1: New USB device found, idVendor=07d1, idProduct=3c07
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: 802.11 bg WLAN
usb 1-1: Manufacturer: Ralink
usb 1-1: 300mA is over 100mA budget for port 1!
hub 1-0:1.0: 200mA over power budget!
mmc0: new high speed SD card at address b368
mmcblk0: mmc0:b368 SD01G 952 MiB


Even I can  verify the wlan0 interface.
# busybox ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:08:EE:02:F8:FE 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:56

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:21:91:98:07:1F 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-21-91-98-07-1F-00-00-00-00-00-00-00-00-00-00 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

after assigning the essid by following command
iwconfig wlan0 essid my_network

when I am trying to assign an IP address by command line I get struct with this error:
# ifconfig wlan0 up

phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'.
rt73usb 1-1:1.0: firmware: requesting rt73.bin
phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 1.7.
phy0 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x3000 with error -110.


am I missing somthing? any suggestion to solve this?

Thanks
Sandy

Elvis Dowson

unread,
Jul 13, 2009, 10:37:29 AM7/13/09
to android...@googlegroups.com
Hi,
        Type the following command to get more diagnostic information:

$ lsusb -a

The Ralink RT2571WF USB Wifi module chipeset requires 300mA of power to function properly. Your USB port might not have sufficient power to activate the USB device using your current USB OTG port. This was the same in my case, using a gumstix Overo Earth TI OMAP 3503 wifi module + palo43 board, whose USB port could only supply 100mA on each port.

Even if you use a USB hub, you really need to make sure that it can supply 300mA of power on each USB port or mode. 

In the case of this specific hardware configuration, power was separately applied from an external power source, and the kernel limit was increased by applying the following patch:

diff --git a/drivers/usb/host/sl811_cs.c b/drivers/usb/host/sl811_cs.c
index 516848d..73c3598 100644
--- a/drivers/usb/host/sl811_cs.c
+++ b/drivers/usb/host/sl811_cs.c
@@ -82,7 +82,7 @@ static void release_platform_dev(struct device * dev)
 
 static struct sl811_platform_data platform_data = {
  .potpg = 100,
- .power = 50, /* == 100mA */
+ .power = 200, /* == 400mA */
  // .reset = ... FIXME:  invoke CF reset on the card
 };
 

Best regards,

Elvis

sandeep gupta

unread,
Jul 14, 2009, 5:10:54 AM7/14/09
to android...@googlegroups.com
Hi Elvis,

Here id the output of  "lsusb  -a"  on my host machine:
Bus 005 Device 004: ID 07d1:3c07 D-Link System
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x07d1 D-Link System
  idProduct          0x3c07
  bcdDevice            0.01
  iManufacturer           1 Ralink
  iProduct                2 802.11 bg WLAN
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              300mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Yes it seams this usb wifi needs 300mA current. Currently I am not having any usb hub (external power supplied).
I will test once I get a hub.

Thanks,
Sandy

sandeep gupta

unread,
Jul 14, 2009, 9:38:21 AM7/14/09
to android...@googlegroups.com
Hi Elvis,

I have tried with external powered usb hub with  kernel limit increase to 400mA. I am still getting the same error. I am not sure  that my hub is  able to produce 300mA output.
I am using hub model BF-4700 (Bafo Technology) and no where in the manual they have mentioned the output current per port.

is there any way to find out output current per port ?

Here is the output of lsusb -v when hub is connected:

bash-3.00# lsusb -v

Bus 002 Device 001: ID 1d6b:0002 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1d6b
  idProduct          0x0002
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.28-rc8-omap1 ehci_hcd
  iProduct                2 OMAP-EHCI Host Controller
  iSerial                 1 ehci-omap.0

  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25

    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA

    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt

          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  bytes 4 three times
        bInterval              12

Bus 001 Device 003: ID 07d1:3c07 D-Link System
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x07d1 D-Link System
  idProduct          0x3c07
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              300mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once

        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once

        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once

        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once

        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once
        bInterval               0

Bus 001 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub

Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x0409 NEC Corp.
  idProduct          0x0059 HighSpeed Hub
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25

    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA

    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt

          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  bytes 1 once
        bInterval              12

Bus 001 Device 001: ID 1d6b:0002 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1d6b
  idProduct          0x0002
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.28-rc8-omap1 musb-hcd
  iProduct                2 MUSB HDRC host driver
  iSerial                 1 musb_hdrc

  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25

    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA

    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt

          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  bytes 4 three times
        bInterval              12
bash-3.00#

Thanks
Sandeep

twebb

unread,
Jul 19, 2009, 4:43:37 PM7/19/09
to android-porting
Did you ever manage to get support into your driver for the:

DRIVER RSSI
DRIVER LINKSPEED
DRIVER MACADDR
etc...

commands?

Just curious because I'm having trouble with those using a TI wlan
driver.

twebb


On Jul 11, 9:41 am, Elvis Dowson <elvis.dow...@gmail.com> wrote:
> Hi,
>      I finally managed to fix it and get the Ralink RT2571WF USB wifidriverto work.
>
> This chipset requires the rt73usb.ko kernel wifi moduledriver. It's
> firmware file rt73.bin, should be located under /etc/firmware. For
> other wifi drivers, such as the overo libertasdriver, it should be
> located under /system/etc/firmware.
>
> The rt73usbdriveris supplied as part of the linux 2.6.29 kernel
> sources, called RT2x00. I used the dependent libraries rt2x00lib.ko
> and rt2x00usb.ko, as modules, and modified wifi.c to load all three
> modules. Then I applied all the patches that yi had developed for the
> EEPC's atheros wifidriver, and after a long struggle, finally got it
> to work.
>
> This wifidriverwasn't easy to get up and running.
>
> Elvis Dowson

vanix

unread,
Aug 10, 2009, 11:55:56 PM8/10/09
to android-porting
I have a confusing problem. Can I enable wifi without wpa_supplicant?


On 7月11日, 下午9時41分, Elvis Dowson <elvis.dow...@gmail.com> wrote:
> Hi,
>      I finally managed to fix it and get the Ralink RT2571WF USBwifi
> driver to work.
>
> This chipset requires the rt73usb.ko kernelwifimodule driver. It's
> firmware file rt73.bin, should be located under /etc/firmware. For
> otherwifidrivers, such as the overo libertas driver, it should be
> located under /system/etc/firmware.
>
> The rt73usb driver is supplied as part of the linux 2.6.29 kernel
> sources, called RT2x00. I used the dependent libraries rt2x00lib.ko
> and rt2x00usb.ko, as modules, and modifiedwifi.c to load all three
> modules. Then I applied all the patches that yi had developed for the
> EEPC's atheroswifidriver, and after a long struggle, finally got it
> to work.
>
> Thiswifidriver wasn't easy to get up and running.
>
> Elvis Dowson

deepak singal

unread,
Aug 12, 2009, 12:54:13 AM8/12/09
to android...@googlegroups.com
Hi vanix,

Plz Try :

iwconfig wlan0 essid "name_xyz"
setprop net.dns1 192.168.x.x
netcfg wlan0 dhcp


Deepak
Reply all
Reply to author
Forward
0 new messages