author | X gate hg captive account <xhg@xserver.us.oracle.com> |
Wed, 19 Aug 2015 13:48:41 -0700 | |
changeset 1484 | bc8922b8e1d2 |
parent 1370 | 7a7a374453e5 |
permissions | -rw-r--r-- |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
1 |
# Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
2 |
# |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
3 |
# Permission is hereby granted, free of charge, to any person obtaining a |
919
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
4 |
# copy of this software and associated documentation files (the "Software"), |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
5 |
# to deal in the Software without restriction, including without limitation |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
6 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
7 |
# and/or sell copies of the Software, and to permit persons to whom the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
8 |
# Software is furnished to do so, subject to the following conditions: |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
9 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
10 |
# The above copyright notice and this permission notice (including the next |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
11 |
# paragraph) shall be included in all copies or substantial portions of the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
12 |
# Software. |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
13 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
14 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
15 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
16 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
17 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
18 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
19 |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
20 |
# DEALINGS IN THE SOFTWARE. |
1179
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
21 |
|
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
22 |
Adds support for Solaris's Frame Buffer Power Management (fbpm) extension |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
23 |
|
1179
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
24 |
diff --git a/man/xset.man b/man/xset.man |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
25 |
index e9f1c5e..2c81c5e 100644 |
1179
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
26 |
--- a/man/xset.man |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
27 |
+++ b/man/xset.man |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
28 |
@@ -1,4 +1,5 @@ |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
29 |
.\" Copyright 1988, 1998 The Open Group |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
30 |
+.\" Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
31 |
.\" |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
32 |
.\" Permission to use, copy, modify, distribute, and sell this software and its |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
33 |
.\" documentation for any purpose is hereby granted without fee, provided that |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
34 |
@@ -40,6 +41,10 @@ xset - user preference utility for X |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
35 |
[dpms \fIstandby\fP [\fI suspend\fP [\fI off\fP]]] |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
36 |
[dpms force {standby|suspend|off|on}] |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
37 |
.br |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
38 |
+[+fbpm] [-fbpm] |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
39 |
+.br |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
40 |
+ [fbpm force {standby|suspend|off|on}] |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
41 |
+.br |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
42 |
[fp=\fIpathlist\fP] |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
43 |
[-fp=\fIpathlist\fP] |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
44 |
[+fp=\fIpathlist\fP] |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
45 |
@@ -138,6 +143,32 @@ The first value given is for the `standby' mode, the second is for the |
1179
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
46 |
`suspend' mode, and the third is for the `off' mode. Setting these |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
47 |
values implicitly enables the DPMS features. A value of zero disables |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
48 |
a particular mode. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
49 |
+Note that standby is less than suspend is less than off, if this condition is not met, an error is produced. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
50 |
+.PP |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
51 |
+.TP 8 |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
52 |
+.B +fbpm |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
53 |
+Enable frame buffer power management. NOTE: FBPM timing is linked to DPMS, See DPMS for default timeout values. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
54 |
+.PP |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
55 |
+.TP 8 |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
56 |
+.B -fbpm |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
57 |
+Disable frame buffer power management. NOTE: Does not affect DPMS timeouts. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
58 |
+.PP |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
59 |
+.TP 8 |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
60 |
+.B fbpm force standby |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
61 |
+Force to standby power level. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
62 |
+.PP |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
63 |
+.TP 8 |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
64 |
+.B fbpm force suspend |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
65 |
+Force to suspend power level. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
66 |
+.PP |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
67 |
+.TP 8 |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
68 |
+.B fbpm force off |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
69 |
+Force power to off. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
70 |
+.PP |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
71 |
+.TP 8 |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
72 |
+.B fbpm force on |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
73 |
+Force power to on. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
74 |
+.PP |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
75 |
.TP 8 |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
76 |
.B fp= \fIpath,...\fP |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
77 |
The \fBfp=\fP sets the font path to the entries given in the path argument. |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
78 |
diff --git a/xset.c b/xset.c |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
79 |
index f461d4b..1629a72 100644 |
1179
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
80 |
--- a/xset.c |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
81 |
+++ b/xset.c |
4ad971e180c3
7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1068
diff
changeset
|
82 |
@@ -65,6 +65,10 @@ in this Software without prior written authorization from The Open Group. |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
83 |
#endif |
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
84 |
#ifdef DPMSExtension |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
85 |
# include <X11/extensions/dpms.h> |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
86 |
+# define FBPM /* need to check for fbpm.h in autoconf if we push upstream */ |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
87 |
+# ifdef FBPM |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
88 |
+# include <X11/extensions/fbpm.h> |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
89 |
+# endif |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
90 |
#endif /* DPMSExtension */ |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
91 |
|
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
92 |
#ifdef XF86MISC |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
93 |
@@ -593,6 +597,62 @@ main(int argc, char *argv[]) |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
94 |
} |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
95 |
} |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
96 |
#endif /* DPMSExtension */ |
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
97 |
+#ifdef FBPM |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
98 |
+ else if (strcmp(arg, "+fbpm") == 0) { /* turn on FBPM */ |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
99 |
+ int dummy; |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
100 |
+ |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
101 |
+ if (FBPMQueryExtension(dpy, &dummy, &dummy)) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
102 |
+ FBPMEnable(dpy, 0); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
103 |
+ } else { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
104 |
+ fprintf(stderr, |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
105 |
+ "server does not have extension for +fbpm option\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
106 |
+ } |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
107 |
+ } else if (strcmp(arg, "-fbpm") == 0) { /* shut off FBPM */ |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
108 |
+ int dummy; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
109 |
+ |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
110 |
+ if (FBPMQueryExtension(dpy, &dummy, &dummy)) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
111 |
+ FBPMDisable(dpy); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
112 |
+ } else { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
113 |
+ fprintf(stderr, |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
114 |
+ "server does not have extension for -fbpm option\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
115 |
+ } |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
116 |
+ } else if (strcmp(arg, "fbpm") == 0) { /* planing for force fbpm */ |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
117 |
+ int dummy; |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
118 |
+ |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
119 |
+ if ((i + 1) >= argc) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
120 |
+ usage("missing arguments to -fpbm", NULL); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
121 |
+ } else { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
122 |
+ /* |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
123 |
+ * we are skipping the word 'force'... just |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
124 |
+ * check to make sure its there |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
125 |
+ */ |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
126 |
+ arg = nextarg(i, argv); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
127 |
+ if (strcmp(arg, "force") != 0) { /* ack ! */ |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
128 |
+ fprintf(stderr, "bad parameter %s [needs force]\n", arg); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
129 |
+ break; |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
130 |
+ } |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
131 |
+ } |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
132 |
+ i++; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
133 |
+ arg = nextarg(i, argv); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
134 |
+ i++; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
135 |
+ if (FBPMQueryExtension(dpy, &dummy, &dummy)) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
136 |
+ if (strcmp(arg, "on") == 0) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
137 |
+ FBPMEnable(dpy, FBPMModeOn); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
138 |
+ } else if (strcmp(arg, "standby") == 0) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
139 |
+ FBPMEnable(dpy, FBPMModeStandby); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
140 |
+ } else if (strcmp(arg, "suspend") == 0) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
141 |
+ FBPMEnable(dpy, FBPMModeSuspend); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
142 |
+ } else if (strcmp(arg, "off") == 0) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
143 |
+ FBPMEnable(dpy, FBPMModeOff); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
144 |
+ } else { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
145 |
+ fprintf(stderr, "bad parameter %s\n", arg); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
146 |
+ } |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
147 |
+ } else { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
148 |
+ fprintf(stderr, |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
149 |
+ "server does not have extension for fbpm option\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
150 |
+ } |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
151 |
+ } |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
152 |
+#endif |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
153 |
else if (strcmp(arg, "s") == 0) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
154 |
if (i >= argc) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
155 |
set_saver(dpy, ALL, 0); /* Set everything to default */ |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
156 |
@@ -1483,6 +1543,46 @@ query(Display *dpy) |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
157 |
} |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
158 |
} |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
159 |
#endif |
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
160 |
+#ifdef FBPM |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
161 |
+ { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
162 |
+ int dummy; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
163 |
+ CARD16 standby, suspend, off; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
164 |
+ BOOL onoff; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
165 |
+ CARD16 state; |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
166 |
+ |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
167 |
+ printf("FBPM (Frame Buffer Power Management):\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
168 |
+ if (FBPMQueryExtension(dpy, &dummy, &dummy)) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
169 |
+ if (FBPMCapable(dpy)) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
170 |
+ FBPMInfo(dpy, &state, &onoff); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
171 |
+ if (onoff) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
172 |
+ printf(" FBPM is enabled\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
173 |
+ switch (state) { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
174 |
+ case FBPMModeOn: |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
175 |
+ printf(" Frame Buffer is on\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
176 |
+ break; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
177 |
+ case FBPMModeStandby: |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
178 |
+ printf(" Frame Buffer is in standby\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
179 |
+ break; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
180 |
+ case FBPMModeSuspend: |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
181 |
+ printf(" Frame Buffer is in suspend\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
182 |
+ break; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
183 |
+ case FBPMModeOff: |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
184 |
+ printf(" Frame Buffer is off\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
185 |
+ break; |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
186 |
+ default: |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
187 |
+ printf(" Unrecognized response from server\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
188 |
+ } |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
189 |
+ } else { |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
190 |
+ printf(" FBPM is disabled\n"); |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
191 |
+ } |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
192 |
+ } else { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
193 |
+ printf(" System is not capable of FBPM\n"); |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
194 |
+ } |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
195 |
+ } else { |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
196 |
+ printf(" Server does not have the FBPM Extension\n"); |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
197 |
+ } |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
198 |
+ } |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
199 |
+#endif |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
200 |
#ifdef FONTCACHE |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
201 |
{ |
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
202 |
int dummy; |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
203 |
@@ -1613,6 +1713,16 @@ usage(const char *fmt, ...) |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
204 |
"\t (also implicitly enables DPMS features) \n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
205 |
"\t a timeout value of zero disables the mode \n" |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
206 |
#endif |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
207 |
+#ifdef FBPM |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
208 |
+ " To control Frame Buffer Power Management (FBPM) features:\n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
209 |
+ "\t-fbpm Frame Buffer Power Management features off\n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
210 |
+ "\t+fbpm Frame Buffer Power Management features on\n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
211 |
+ "\t fbpm force on \n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
212 |
+ "\t force standby \n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
213 |
+ "\t force suspend \n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
214 |
+ "\t force off \n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
215 |
+ "\t (also implicitly enables FBPM features) \n" |
371
d0a78a85764b
6677427 Mass minor update to X.Org upstream tarballs
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
277
diff
changeset
|
216 |
+#endif |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
217 |
#ifdef FONTCACHE |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
218 |
" To control font cache:\n" |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1179
diff
changeset
|
219 |
"\t fc [hi-mark [low-mark [balance]]]\n" |