Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
vcgencmd: add man page
  • Loading branch information
andrum993 committed Jan 17, 2019
commit a266d5867475f5d93812098d39c14d5ad96ac0a6
1 change: 1 addition & 0 deletions host_applications/linux/apps/gencmd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ include_directories( ../../../..
add_executable(vcgencmd gencmd.c)
target_link_libraries(vcgencmd vcos vchiq_arm vchostif)
install(TARGETS vcgencmd RUNTIME DESTINATION bin)
install(FILES vcgencmd.1 DESTINATION /usr/man/man1)

24 changes: 24 additions & 0 deletions host_applications/linux/apps/gencmd/vcgencmd.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.TH vcgencmd 1 "January 2019" "Raspberry Pi vcgencmd" "User Commands"
.SH NAME
vcgencmd - send a command to the VideoCore
.SH SYNOPSIS
vcgencmd [-?] | [--help] | [-t] [COMMAND]
.SH DESCRIPTION
Send a command to the VideoCore and display the response.
.SH OPTIONS
.TP
.BR \-? ", " \-\-help\fR
Display basic usage information
.TP
.BR \-t\fR
Time how long it takes to return the result of a command
.TP
.BR commands \fR
Query the VideoCore to find out what commands it supports. Newer firmwares support more commands.
.TP
.BR "Exit status:"
0 success
.br
-1 problem with VCHI
.br
-2 VideoCore returned an error