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
vcgencmd documentation #1065
Comments
Quite a simple command. Is it open source? I think the first step should be adding basic usage info to the binary. |
https://github.com/raspberrypi/userland/blob/master/host_applications/linux/apps/gencmd/gencmd.c But most of the heavy lifting is done on the other side of the link to the videocore, as you might expect! There is scope for adding help information to the ARM end, but the list of commands is sent back from the VC, so when new commands are added they might get missed from adding to the help at this end. |
You will of course have exactly the same problem with any documentation for this command - namely it needs to be updated whenever a new videocore command is added. |
See the elinux wiki for a starting point for some docs: https://elinux.org/RPI_vcgencmd_usage |
Thanks. First draft at docs (actually including vcbdg) on https://github.com/raspberrypi/documentation/tree/JamesH65-patch-vcgencmd-vcdbg-docs |
Just incase you miss the comment on the commit, the list of supported codecs for codec_enabled on the branch is inaccurate, there's loads more: |
Interesting - hardware support for animated GIFs. I suppose that's to be expected given the target market at the time the VC4 was developed. Some review comments on the vcgencmd page in development:
Doesn't explain what 'supported' means. Suggest:
(Wording not perfect but you can probably leave that to a copy-editor). Also, for get_throttled - replace 'under-voltage' with 'under-voltage detected'. For 'get_lcd_info' it would be worth noting which displays this refers to - HDMI is one of them as my current Pi is returning '1920 1080 24' and only has an HDMI-connected display attached. |
Thanks, updated. |
I'm not sure adding the documentation for the vc... commands under Raspbian is right. These utilities can be used on other distros. I would expect the Raspbian section of the docs to be used for Raspbian-specific stuff. The best fit out of the existing documentation categories is probably "Hardware". I've made my changes to the vcgencmd binary dependent on this documentation landing, since my changes to the binary don't actually do anything particularly useful on their own. I've added the proposed URL for the vcgencmd documentation to the usage. |
There's a problem here that the categories we currently have don't really reflect what I'd like to add in some cases. Really need to assess that but because of the first page being different to the rest of the repo (pretty graphics), its a bit awkward to change. Will look in to it. |
Perhaps that's an issue to add to the wider review of the website which seems to be underway. |
I've thought about this a bit, and I think the best way forward is probably just to add the docs for vcgencmd et al to the existing 'Raspbian' category, then leave any reorganisation of the docs to a future task. (I'm also not entirely sure how much of the various utilities the other distributions are using). |
Agreed |
Closed by #1077 |
There don't appear to be any pages dedicated to the vcgencmd helper application, which is often referred in the forums or when trying to help users with issues.
The text was updated successfully, but these errors were encountered: