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
On Mon, Jul 13, 2009 at 8:07 PM, Elvis Dowson <[email protected]>wrote:
> 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
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---