Difference between revisions of "USB reference"

From Pandora Wiki
Jump to: navigation, search
(What does “OTG” mean?: Clarifications and details added.)
m (Pandora as USB slave: mini A --> mini B)
Line 38: Line 38:
 
==Pandora as USB slave==
 
==Pandora as USB slave==
 
[[Image:Pandora.usb.slave.png|thumb|alt=Pandora as USB slave|Pandora as USB slave]]
 
[[Image:Pandora.usb.slave.png|thumb|alt=Pandora as USB slave|Pandora as USB slave]]
Using a standard USB A to USB Mini A cable (the kind you probably own several of), you can:
+
Using a standard USB A to USB Mini B cable (the kind you probably own several of), you can:
 
* Transfer data to/from Pandora
 
* Transfer data to/from Pandora
 
* Charge Pandora's battery.
 
* Charge Pandora's battery.

Revision as of 15:30, 18 March 2009

Readme First!

If you have a question to ask, that isn't covered in this FAQ already, please ask over on the Forums.

USB FAQ

How many USB ports does Pandora have?

Pandora has two USB ports:

  • 1x USB 2.0 host port (Standard “USB A” socket)
  • 1x USB 1.1/2.0 OTG port (“Mini AB” socket)

What does “host port” mean?

A USB host port “hosts” any device that you plug in, just like the USB ports on your computer. Pandora’s full size USB A port can host USB 2.0 devices, and provide up to 500mA (the maximum allowed according to USB standards).

What does “OTG” mean?

OTG stands for On The Go. USB OTG ports can operate in two different modes. When connected through this port, the Pandora can act as a device, for example when connected to a computer for charging & data transfer. For this mode, you need a standard-A to mini-B cable. However, the Pandora can also act as a host port for USB 1.1 and USB 2.0 devices. For this mode, a mini-A plug to standard-A receptable adapter as well as a standard-A to standard-B (or mini-B, micro-B, depending on what device you want to connect) is needed. This port can supply a maximum of 100mA in host mode. Although this port implements On The Go functionality, it can not get an official On The Go certification because the OTG specification requires a device to have exactly one USB port. (The Pandora has two.)

What’s all this stuff about USB 1.1 and USB 2.0? Isn’t USB, uh, universal?

The USB 2.0 protocol is not backwards compatible with USB 1.1. Most USB ports (eg. on your computer’s motherboard, in USB hubs) actually contain two chips to allow universal compatibility – one for USB 1.1, and one for USB 2.0.

Pandora’s USB A host port does not contain this second chip. Only USB 2.0 devices bearing the “USB HIGH SPEED” logo can be plugged directly into this port. However, USB 1.1 devices can be connected to this port through a USB hub, provided the hub bears the “USB HIGH SPEED” logo.

Pandora’s USB OTG (Mini AB) port is fully compatible with both USB 1.1 and USB 2.0, allowing it to host either type of device.

So which devices are USB 1.1, and which ones are USB 2.0?

There are no rules, and with so many manufacturers making so many different devices, it's impossible to give a definitive answer. As a general guide though:

  • Common USB 1.1 devices: Keyboards, mice, webcams, headsets, older USB devices.
  • Common USB 2.0 devices: Cameras, PMPs, HDDs, hubs, card readers, thumb drives.

Just to reiterate, this is a very general guide. It’s not based on any rules, it’s just a rough representation of what’s out there in the wild. Devices like HSDPA modems and GPS units could fall into either category. The only reliable indication of true USB 2.0 compatibility is the “USB HIGH SPEED” logo.

Arrgh, USB used to be simple. What can I actually connect to Pandora?

Almost anything, as long as it's supported by Linux. Think of a USB device that everybody uses (mouse, keyboard, thumb drive...) and chances are it will be a simple matter of plug and play. But this might not be the case for more specialised USB devices (modems, ethernet adapters, USB displays...), many of which will only function with Windows specific drivers.

If you intend to purchase USB accessories for use with Pandora, you should first research Linux support for that type of device. Devices already tested on Pandora will be added to the USB compatibility list.

The various USB connection scenarios are as follows:

Pandora as USB slave

Pandora as USB slave
Pandora as USB slave

Using a standard USB A to USB Mini B cable (the kind you probably own several of), you can:

  • Transfer data to/from Pandora
  • Charge Pandora's battery.

Note:

  • Charging Pandora from your computer's USB port is best done with Pandora in standby mode, or switched off. The current provided by your computer will probably not be sufficient to provide an effective charge while Pandora is being used.

Hosting USB devices

Pandora as a USB host
Pandora as a USB host
  • Directly plug in a USB 2.0 device such as a thumb drive, or a Huawei E160 modem.
  • Using a standard USB A to USB Mini A cable, connect USB 2.0 devices such as cameras, PMPs, and HDDS.
  • Connect a USB hub, which will enable you to to connect USB 1.1 devices such as keyboards, mice, or a Huawei E220 modem.

Note:

  • This port can supply a maximum of 500mA. If you plan to use a USB HDD, note that very few of these can draw sufficient power from a single USB port. A powered HDD caddy or powered USB hub will be necessary in most cases.

OTG host mode

Pandora in OTG host mode
Pandora in OTG host mode

This function requires a USB OTG adapter, which will turn the Mini AB port into a full size USB A port. This allows you to connect a USB 1.1 device directly, without the use of a hub. This port is also USB 2.0 compliant.

Notes:

  • In host mode, this port can supply a maximum of 100mA. USB 1.1 devices that draw more than 100mA will need to connect to Pandora's other USB port via a hub, as depicted in the previous example. The Huawei E220 is one such device.
  • A purpose built OTG adapter must be used. Various USB cables and adapters (such as gender changers) can be used to turn a Mini AB port into a standard A port, but this will not work. OTG adapters can be found on Amazon and eBay.