🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.raspberry-pi
Article #60

Re: Pi 3B enable USB boot

#60
From: Theo
Date: Sat, 24 Oct 2026 11:40
16 lines
1627 bytes
Marco Moock <mm@dorfdsl.de> wrote:
> Thanks for the link.
> I need to figure out how I can read and set the OTGID in FreeBSD.

It's a physical 5th pin on the micro USB connector.  If you insert a normal
A male (host) to microUSB male (device) cable the cable grounds the pin.  If
you insert an OTG cable (microUSB to A female, so the Pi becomes the host)
the pin is left floating.

So if you use an 'OTG' cable the port will be put into 'host' mode, if you
connect it to a PC with a regular micro USB cable the port will be in
'device' mode.

You can override this with some dwc2 settings in config.txt.

Theo
Technical Details
Message-ID: <HdC*hzYTA@news.chiark.greenend.org.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
References: <11bb0mi$3kla$1@solani.org> <nk0slcFslhpU1@mid.individual.net> <11bfpvu$8qj1$3@solani.org> <11bg4ia$209l1$1@dont-email.me> <11bhjgq$8cqh$1@solani.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: Theo <theom+news@chiark.greenend.org.uk>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Pi 3B enable USB boot
Date: 24 Oct 2026 12:40:13 +0100 (BST)
Organization: University of Cambridge, England
Message-ID: <HdC*hzYTA@news.chiark.greenend.org.uk>
References: <11bb0mi$3kla$1@solani.org> <nk0slcFslhpU1@mid.individual.net> <11bfpvu$8qj1$3@solani.org> <11bg4ia$209l1$1@dont-email.me> <11bhjgq$8cqh$1@solani.org>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:93.93.131.173";
	logging-data="8055"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-44-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([93.93.131.173])