Connecting a USB Hub
Your Raspberry Pi’s USB socket(s) can be found on the right of the circuit board (see Figure 3-1). Your USB hub should have a USB cable that connects snugly into one of these sockets.
It’s important to use a USB hub that has its own power source, so plug your USB hub into a wall socket (mains electricity) using the power supply unit that came with it.
Figure 3-4 shows a USB hub that works with the Raspberry Pi. You plug the USB cable coming out of it into your Raspberry Pi’s USB socket, and you can then plug your other devices (such as your keyboard and mouse) into the USB hub. There is a tiny round hole on the front of this USB hub where its power supply is connected. USB hubs come in lots of different shapes and sizes: This one has four sockets (two on each long side), but you can get many compatible hubs with seven sockets too.
Figure 3-4: A USB hub that works with the Raspberry Pi.