hardware:raspberry_pi:vcgencmd

vcgencmd

vcgencmd コマンドは libraspberrypi-bin パッケージに含まれている🤔

$ apt-file search vcgencmd

libraspberrypi-bin: /usr/bin/vcgencmd     
libraspberrypi-bin: /usr/share/bash-completion/completions/vcgencmd
libraspberrypi-bin: /usr/share/man/man1/vcgencmd.1.gz
libraspberrypi-dev: /usr/include/interface/vmcs_host/vcgencmd.h

libraspberrypi-bin パッケージでインストールされるファイル一覧🤔

$ dpkg -L libraspberrypi-bin

/.
/usr
/usr/bin
/usr/bin/dtmerge
/usr/bin/dtoverlay
/usr/bin/dtoverlay-post
/usr/bin/dtoverlay-pre
/usr/bin/mmal_vc_diag
/usr/bin/raspistill
/usr/bin/raspivid
/usr/bin/raspividyuv
/usr/bin/raspiyuv
/usr/bin/tvservice
/usr/bin/vcgencmd
/usr/bin/vchiq_test
/usr/bin/vcmailbox
/usr/share
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/vcgencmd
/usr/share/doc
/usr/share/doc/libraspberrypi-bin
/usr/share/doc/libraspberrypi-bin/LICENCE
/usr/share/doc/libraspberrypi-bin/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/dtmerge.1.gz
/usr/share/man/man1/dtoverlay.1.gz
/usr/share/man/man1/dtparam.1.gz
/usr/share/man/man1/raspistill.1.gz
/usr/share/man/man1/raspivid.1.gz
/usr/share/man/man1/raspividyuv.1.gz
/usr/share/man/man1/raspiyuv.1.gz
/usr/share/man/man1/tvservice.1.gz
/usr/share/man/man1/vcgencmd.1.gz
/usr/share/man/man1/vcmailbox.1.gz
/usr/share/man/man7
/usr/share/man/man7/raspicam.7.gz
/usr/share/man/man7/raspiotp.7.gz
/usr/share/man/man7/raspirev.7.gz
/usr/share/man/man7/vcmailbox.7.gz
/usr/bin/dtparam

libraspberrypi-bin パッケージの説明🤔

$ apt info libraspberrypi-bin                                                              

Package: libraspberrypi-bin                                                                                   
Version: 1:2+git20220324~090146+c4fd1b8-1                                                                     
Priority: optional                                                                                            
Section: misc                                                                                                 
Source: raspberrypi-userland                                                                                  
Maintainer: Serge Schneider                                                            
Installed-Size: 502 kB                                                                                        
Depends: libraspberrypi0 (= 1:2+git20220324~090146+c4fd1b8-1), libc6 (>= 2.17), device-tree-compiler          
Recommends: vcdbg                                                                                             
Homepage: https://github.com/raspberrypi/userland                                                             
Download-Size: 149 kB                                                                                         
APT-Manual-Installed: yes                                                                                     
APT-Sources: https://archive.raspberrypi.org/debian bullseye/main armhf Packages                              
Description: Miscellaneous Raspberry Pi utilities                                                             
 This package contains various utilities for interacting with the Raspberry                                   
 Pi's VideoCore IV.                                                                                           

$ sudo vcgencmd -h

Usage: vcgencmd [-t] command
Send a command to the VideoCore and print the result.

  -t          Time how long the command takes to complete
  -h, --help  Show this information

Use the command 'vcgencmd commands' to get a list of available commands

Exit status:
   0    command completed successfully
  -1    problem with VCHI
  -2    VideoCore returned an error

For further documentation please see
https://www.raspberrypi.org/documentation/computers/os.html#vcgencmd

※ 詳細なドキュメントについては、次を参照せよ🤤
vcgencmd - Raspberry Pi Documentation - Raspberry Pi OS

ファームウェアのバージョン🤤 (Raspberry Pi Zero WH)

$ sudo vcgencmd version

Aug 26 2022 14:04:36 
Copyright (c) 2012 Broadcom
version 102f1e848393c2112206fadffaaf86db04e98326 (clean) (release) (start)

  • hardware/raspberry_pi/vcgencmd.txt
  • 最終更新: 2022/09/08 15:52
  • by ともやん