0

What would happen if I attach a raspberry pi (A) to a USB hub for power which is already connected to a second raspberry pi (B) powered by an adapter (but connects to devices such as HDD, keyboard etc via USB hub). Could this damage B? What will B see as A when I type "lsusb"?

Shimano
  • 193
  • 1
  • 1
  • 6

2 Answers2

0

Powering a Pi from a USB port is not recommended as the USB specification only allows for .5 amp well below the suggested supply current of 1 amp for a PI model A. There are however cases of this working, but there are an equal number of hard to track down bugs and faults caused by underpowering the Pi.

Since the power port on a Pi only connects the power pins and not the data pins nothing bad will happen by connecting it to a hub that is already connected to a separate Pi. You can verify this with the schematics.

Steve Robillard
  • 34,158
  • 17
  • 102
  • 108
0

Maximum total USB peripheral current for Pi(2/B+) is 600/1200mA. The limit for Pi3 is 1200mA. Earlier models claim 500mA.

The default for 2/B+ is 600mA which can be doubled by setting max_usb_current=1 in /boot/config.txt.

See Raspberry Pi Power Limitations

It should be possible to power another Pi, provided the total current does not exceed 1200mA. It is unlikely that you could power a HDD as well.

My experience is that even running a HDD from the Pi3 causes reliability problems, so you should use a powered hub with the HDD.

The actual performance depends on the hub. Some impose limits, although most do not, however many do not supply 5±0.25V.

In summary, you COULD run a Pi from one of a Pi2/3 on-board USB ports, given a good PSU, but probably still need a powered hub.

Milliways
  • 54,718
  • 26
  • 92
  • 182