-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathdtparam.1
66 lines (66 loc) · 1.18 KB
/
dtparam.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.TH DTPARAM 1
.
.SH NAME
dtparam \- mainpulate parameters of the base device-tree
.
.
.SH SYNOPSIS
.SY dtparam
.RI [ param=val \|.\|.\|.]
.YS
.
.SY dtparam
.B \-h
.RI [ param ]
.YS
.
.
.SH DESCRIPTION
.B dtparam
is a command line utility for manipulating the base device-tree's parameters.
For example, it can be used to enable the SPI or I2C interfaces at runtime
without rebooting.
If
.B dtparam
is run without any argument, it prints the names of all base device-tree
parameters and their description.
.
.
.SH OPTIONS
.
.TP
.BR \-h " [\fIparam\fR]"
If given without
.I param
displays help on the application overall. If
.I param
is specified, prints help about that parameter in the base device-tree.
.
.
.SH EXAMPLES
.
.TP
.B 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).
.
.TP
.B dtparam -h spi
Print help about the "spi" parameter.
.
.TP
.B sudo dtparam audio=off
Disable the audio output.
.
.
.SH SEE ALSO
.BR dtoverlay (1),
.BR dtmerge (1),
.B [DTREE]
.
.
.SH REFERENCES
.TP
.B [DTREE]
https://www.raspberrypi.com/documentation/computers/configuration.html#part3.5.2