3

With only two USB ports, how can I use the standard input devices together with the wifi dongle? The only thing I could think of is to set some accessibility option and use the keyboards arrows for navigating the pointer, but even for that I couldn't get any info online.

3

Recommended solution

You can use USB hub device. This is special device designed for exactly your problem - to multiply the number of USB ports available.

The best option for RaspberryPi would be to use powered hub (also called active hub). It differs from the normal USB hub in that it has its own power adapter. This allows you to connect power hungry USB devices (like USB hard drives or some USB wifi cards, etc) to RaspberryPi without any problems. Most devices should be working OK but if in doubt, you can find a list of tested powered hubs (both working and problematic) on the wiki.

They shouldn't be too expensive and you should be able to find them in most stores with computer parts.

Workaround

If you don't want to buy a HUB, you can probably buy some wireless keyboard+mouse kit. They usually come with one USB connector for both devices. Or you could buy a keyboard with a touchpad (like in laptops), Logitech K700 for example, but these are more expensive.

  • 1
    You should try it out with a non-powered hub first first since they are extremely cheap. I got a 4 port hub from the dollar store for $2. Works fine for keyboard and mouse. You might have trouble if you are using devices that require more power such as a wifi dongle. However, try the unpowered hub first so you don't end up wasting money on a powered hub you didn't need in the first place. – Kibbee Mar 30 '13 at 17:30
  • I did purchase the Logitech K700, and it should be stated that this keyboard is missing the function keys (F1-F12), which may be important to the default installation of the distibution you use, such as RetroPie. Emulation station (RetroPie's default frontend) uses the F4 as the default exit key. – Zoot Jun 4 '13 at 18:25
  • and @Kibbee - non-powered hub + some diodes = powered hub =) and the price is 10 minutes of your time + 1-2$ – Alexey Vesnin Mar 8 '16 at 14:29
2

If you have an old PS2 Keyboard and mouse, you can use a dual PS2 to USB adapter to allow them to share one USB port. Here is an example of one of these adapters from MonoPrice: 2 PS2 in, 1 USB out

All credit and rights for this image belong to MonoPrice. You can buy these adapters in other places, if you want, as well.

0

Use a powered USB hub.

This is recommended by the Raspberry Pi foundation.

This is probably a good one - http://www.adafruit.com/products/961

Plug this into one of the ports on the Raspberry Pi and use the other for the wifi dongle.

This will give you two extra ports for your mouse and keyboard.

0

Use logitech or intex USB hub and connect it the USB on the PI. The only issue is you must ensure that the power you supply to the pi is 5 Volts only and at least 1000mA otherwise, when you connect too many devices to the pi, it will stop responding to at least one of the devices.

From personal experience, I used my laptop for power supply, but the laptop USB is limited to providing 500mA and not more unless required. When I connected the Wifi dongle, keyboard and mouse, the mouse failed and the dongle was not getting detected. I removed the dongle and the mouse started to work again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.