View Single Post
Old 16 April 2019, 15:16   #17
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
Quote:
Originally Posted by MartinW View Post
I never got round to looking to see if such a thing existed but I imagine if it did I'd have come across it somewhere.
https://pi.gbaman.info/?p=699

Quote:
So what can it do?

Using the Linux USB Gadget modules, we can get the Pi Zero to emulate a whole host of USB devices including

Virtual Serial – So can get a serial connection into the Pi, similar to using the UART pins. You can use Putty (on Windows) or Screen (on Mac and Linux).
Virtual Ethernet – You can get your Pi Zero to appear as a USB Ethernet modem. With a little configuration, you can then get full SSH, VNC, FTP etc.
Mass storage device – You can get the Pi Zero to appear as a flash drive, allowing you to for example, copy files over and have the Pi run these files (useful for robotics for example)
Virtual MIDI – The Pi Zero could appear as a virtual MIDI instrument.
Virtual Audio – The Pi Zero could appear as a virtual headphone output or microphone input.
Virtual Human Interface Device (HID) – The Pi Zero could appear as a virtual HID, for example a keyboard or mouse. So when you plug it into your computer, it could start typing!
kolla is offline  
 
Page generated in 0.04470 seconds with 11 queries