/
mce.8
165 lines (147 loc) · 3.29 KB
/
mce.8
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
.TH MCE 8 "Jan 20, 2011" "Nokia"
.SH NAME
mce \- daemon that provides mode control functionality
.SH SYNOPSIS
.B mce
[\fIOPTION\fP]...
.SH DESCRIPTION
.B mce
is a daemon that provides mode control functionality.
On startup,
.B mce
will read the initial states of the various radios from the
radio states file and broadcast these states.
Notifiers are registered for various GConf entries,
as well as
\%D\(hyBus message handlers for the method calls that
.B mce
provides, and \%D\(hyBus signal handlers for the signals that
.B mce
listens to.
.B mce
will also listen to key events from the power button.
If the user preses the power button, the action configured in
.I /etc/mce/mce.ini
will be executed.
Among the other functionality handled by
.B mce
is the logic for the touch screen and keypad lock,
LED patterns and display backlight control.
.SH OPTIONS
.TP
.BR \-d , \ \-\-daemonflag
Run
.B mce
as a daemon
.TP
.B \-\-force\-syslog
Log to syslog even when mce isn't run as a daemon
.TP
.B \-\-force\-stderr
Log to stderr even when mce is run as a daemon
.TP
.BR \-S , \ \-\-session
Use the session bus instead of the system bus for \%D\(hyBus
communication
.TP
.B \-\-show\-module\-info
Show information about loaded modules
.TP
.B \-\-debug\-mode
Start mce even if communication with dsme fails
.TP
.B \-\-quiet
Decrease debug message verbosity
.TP
.B \-\-verbose
Increase debug message verbosity
.TP
.B \-\-help
Display help for the command
.TP
.B \-\-version
Display version and author information
.SH GCONF KEYS
.TP
.I /system/osso/dsm/dsm/locks/touchscreen_keypad_autolock_enabled
.B bool
(read only)
.br
If this key is set to
.BR true ,
the touchscreen/keypad lock
will automatically be enabled when the screen blanks.
If this key is set to
.BR false ,
the lock will only be activated if the user triggers it
manually.
.TP
.I /system/osso/dsm/display/display_brightness
.B int
(read only)
.br
The brightness profile to use for the screen.
Valid values range from
.B 1
to
.BR 5 .
.TP
.I /system/osso/dsm/display/display_dim_timeout
.B int
(read only)
.br
Number of seconds to wait before the screen is dimmed.
.TP
.I /system/osso/dsm/display/display_blank_timeout
.B int
(read only)
.br
Number of seconds to wait before the screen is blanked.
.SH FILES
.TP
.I /var/run/mce.pid
PID\(hyfile used by
.BR mce .
.TP
.I /var/run/mce/boot
File used by
.B mce
to detect whether the program was started on bootup or
restarted due to a crash/manual restart.
.TP
.I /var/lib/mce/radio_states
Stores the system radio states.
This file should never be edited manually,
and shall not be modified by any other process than
.BR mce ,
since the file is only read when
.B mce
is started.
.SH SEE ALSO
.BR mcetool (8)
.SH HISTORY
Jun 16 2010: Updated for new and modified functionality.
.br
Jun 13 2010: Various improvements.
.br
May 13 2010: Updated for modified functionality.
.br
Oct 19 2007: Use escape\(hycodes for hyphens.
.br
Apr 12 2007: Minor fixes.
.br
Oct 23 2006: Minor fixes.
.br
Oct 3 2006: Fix typo.
.br
Sep 23 2005: Fixed minor typos.
.br
Sep 21 2005: Initial version of this manual page.
.SH AUTHOR
mce and its manual page is written by
David Weinehall <\fIdavid.weinehall@nokia.com\fP>
.SH REPORTING BUGS
Report bugs to
<\fIdavid.weinehall@nokia.com\fP>.
.SH COPYRIGHT
Copyright \(co 2005\(hy2011 Nokia Corporation. All rights reserved.