DTPARAM(1)
π DTPARAM β manipulate parameters of the base device-tree π
ok so this is dtparam, straight out of the General Commands Manual, and bestie it is lowkey iconic β it's the little command that lets you poke at the base device-tree's parameters like it's your Notes app β¨
πΈ NAME πΈ
dtparam β manipulate parameters of the base device-tree π
π¦ SYNOPSIS π¦
dtparam [param=val...]
dtparam -h [param]
π DESCRIPTION π
okay so dtparam is a command line utility for manipulating the base device-tree's parameters. no cap, that's the whole vibe π
for example, it can be used to enable the SPI or I2C interfaces at runtime without rebooting β yes bestie, no reboot, we love a main character who doesn't make you restart πβ¨
and if you run dtparam with no argument at all? it prints the names of all base device-tree parameters and their description. free info, zero effort, we stan π«Ά
β¨ OPTIONS β¨
-h[param] β if given without param, it displays help on the application overall. but if param is specified, it prints help about that parameter in the base device-tree π so-halone = the whole app,-h+ a name = just that one parameter. iykyk π
π₯ EXAMPLES π₯
sudo dtparam spi=on Enable the SPI interface on the GPIO header. note that root privileges are usually required for manipulating the base device-tree (hence, sudo in the example) β so like, yes you need the crown for this one π no skipping it π
dtparam -h spi Print help about the "spi" parameter. look at you, being all informed π
sudo dtparam audio=off Disable the audio output. silence. peace. π (but fr it just turns the audio output off)
π SEE ALSO π
dtoverlay(1), dtmerge(1), [DTREE] β the whole friend group π
π§ REFERENCES π§
real talk: manipulating the base device-tree usually wants root privileges, so keep that sudo handy bestie π
and that's the page fr fr π the footer just said DTPARAM(1) and dipped β no extra version drama, no date moment, just the manual name chilling at the bottom. periodt π
β¨
π¦ where this page comes from
- nixos 26.05: libraspberrypi 0-unstable-2024-12-23
- nixpkgs unstable: libraspberrypi 0-unstable-2024-12-23
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms