xref: /titanic_44/usr/src/cmd/kbd/keymap.xml (revision 1d9cde1dcd9c3d71413dae0f9e9b3845a667cd9c)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
5
6 CDDL HEADER START
7
8 The contents of this file are subject to the terms of the
9 Common Development and Distribution License (the "License").
10 You may not use this file except in compliance with the License.
11
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 or http://www.opensolaris.org/os/licensing.
14 See the License for the specific language governing permissions
15 and limitations under the License.
16
17 When distributing Covered Code, include this CDDL HEADER in each
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 If applicable, add the following below this CDDL HEADER, with the
20 fields enclosed by brackets "[]" replaced with your own identifying
21 information: Portions Copyright [yyyy] [name of copyright owner]
22
23 CDDL HEADER END
24
25	NOTE:  This service manifest is not editable; its contents will
26	be overwritten by package or patch operations, including
27	operating system upgrade.  Make customizations in a different
28	file.
29
30	Service manifest for establishing hardware keyboard defaults.
31-->
32
33<service_bundle type='manifest' name='SUNWcsr:keymap'>
34
35<service
36	name='system/keymap'
37	type='service'
38	version='1'>
39
40	<single_instance />
41
42	<dependency
43		name='usr'
44		type='service'
45		grouping='require_all'
46		restart_on='none'>
47		<service_fmri value='svc:/system/filesystem/usr' />
48	</dependency>
49
50	<dependent
51		name='keymap_single-user'
52		grouping='optional_all'
53		restart_on='none'>
54		<service_fmri value='svc:/milestone/single-user' />
55	</dependent>
56
57	<exec_method
58		type='method'
59		name='start'
60		exec='/lib/svc/method/keymap'
61		timeout_seconds='0' />
62
63	<exec_method
64		type='method'
65		name='stop'
66		exec=':true'
67		timeout_seconds='60' />
68
69	<property_group name='startd' type='framework'>
70		<propval name='duration' type='astring'
71			value='transient' />
72	</property_group>
73
74	<instance name='default' enabled='false'>
75		<property_group name='keymap' type='system'>
76			<propval name='keyboard_abort' type='astring' value='enable' />
77			<propval name='keyclick' type='boolean' value='false' />
78			<propval name='repeat_delay' type='integer' value='500' />
79			<propval name='repeat_rate' type='integer' value='40' />
80			<propval name='layout' type='astring' value='US-English' />
81			<propval name='kbd_beeper_freq' type='integer' value='2000' />
82			<propval name='console_beeper_freq' type='integer' value='900' />
83		</property_group>
84	</instance>
85
86	<stability value='Unstable' />
87
88	<template>
89		<common_name>
90			<loctext xml:lang='C'>keyboard defaults
91				</loctext>
92		</common_name>
93
94		<documentation>
95			<manpage
96				title='kbd'
97				section='1M'
98				manpath='/usr/share/man' />
99		</documentation>
100
101		<pg_pattern name='keymap' type='system'>
102			<description>
103				<loctext xml:lang='C'>
104					Default keyboard configurations
105				</loctext>
106			</description>
107			<prop_pattern name='keyboard_abort' type='astring' required='true'>
108				<description>
109					<loctext xml:lang='C'>
110						The behavior of keyboard abort sequence
111					</loctext>
112				</description>
113				<cardinality min="1" max="1"/>
114			</prop_pattern>
115			<prop_pattern name='keyclick' type='boolean' required='true'>
116				<description>
117					<loctext xml:lang='C'>
118						The keyclick behavior
119					</loctext>
120				</description>
121				<cardinality min="1" max="1"/>
122			</prop_pattern>
123			<prop_pattern name='repeat_delay' type='integer' required='true'>
124				<description>
125					<loctext xml:lang='C'>
126						The autorepeat delay
127					</loctext>
128				</description>
129				<cardinality min="1" max="1"/>
130			</prop_pattern>
131			<prop_pattern name='repeat_rate' type='integer' required='true'>
132				<description>
133					<loctext xml:lang='C'>
134						The autorepeat rate
135					</loctext>
136				</description>
137				<cardinality min="1" max="1"/>
138			</prop_pattern>
139			<prop_pattern name='layout' type='astring' required='true'>
140				<description>
141					<loctext xml:lang='C'>
142						The keyboard layout
143					</loctext>
144				</description>
145				<cardinality min="1" max="1"/>
146			</prop_pattern>
147			<prop_pattern name='kbd_beeper_freq' type='integer' required='true'>
148				<description>
149					<loctext xml:lang='C'>
150						Keyboard beeper frequency
151					</loctext>
152				</description>
153				<cardinality min="1" max="1"/>
154				<constraints>
155					<range min="0" max="32767"/>
156				</constraints>
157			</prop_pattern>
158			<prop_pattern name='console_beeper_freq' type='integer' required='true'>
159				<description>
160					<loctext xml:lang='C'>
161						Console beeper frequency
162					</loctext>
163				</description>
164				<cardinality min="1" max="1"/>
165				<constraints>
166					<range min="0" max="32767"/>
167				</constraints>
168			</prop_pattern>
169		</pg_pattern>
170	</template>
171</service>
172
173</service_bundle>
174