4 ms·
I've used those SiLabs CP2102 USB to serial chips, but to get 45 baud for antique Teletype machines. Using one to just get a second USB port is painful. The R
by Animats 11y ago
I've used those SiLabs CP2102 USB to serial chips, but to get 45 baud for antique Teletype machines. Using one to just get a second USB port is painful.
The Raspberry Pi Model B has two USB ports, and they're "on the go" ports, so you can set one as master and one as slave. So that should be usable as a general purpose USB MITM device.
- tdicola 11y agoSure you aren't thinking of the Model A and Zero? The B and B+ have a USB hub & ethernet adapter, but no OTG or USB device ports exposed. It's kind of tricky to use the A and Zero's USB device port but people have been figuring it out recently: https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget https://learn.adafruit.com/turning-your-raspberry-pi-zero-in... Check out the Beaglebone Black too, it has a USB device and host port and its kernel is all setup to use the USB gadget kernel modules. By default it uses the g_multi module to make its USB device port look like a USB storage and ethernet adapter, but you can modify it to use any other USB gadget driver, GadgetFS, etc.
- fest 11y agoThere is also a project called USBProxy[1] for BBB. It essentially aims to be transparent bridge for all USB device classes. 1: https://github.com/dominicgs/USBProxy https://github.com/dominicgs/USBProxy
- undersuit 11y agoThank you for this link, I've been looking for this kind of functionality ever since the first RPiA came out, thankfully some smarter minds finally got on the case with the Zero.
- rasz_pl 11y agoYou cant use CP2102 to get USB host port. Every Raspee has only one native usb port.