Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable USB serial gadget mode by default #729

Open
weberjn opened this issue Sep 10, 2022 · 0 comments
Open

enable USB serial gadget mode by default #729

weberjn opened this issue Sep 10, 2022 · 0 comments

Comments

@weberjn
Copy link

weberjn commented Sep 10, 2022

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:

  • device can immediately be accessed without the need for a working network
  • if you misconfigure networking you can repair it from the usb console

Alternatives:

  • keyboard and display, but still no copy/paste from the internet
  • find a computer with an sd reader, that can write ext4 and repair on the mounted sd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant