Skip to main content
9 events
when toggle format what by license comment
Jun 19, 2016 at 13:11 comment added goldilocks The zero's USB port is a slave OTG, meaning it can be used as a master or slave. I think this requires a special cable, but these are simpler and cheaper than the USB host-to-host cables (allowing connection of a master to a master) mentioned in some of the answers to the duplicates. I don't recommend bothering with this as you are likely to end up just wasting your money -- host-to-host cables are seldom used and require special drivers; AFAIK most of them aren't supported under linux.
Jun 19, 2016 at 12:43 comment added Andi Giga Thank you, indeed I wasn't aware of that. One question to the pi zero, it has two mini usb ports. How it will work there? Don't they have the same only master/slave restriction? I would like to use one for data input + power and the other one to connect a wifi dongle then.
Jun 19, 2016 at 12:37 comment added goldilocks Just in case you missed the point of the duplicates, USB is not a peer-to-peer relationship as in networking, where any node may act as a server or client or both. USB is a master-slave relationship. You cannot connect a master to a master or a slave to a slave and may cause physical damage to either or both systems if you try to do so. A normal computer has master ports, intended to be connected to slave devices such as printers. The pi is a normal computer in this sense. You cannot connect two normal computers with a USB cable. They are both masters. A printer is a slave.
Jun 19, 2016 at 10:30 comment added Andi Giga Ok thanks, wrong search keywords. I indeed planned it with a pi 3. This tutorials are for the pi zero: learn.adafruit.com/… & pi.gbaman.info/?p=699. No need to reopen now, I will try how far I can get with this tutorial and than add more specific questions to the problems I get along the way.
Jun 17, 2016 at 19:17 comment added goldilocks I know the duplicate was closed as a duplicate too, but this allows you to see several versions of more or less the same question which have the same answer: You cannot do this. Except with the pi zero -- but you do not mention the model in the question. If it is a zero, leave a comment and I will reopen this. The "host-to-host" cable option mentioned in the duplicates, BTW, is probably a bad one (but that is just a personal hunch opinion).
Jun 17, 2016 at 19:16 history closed goldilocks Duplicate of Using USB as a slave [duplicate]
Jun 17, 2016 at 17:34 history edited Andi Giga CC BY-SA 3.0
added 169 characters in body
Jun 17, 2016 at 17:22 history edited Andi Giga CC BY-SA 3.0
added 234 characters in body
Jun 17, 2016 at 16:23 history asked Andi Giga CC BY-SA 3.0