Shows voltage, id can be one core, sdram_c, sdram_i, sdram_p, and defaults to core if not specified.

+

'''<code>vcgencmd measure_volts ''<id>''</code>'''

+

Shows voltage. id can be one of '''<tt>core, sdram_c, sdram_i, sdram_p</tt>''', and defaults to '''<tt>core</tt>''' if not specified.

−

vcgencmd measure_temp

+

root@raspberrypi:~# \

+

> for id in core sdram_c sdram_i sdram_p ; do \

+

> echo -e "$id:\t$(vcgencmd measure_volts $id)" ; \

+

> done

+

core: volt=1.20V

+

sdram_c: volt=1.20V

+

sdram_i: volt=1.20V

+

sdram_p: volt=1.23V

+

+

+

'''<code>vcgencmd measure_temp</code>'''

Shows core temperature of BCM2835 SoC.

Shows core temperature of BCM2835 SoC.

+

root@raspberrypi:~# vcgencmd measure_temp

+

temp=42.8'C

−

vcgencmd codec_enabled <codec>

−

Shows if the specified codec is enabled, codec can be one of H264 MPG2 WVC1

+

'''<code>vcgencmd codec_enabled ''<codec>''</code>'''

+

Shows if the specified codec is enabled, codec can be one of '''<tt>H264, MPG2, WVC1, MPG4, MJPG, WMV9</tt>'''. Please note this was run on a Pi with the [http://www.raspberrypi.com/ MPG2 and VC1 licences] enabled.

−

vcgencmd version

+

root@raspberrypi:~# \

+

> for codec in H264 MPG2 WVC1 MPG4 MJPG WMV9 ; do \

+

> echo -e "$codec:\t$(vcgencmd codec_enabled $codec)" ; \

+

> done

+

H264: H264=enabled

+

MPG2: MPG2=enabled

+

WVC1: WVC1=enabled

+

MPG4: MPG4=enabled

+

MJPG: MJPG=enabled

+

WMV9: WMV9=enabled

+

+

If you also follow the instructions in this [http://www.raspberrypi.org/phpBB3/viewtopic.php?p=269992#p269992 Forum post] then the codec options for VP6 and VP8 (WEBM) also work, this is experimental and unsupported at present so any changes are at your own risk.

+

+

+

'''<code>vcgencmd get_config ''[config|int|str]''</code>'''

+

Will print the configurations you have set. Argument can ether be a specific option or int, showing all configs with number-datatype, or str showing all configurations with datatype sting (aka text).

+

+

root@raspberrypi:~# vcgencmd get_config int

+

arm_freq=1000

+

core_freq=500

+

sdram_freq=600

+

over_voltage=6

+

disable_overscan=1

+

force_pwm_open=1

+

+

+

'''<code>vcgencmd get_mem ''arm/gpu''</code>'''

+

+

Shows how much memory is split between the CPU (arm) and GPU.

+

+

root@raspberrypi:~# vcgencmd get_mem arm && vcgencmd get_mem gpu

+

arm=448M

+

gpu=64M

+

+

+

'''<code>vcgencmd version</code>'''

Shows the firmware version

Shows the firmware version

+

+

root@raspberrypi:~# vcgencmd version

+

Jan 13 2013 16:24:29

+

Copyright (c) 2012 Broadcom

+

version 362371 (release)

+

+

+

'''<code>vcgencmd otp_dump</code>'''

+

+

Displays the contents of the OTP (One Time Programmable) memory embedded inside the SoC.

+

+

root@raspberrypi:~# vcgencmd otp_dump

+

08:00000000

+

09:00000000

+

10:00000000

+

11:00000000

+

12:00000000

+

13:00000000

+

14:00000000

+

15:00000000

+

16:00280000

+

17:1020000a

+

18:1020000a

+

19:ffffffff

+

20:ffffffff

+

21:ffffffff

+

22:ffffffff

+

23:ffffffff

+

24:ffffffff

+

25:ffffffff

+

26:ffffffff

+

27:0000c2c2

+

28:6c14ba0d

+

29:93eb45f2

+

30:0000000e

+

31:00000000

+

32:00000000

+

33:00000000

+

34:00000000

+

35:00000000

+

36:00000000

+

37:00000000

+

38:00000000

+

39:00000000

+

40:00000000

+

41:00000000

+

42:00000000

+

43:00000000

+

44:00000000

+

45:00000000

+

46:00000000

+

47:00000000

+

48:00000000

+

49:00000000

+

50:00000000

+

51:00000000

+

52:00000000

+

53:00000000

+

54:00000000

+

55:00000000

+

56:00000000

+

57:00000000

+

58:00000000

+

59:00000000

+

60:00000000

+

61:00000000

+

62:00000000

+

63:00000000

+

64:00000000

+

+

Locations 28 and 30 store the ''Serial'' and ''Revision'' values that get displayed by <code>/proc/cpuinfo</code> (the ''Serial'' is also used to determine the Ethernet MAC address on Model B boards), and location 32 stores the value of the [[RPiconfig#Overclocking|warranty bit]]. Purpose of values in other locations is unknown.

+

+

+

'''<code>vcgencmd set_backlight</code>'''

+

+

Currently unusable, might be used in the future to control the backlight of LCD displays

+

+

+

'''<code>vcgencmd render_bar</code>'''

+

+

Debug function created by Dom, used in [https://github.com/popcornmix/omxplayer/blob/40467a70b609c893c8756951ccf7ef1f56f1d43e/omxplayer.cpp#L1387 OMXPlayer]

If you also follow the instructions in this Forum post then the codec options for VP6 and VP8 (WEBM) also work, this is experimental and unsupported at present so any changes are at your own risk.

vcgencmd get_config [config|int|str]
Will print the configurations you have set. Argument can ether be a specific option or int, showing all configs with number-datatype, or str showing all configurations with datatype sting (aka text).

Locations 28 and 30 store the Serial and Revision values that get displayed by /proc/cpuinfo (the Serial is also used to determine the Ethernet MAC address on Model B boards), and location 32 stores the value of the warranty bit. Purpose of values in other locations is unknown.

vcgencmd set_backlight

Currently unusable, might be used in the future to control the backlight of LCD displays