xref: /titanic_52/usr/src/lib/cfgadm_plugins/usb/usb.xcl (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
3*7c478bd9Sstevel@tonic-gate#
4*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
6*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
7*7c478bd9Sstevel@tonic-gate# with the License.
8*7c478bd9Sstevel@tonic-gate#
9*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
11*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
12*7c478bd9Sstevel@tonic-gate# and limitations under the License.
13*7c478bd9Sstevel@tonic-gate#
14*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
15*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
17*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
18*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
19*7c478bd9Sstevel@tonic-gate#
20*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
21*7c478bd9Sstevel@tonic-gate#
22*7c478bd9Sstevel@tonic-gate#
23*7c478bd9Sstevel@tonic-gate# Copyright (c) 2001 by Sun Microsystems, Inc.
24*7c478bd9Sstevel@tonic-gate# All rights reserved.
25*7c478bd9Sstevel@tonic-gate#
26*7c478bd9Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
27*7c478bd9Sstevel@tonic-gate#
28*7c478bd9Sstevel@tonic-gate# lib/cfgadm_plugins/usb/usb.xcl
29*7c478bd9Sstevel@tonic-gate#
30*7c478bd9Sstevel@tonic-gatemsgid  "usb_get_conf_rec:\n"
31*7c478bd9Sstevel@tonic-gatemsgstr
32*7c478bd9Sstevel@tonic-gatemsgid  "usb_cmp_rec:\n"
33*7c478bd9Sstevel@tonic-gatemsgstr
34*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: driver=%s, path=%s\n"
35*7c478bd9Sstevel@tonic-gatemsgstr
36*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: failed to open config file\n"
37*7c478bd9Sstevel@tonic-gatemsgstr
38*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: failed to fstat config file\n"
39*7c478bd9Sstevel@tonic-gatemsgstr
40*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: failed to read config file\n"
41*7c478bd9Sstevel@tonic-gatemsgstr
42*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: token=%x, found=%x\n"
43*7c478bd9Sstevel@tonic-gatemsgstr
44*7c478bd9Sstevel@tonic-gatemsgid  "FOUND\n"
45*7c478bd9Sstevel@tonic-gatemsgstr
46*7c478bd9Sstevel@tonic-gatemsgid  "open failed"
47*7c478bd9Sstevel@tonic-gatemsgstr
48*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: failed to lseek config file\n"
49*7c478bd9Sstevel@tonic-gatemsgstr
50*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: failed to write config file\n"
51*7c478bd9Sstevel@tonic-gatemsgstr
52*7c478bd9Sstevel@tonic-gatemsgid  "selection=%s idVendor=%d idProduct=%d "
53*7c478bd9Sstevel@tonic-gatemsgstr
54*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: failed to lseek config file\n"
55*7c478bd9Sstevel@tonic-gatemsgstr
56*7c478bd9Sstevel@tonic-gatemsgid  "add_entry: failed to write config file\n"
57*7c478bd9Sstevel@tonic-gatemsgstr
58*7c478bd9Sstevel@tonic-gatemsgid  ""add_entry: failed to write config file\n"
59*7c478bd9Sstevel@tonic-gatemsgstr
60*7c478bd9Sstevel@tonic-gatemsgid  "!FOUND\n"
61*7c478bd9Sstevel@tonic-gatemsgstr
62*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_offline:\n"
63*7c478bd9Sstevel@tonic-gatemsgstr
64*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_offline: rsrc_fixed: %s\n"
65*7c478bd9Sstevel@tonic-gatemsgstr
66*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_offline: rcm_request_offline failed\n"
67*7c478bd9Sstevel@tonic-gatemsgstr
68*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_offline: table = %s\n"
69*7c478bd9Sstevel@tonic-gatemsgstr
70*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_online:\n"
71*7c478bd9Sstevel@tonic-gatemsgstr
72*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_online: rcm_notify_online failed\n"
73*7c478bd9Sstevel@tonic-gatemsgstr
74*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_remove:\n"
75*7c478bd9Sstevel@tonic-gatemsgstr
76*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_remove: rcm_notify_remove failed\n"
77*7c478bd9Sstevel@tonic-gatemsgstr
78*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_init:\n"
79*7c478bd9Sstevel@tonic-gatemsgstr
80*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_init: rsrc is NULL\n"
81*7c478bd9Sstevel@tonic-gatemsgstr
82*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_init: alloc_handle failed\n"
83*7c478bd9Sstevel@tonic-gatemsgstr
84*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_info_table:\n"
85*7c478bd9Sstevel@tonic-gatemsgstr
86*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_info_table: no tuples\n"
87*7c478bd9Sstevel@tonic-gatemsgstr
88*7c478bd9Sstevel@tonic-gatemsgid  "usb_rcm_info_table: no table\n"
89*7c478bd9Sstevel@tonic-gatemsgstr
90*7c478bd9Sstevel@tonic-gatemsgid  "\n"
91*7c478bd9Sstevel@tonic-gatemsgstr
92*7c478bd9Sstevel@tonic-gatemsgid  "%%-%ds  %%-%ds"
93*7c478bd9Sstevel@tonic-gatemsgstr
94*7c478bd9Sstevel@tonic-gatemsgid  "/devices"
95*7c478bd9Sstevel@tonic-gatemsgstr
96*7c478bd9Sstevel@tonic-gatemsgid  "get_error_msg: bad error msg index: %d\n"
97*7c478bd9Sstevel@tonic-gatemsgstr
98*7c478bd9Sstevel@tonic-gatemsgid  "set_msg: realloc failed.\n"
99*7c478bd9Sstevel@tonic-gatemsgstr
100*7c478bd9Sstevel@tonic-gatemsgid  "ap_id: "
101*7c478bd9Sstevel@tonic-gatemsgstr
102*7c478bd9Sstevel@tonic-gatemsgid  "usb_err_msg: Unrecognized message index: %d\n"
103*7c478bd9Sstevel@tonic-gatemsgstr
104*7c478bd9Sstevel@tonic-gatemsgid  "0123456789."
105*7c478bd9Sstevel@tonic-gatemsgstr
106*7c478bd9Sstevel@tonic-gatemsgid  "verify_params: hardware-specific options not "
107*7c478bd9Sstevel@tonic-gate       "supported.\n"
108*7c478bd9Sstevel@tonic-gatemsgstr
109*7c478bd9Sstevel@tonic-gatemsgid  "verify_params: dynamic ap_id passed\n"
110*7c478bd9Sstevel@tonic-gatemsgstr
111*7c478bd9Sstevel@tonic-gatemsgid  "setup_for_devctl_cmd: devctl_ap_acquire failed with "
112*7c478bd9Sstevel@tonic-gate       "errno: %d\n"
113*7c478bd9Sstevel@tonic-gatemsgstr
114*7c478bd9Sstevel@tonic-gatemsgid  "setup_for_devctl: nvlist_alloc failed, errno: %d\n"
115*7c478bd9Sstevel@tonic-gatemsgstr
116*7c478bd9Sstevel@tonic-gatemsgid  "setup_for_devctl_cmd: get_port_num, errno: %d\n"
117*7c478bd9Sstevel@tonic-gatemsgstr
118*7c478bd9Sstevel@tonic-gatemsgid  "setup_for_devctl_cmd: nvlist_add_int32 failed. "
119*7c478bd9Sstevel@tonic-gate       "errno: %d\n"
120*7c478bd9Sstevel@tonic-gatemsgstr
121*7c478bd9Sstevel@tonic-gatemsgid  "device_configured:\n"
122*7c478bd9Sstevel@tonic-gatemsgstr
123*7c478bd9Sstevel@tonic-gatemsgid  "devctl_ap_getstate failed, errno: %d\n"
124*7c478bd9Sstevel@tonic-gatemsgstr
125*7c478bd9Sstevel@tonic-gatemsgid  "device_connected:\n"
126*7c478bd9Sstevel@tonic-gatemsgstr
127*7c478bd9Sstevel@tonic-gatemsgid  "set_configuration: ap_id: %s, config:%d\n"
128*7c478bd9Sstevel@tonic-gatemsgstr
129*7c478bd9Sstevel@tonic-gatemsgid  "device supports %d configurations\n"
130*7c478bd9Sstevel@tonic-gatemsgstr
131*7c478bd9Sstevel@tonic-gatemsgid  "set_configuration: get serial "
132*7c478bd9Sstevel@tonic-gate       "no string failed\n"
133*7c478bd9Sstevel@tonic-gatemsgstr
134*7c478bd9Sstevel@tonic-gatemsgid  "get device path failed\n"
135*7c478bd9Sstevel@tonic-gatemsgstr
136*7c478bd9Sstevel@tonic-gatemsgid  "calling add_entry: vid: 0x%x pid:0x%x config:0x%x,"
137*7c478bd9Sstevel@tonic-gatemsgstr
138*7c478bd9Sstevel@tonic-gatemsgid  "serial_no: %s\n\tdev_path: %s\n\tdriver: %s\n"
139*7c478bd9Sstevel@tonic-gatemsgstr
140*7c478bd9Sstevel@tonic-gatemsgid  "set_configuration: HUBD_REFRESH_DEVDB failed\n"
141*7c478bd9Sstevel@tonic-gatemsgstr
142*7c478bd9Sstevel@tonic-gatemsgid  "get_config: get current config descr failed\n"
143*7c478bd9Sstevel@tonic-gatemsgstr
144*7c478bd9Sstevel@tonic-gatemsgid  "reset_device: \n"
145*7c478bd9Sstevel@tonic-gatemsgstr
146*7c478bd9Sstevel@tonic-gatemsgid  "devctl_ap_getstate failed. errno: %d\n"
147*7c478bd9Sstevel@tonic-gatemsgstr
148*7c478bd9Sstevel@tonic-gatemsgid  "devctl_ap_unconfigure failed, errno: %d\n"
149*7c478bd9Sstevel@tonic-gatemsgstr
150*7c478bd9Sstevel@tonic-gatemsgid  " devctl_ap_configure failed, errno = %d\n"
151*7c478bd9Sstevel@tonic-gatemsgstr
152*7c478bd9Sstevel@tonic-gatemsgid  "fill_in_ap_info:\n"
153*7c478bd9Sstevel@tonic-gatemsgstr
154*7c478bd9Sstevel@tonic-gatemsgid  "fill_in_ap_info: get dev descr failed\n"
155*7c478bd9Sstevel@tonic-gatemsgstr
156*7c478bd9Sstevel@tonic-gatemsgid  "get iManufacturer failed\n"
157*7c478bd9Sstevel@tonic-gatemsgstr
158*7c478bd9Sstevel@tonic-gatemsgid  "getting iProduct failed\\n"
159*7c478bd9Sstevel@tonic-gatemsgstr
160*7c478bd9Sstevel@tonic-gatemsgid  "get string descr failed\n"
161*7c478bd9Sstevel@tonic-gatemsgstr
162*7c478bd9Sstevel@tonic-gatemsgid  "get_config failed\n"
163*7c478bd9Sstevel@tonic-gatemsgstr
164*7c478bd9Sstevel@tonic-gatemsgid  "HUBD_CFG_DESCR_STR failed\n"
165*7c478bd9Sstevel@tonic-gatemsgstr
166*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state: get device "
167*7c478bd9Sstevel@tonic-gate       "path failed i = %d\n"
168*7c478bd9Sstevel@tonic-gatemsgstr
169*7c478bd9Sstevel@tonic-gatemsgid  "Unconfigure"
170*7c478bd9Sstevel@tonic-gatemsgstr
171*7c478bd9Sstevel@tonic-gatemsgid  "Unconfigure %s%s\n%s"
172*7c478bd9Sstevel@tonic-gatemsgstr
173*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state: get device path failed\n"
174*7c478bd9Sstevel@tonic-gatemsgstr
175*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state: devctl_ap_unconfigure "
176*7c478bd9Sstevel@tonic-gate       "failed with errno: %d\n"
177*7c478bd9Sstevel@tonic-gatemsgstr
178*7c478bd9Sstevel@tonic-gatemsgid  "Disconnect"
179*7c478bd9Sstevel@tonic-gatemsgstr
180*7c478bd9Sstevel@tonic-gatemsgid  "Disconnect %s%s\n%s"
181*7c478bd9Sstevel@tonic-gatemsgstr
182*7c478bd9Sstevel@tonic-gatemsgid  "cfga_change_state: devctl_ap_disconnect "
183*7c478bd9Sstevel@tonic-gate       "failed with errno: %d\n"
184*7c478bd9Sstevel@tonic-gatemsgstr
185*7c478bd9Sstevel@tonic-gatemsgid  "Reset %s%s\n%s"
186*7c478bd9Sstevel@tonic-gatemsgstr
187*7c478bd9Sstevel@tonic-gatemsgid  "cfga_private_func: \"config\" not passed\n"
188*7c478bd9Sstevel@tonic-gatemsgstr
189*7c478bd9Sstevel@tonic-gatemsgid  "cfg = %s\n"
190*7c478bd9Sstevel@tonic-gatemsgstr
191*7c478bd9Sstevel@tonic-gatemsgid  "config = %x\n"
192*7c478bd9Sstevel@tonic-gatemsgstr
193*7c478bd9Sstevel@tonic-gatemsgid  "driver = %s\n"
194*7c478bd9Sstevel@tonic-gatemsgstr
195*7c478bd9Sstevel@tonic-gatemsgid  "Setting %s%s\nto USB configuration %d\n%s"
196*7c478bd9Sstevel@tonic-gatemsgstr
197*7c478bd9Sstevel@tonic-gatemsgid  "cfga_list_ext: list = NULL or nlistp = NULL\n"
198*7c478bd9Sstevel@tonic-gatemsgstr
199*7c478bd9Sstevel@tonic-gatemsgid  "cfga_list_ext: devctl_ap_getstate failed. errno: %d\n"
200*7c478bd9Sstevel@tonic-gatemsgstr
201*7c478bd9Sstevel@tonic-gatemsgid  "cfga_list_ext: devlink doesn't contain /dev/cfg\n"
202*7c478bd9Sstevel@tonic-gatemsgstr
203*7c478bd9Sstevel@tonic-gatemsgid  "usb-"
204*7c478bd9Sstevel@tonic-gatemsgstr
205*7c478bd9Sstevel@tonic-gatemsgid  "cfga_msg: msg\n"
206*7c478bd9Sstevel@tonic-gatemsgstr
207*7c478bd9Sstevel@tonic-gatemsgid  "cfga_msg: null str\n"
208*7c478bd9Sstevel@tonic-gatemsgstr
209*7c478bd9Sstevel@tonic-gatemsgid  "cfga_msg: null q\n"
210*7c478bd9Sstevel@tonic-gatemsgstr
211*7c478bd9Sstevel@tonic-gatemsgid  "cfga_help:\n"
212*7c478bd9Sstevel@tonic-gatemsgstr
213*7c478bd9Sstevel@tonic-gatemsgid  "usb_confirm: %d\n"
214*7c478bd9Sstevel@tonic-gatemsgstr
215*7c478bd9Sstevel@tonic-gatemsgid  "usb_get_devicepath: get device path ioctl ok\n"
216*7c478bd9Sstevel@tonic-gatemsgstr
217*7c478bd9Sstevel@tonic-gatemsgid  "usb_get_devicepath: get device path ioctl failed\n"
218*7c478bd9Sstevel@tonic-gatemsgstr
219