Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Add man-pages for most commands#663

Merged
pelwell merged 1 commit intoraspberrypi:masterfrom
waveform80:manpages
Apr 26, 2021
Merged

Add man-pages for most commands#663
pelwell merged 1 commit intoraspberrypi:masterfrom
waveform80:manpages

Conversation

@waveform80
Copy link
Copy Markdown
Contributor

I've spent a little time going through the excellent raspberry pi documentation site in order to build some man-pages for most of the utilities in the suite. Note that not all utilities are covered here (notably vchiq_test, mmal_vc_diag are missing) but I think it covers the most commonly used utilities.

I've also included some auxilliary man-pages (in section 7) for information relevant to utilities like vcmailbox (covering things like the mailbox info from the wiki-page, and the OTP registers from the documentation site).

I'm happy to make any stylistic / content changes required. If you want to preview how they look currently, you can simply check out the branch and run "man" on the file in question.

I've spent a little time going through the excellent raspberry pi
documentation site in order to build some man-pages for most of the
utilities in the suite. Note that not all utilities are covered here
(notably vchiq_test, mmal_vc_diag are missing) but I think it covers the
most commonly used utilities.

I've also included some auxilliary man-pages (in section 7) for
information relevant to utilities like vcmailbox (covering things like
the mailbox info from the wiki-page, and the OTP registers from the
documentation site).
@JamesH65
Copy link
Copy Markdown
Collaborator

This LGTM, but not sure if merging it here will work. @popcornmix @XECDesign

@waveform80
Copy link
Copy Markdown
Contributor Author

Yes, this commit isn't enough to add the man-pages to the packaging of itself. In the Ubuntu packages I've been working on, these man-pages are currently just stuffed in the debian/ sub-dir with a libraspberrypi-bin.manpages file to install them, but I figured that's not as much use to you guys (or other packagers) as something a bit more integrated like this.

Still, if you think these pages would be better moved into their own sub-dir under the package root (e.g. "man/") with their own CMakeLists.txt to handle installing them, I'm happy to amend things?

@XECDesign
Copy link
Copy Markdown
Contributor

I think the issue is not so much the packaging (I can update that accordingly), but that this repo is derived from an internal repo.

@waveform80
Copy link
Copy Markdown
Contributor Author

Ah, I see - so this'll need comitting to the private then cherry-picked thru to the public (or something like that).

JamesH65 pushed a commit to raspberrypi/documentation that referenced this pull request Jan 8, 2021
* Update tvservice.md

Add missing -l and -v N options. Parameter descriptions by @waveform80, in proposed new man page in raspberrypi/userland#663.

* Update tvservice.md
@JamesH65
Copy link
Copy Markdown
Collaborator

JamesH65 commented Jan 8, 2021

@XECDesign If you are happy with this, are you the person to do the cherry pick? Or @popcornmix?

@XECDesign
Copy link
Copy Markdown
Contributor

That would be @popcornmix . I'll just need a nudge at some point to update the packaging side of things.

@ghost ghost mentioned this pull request Jan 9, 2021
@ghost
Copy link
Copy Markdown

ghost commented Apr 22, 2021

Hi folks. Just to say that these man pages are already present on Ubuntu 21.04, but are currently not in Raspberry Pi OS. If this could get integrated, then cherry picked to your internal repo from which the Raspberry Pi OS packages are built that would be good. It would be rather unfortunate if Raspberry Pi OS ended up without the man pages, given that Ubuntu has them.

For those that aren't aware, the author of this PR works on Raspberry Pi-specific stuff for Canonical.

@ghost
Copy link
Copy Markdown

ghost commented Apr 24, 2021

Hi folks. Just to say that these man pages are already present on Ubuntu 21.04, but are currently not in Raspberry Pi OS. If this could get integrated, then cherry picked to your internal repo from which the Raspberry Pi OS packages are built that would be good. It would be rather unfortunate if Raspberry Pi OS ended up without the man pages, given that Ubuntu has them.

For those that aren't aware, the author of this PR works on Raspberry Pi-specific stuff for Canonical.

Apologies - it occured to me that what I requested here may already have been done, since there is a new version of Debian, and therefore probably Raspberry Pi OS, in the works.

@pelwell pelwell merged commit 45a0022 into raspberrypi:master Apr 26, 2021
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 30, 2021
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Apr 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants