Raspberry Pi Zero USB gadget

Published: 1/12/2016
Raspberry Pi Zero USB gadget
Source: RASPBERRYPI.STACKEXCHANGE.COM

I am trying to set up my Pi Zero so that when I plug it in it it assigns some IP address to the computer and starts up a web server. cd /sys/kernel/config/usb_gadget/ mkdir -p mynetdevice cd mynetdevice echo 0x1d6b > idVendor # Linux echo 0x0104 > idProduct # Multifunction Gadget echo 0x0100 > bcdDevice # v1.0.0 echo 0x0200 > bcdUSB # USB2 mkdir -p strings/0x409 echo "cace0d3dc611bcdf

Read more
Related news
Comment
FACEBOOK