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

Documenting GPIO 3's "wake from HALT" function #1935

Closed
Gadgetoid opened this issue Jul 1, 2021 · 8 comments
Closed

Documenting GPIO 3's "wake from HALT" function #1935

Gadgetoid opened this issue Jul 1, 2021 · 8 comments

Comments

@Gadgetoid
Copy link
Contributor

As raised in pinout-xyz/Pinout.xyz#413 there doesn't appear to be any primary source of documentation for the "wake" functionality exposed by GPIO 3 (Physical pin 5).

Some scant, out of date documentation is available here - https://elinux.org/RPI_safe_mode#cite_note-1

And there are a scattering of other references, forum posts and mentions- many lamenting the lack of documentation, but nothing canonical.

  1. Would this be an appropriate addition this documentation?
  2. Where would it fit?

Points we should probably cover:

  1. Works only in HALT state when the Pi still has power
  2. GPIO 3 was chosen due to the external, strong pull-up that keeps the pin in a known state and avoids accidental wakes
  3. Pin cannot be changed
  4. Should be shorted to ground via a button to trigger a wake (physical pin 6 is right there)
  5. Which versions of the Pi is this supported on? (All? or post a given firmware version?)
@aallan
Copy link
Contributor

aallan commented Jul 1, 2021

  1. Would this be an appropriate addition this documentation?

Yes

  1. Where would it fit?

Bearing in mind the looming nature of #1911

Potentially as a section in the GPIO documentation? Although maybe it should get worked into the boot mode documentation.

@lurch
Copy link
Contributor

lurch commented Jul 1, 2021

@aallan
Copy link
Contributor

aallan commented Jul 1, 2021

Or possibly somewhere in https://github.com/raspberrypi/documentation/tree/master/hardware/raspberrypi/bootmodes ? 🤷

Jinx! I just edited my comment to add that one. 😁

@aallan
Copy link
Contributor

aallan commented Jul 5, 2021

I'm probably going to be freezing the current markdown-based documentation tree, and deleting any pending PRs, at the end of the week (see #1911 for more information as to why). It probably makes sense to pause this until after the new documentation site is released and then PR ontop of the new Asciidoc documentation (end of the month maybe?)

@aallan aallan added the paused label Jul 5, 2021
@Gadgetoid
Copy link
Contributor Author

I’d figured as much. I’d need to get a feel for the new style/format and figure out where to put this. Plus get some authoritative answers about the what’s, why’s and where’s of it all 🤣

@aallan aallan added paused Waiting for other things to happen. and removed paused labels Aug 4, 2021
@aallan
Copy link
Contributor

aallan commented Aug 9, 2021

New site is live! 😄

@aallan aallan removed the paused Waiting for other things to happen. label Aug 9, 2021
@Gadgetoid
Copy link
Contributor Author

It's... uh... nice n'all... but a little bit completely broken without Javascript... and somewhat difficult to browse when it runs on continuously with no pagebreaks and very little differentiation between first and second level headers 😬

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants