raspberrypi / userland

Source code for ARM side libraries for interfacing to Raspberry Pi GPU.
BSD 3-Clause "New" or "Revised" License
2.05k stars 1.09k forks source link

enable USB serial gadget mode by default #729

Open weberjn opened 2 years ago

weberjn commented 2 years ago

USB serial gadget mode should enabled by default on freshly written raspbian images. If this is not possible, add a control file mechanism (like /boot/ssh ) to enable it for headless devices. It should be possible to get a login prompt in putty in usb mode in a fresh system, without the need for lan or wifi. For a Zero W 2 I followed this tutorial from a running network enabled system. This should be enabled by default or by touching a control file in /boot from a Windows laptop. The user should then be able to plug a pi into the laptop usb port and get a login prompt in putty.

Benefits for headless devices:

Alternatives: