17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 57c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 67c478bd9Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 77c478bd9Sstevel@tonic-gate# with the License. 87c478bd9Sstevel@tonic-gate# 97c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 107c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 117c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 127c478bd9Sstevel@tonic-gate# and limitations under the License. 137c478bd9Sstevel@tonic-gate# 147c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 157c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 167c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 177c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 187c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 197c478bd9Sstevel@tonic-gate# 207c478bd9Sstevel@tonic-gate# CDDL HEADER END 217c478bd9Sstevel@tonic-gate# 227c478bd9Sstevel@tonic-gate# 237c478bd9Sstevel@tonic-gate# Copyright (c) 2001 by Sun Microsystems, Inc. 24*1da57d55SToomas Soome# All rights reserved. 257c478bd9Sstevel@tonic-gate# 267c478bd9Sstevel@tonic-gate# lib/cfgadm_plugins/usb/usb.xcl 277c478bd9Sstevel@tonic-gate# 287c478bd9Sstevel@tonic-gatemsgid "usb_get_conf_rec:\n" 297c478bd9Sstevel@tonic-gatemsgstr 307c478bd9Sstevel@tonic-gatemsgid "usb_cmp_rec:\n" 317c478bd9Sstevel@tonic-gatemsgstr 327c478bd9Sstevel@tonic-gatemsgid "add_entry: driver=%s, path=%s\n" 337c478bd9Sstevel@tonic-gatemsgstr 347c478bd9Sstevel@tonic-gatemsgid "add_entry: failed to open config file\n" 357c478bd9Sstevel@tonic-gatemsgstr 367c478bd9Sstevel@tonic-gatemsgid "add_entry: failed to fstat config file\n" 377c478bd9Sstevel@tonic-gatemsgstr 387c478bd9Sstevel@tonic-gatemsgid "add_entry: failed to read config file\n" 397c478bd9Sstevel@tonic-gatemsgstr 407c478bd9Sstevel@tonic-gatemsgid "add_entry: token=%x, found=%x\n" 417c478bd9Sstevel@tonic-gatemsgstr 427c478bd9Sstevel@tonic-gatemsgid "FOUND\n" 437c478bd9Sstevel@tonic-gatemsgstr 447c478bd9Sstevel@tonic-gatemsgid "open failed" 457c478bd9Sstevel@tonic-gatemsgstr 467c478bd9Sstevel@tonic-gatemsgid "add_entry: failed to lseek config file\n" 477c478bd9Sstevel@tonic-gatemsgstr 487c478bd9Sstevel@tonic-gatemsgid "add_entry: failed to write config file\n" 497c478bd9Sstevel@tonic-gatemsgstr 507c478bd9Sstevel@tonic-gatemsgid "selection=%s idVendor=%d idProduct=%d " 517c478bd9Sstevel@tonic-gatemsgstr 527c478bd9Sstevel@tonic-gatemsgid "add_entry: failed to lseek config file\n" 537c478bd9Sstevel@tonic-gatemsgstr 547c478bd9Sstevel@tonic-gatemsgid "add_entry: failed to write config file\n" 557c478bd9Sstevel@tonic-gatemsgstr 567c478bd9Sstevel@tonic-gatemsgid ""add_entry: failed to write config file\n" 577c478bd9Sstevel@tonic-gatemsgstr 587c478bd9Sstevel@tonic-gatemsgid "!FOUND\n" 597c478bd9Sstevel@tonic-gatemsgstr 607c478bd9Sstevel@tonic-gatemsgid "usb_rcm_offline:\n" 617c478bd9Sstevel@tonic-gatemsgstr 627c478bd9Sstevel@tonic-gatemsgid "usb_rcm_offline: rsrc_fixed: %s\n" 637c478bd9Sstevel@tonic-gatemsgstr 647c478bd9Sstevel@tonic-gatemsgid "usb_rcm_offline: rcm_request_offline failed\n" 657c478bd9Sstevel@tonic-gatemsgstr 667c478bd9Sstevel@tonic-gatemsgid "usb_rcm_offline: table = %s\n" 677c478bd9Sstevel@tonic-gatemsgstr 687c478bd9Sstevel@tonic-gatemsgid "usb_rcm_online:\n" 697c478bd9Sstevel@tonic-gatemsgstr 707c478bd9Sstevel@tonic-gatemsgid "usb_rcm_online: rcm_notify_online failed\n" 717c478bd9Sstevel@tonic-gatemsgstr 727c478bd9Sstevel@tonic-gatemsgid "usb_rcm_remove:\n" 737c478bd9Sstevel@tonic-gatemsgstr 747c478bd9Sstevel@tonic-gatemsgid "usb_rcm_remove: rcm_notify_remove failed\n" 757c478bd9Sstevel@tonic-gatemsgstr 767c478bd9Sstevel@tonic-gatemsgid "usb_rcm_init:\n" 777c478bd9Sstevel@tonic-gatemsgstr 787c478bd9Sstevel@tonic-gatemsgid "usb_rcm_init: rsrc is NULL\n" 797c478bd9Sstevel@tonic-gatemsgstr 807c478bd9Sstevel@tonic-gatemsgid "usb_rcm_init: alloc_handle failed\n" 817c478bd9Sstevel@tonic-gatemsgstr 827c478bd9Sstevel@tonic-gatemsgid "usb_rcm_info_table:\n" 837c478bd9Sstevel@tonic-gatemsgstr 847c478bd9Sstevel@tonic-gatemsgid "usb_rcm_info_table: no tuples\n" 857c478bd9Sstevel@tonic-gatemsgstr 867c478bd9Sstevel@tonic-gatemsgid "usb_rcm_info_table: no table\n" 877c478bd9Sstevel@tonic-gatemsgstr 887c478bd9Sstevel@tonic-gatemsgid "\n" 897c478bd9Sstevel@tonic-gatemsgstr 907c478bd9Sstevel@tonic-gatemsgid "%%-%ds %%-%ds" 917c478bd9Sstevel@tonic-gatemsgstr 927c478bd9Sstevel@tonic-gatemsgid "/devices" 937c478bd9Sstevel@tonic-gatemsgstr 947c478bd9Sstevel@tonic-gatemsgid "get_error_msg: bad error msg index: %d\n" 957c478bd9Sstevel@tonic-gatemsgstr 967c478bd9Sstevel@tonic-gatemsgid "set_msg: realloc failed.\n" 977c478bd9Sstevel@tonic-gatemsgstr 987c478bd9Sstevel@tonic-gatemsgid "ap_id: " 997c478bd9Sstevel@tonic-gatemsgstr 1007c478bd9Sstevel@tonic-gatemsgid "usb_err_msg: Unrecognized message index: %d\n" 1017c478bd9Sstevel@tonic-gatemsgstr 1027c478bd9Sstevel@tonic-gatemsgid "0123456789." 1037c478bd9Sstevel@tonic-gatemsgstr 1047c478bd9Sstevel@tonic-gatemsgid "verify_params: hardware-specific options not " 1057c478bd9Sstevel@tonic-gate "supported.\n" 1067c478bd9Sstevel@tonic-gatemsgstr 1077c478bd9Sstevel@tonic-gatemsgid "verify_params: dynamic ap_id passed\n" 1087c478bd9Sstevel@tonic-gatemsgstr 1097c478bd9Sstevel@tonic-gatemsgid "setup_for_devctl_cmd: devctl_ap_acquire failed with " 1107c478bd9Sstevel@tonic-gate "errno: %d\n" 1117c478bd9Sstevel@tonic-gatemsgstr 1127c478bd9Sstevel@tonic-gatemsgid "setup_for_devctl: nvlist_alloc failed, errno: %d\n" 1137c478bd9Sstevel@tonic-gatemsgstr 1147c478bd9Sstevel@tonic-gatemsgid "setup_for_devctl_cmd: get_port_num, errno: %d\n" 1157c478bd9Sstevel@tonic-gatemsgstr 1167c478bd9Sstevel@tonic-gatemsgid "setup_for_devctl_cmd: nvlist_add_int32 failed. " 1177c478bd9Sstevel@tonic-gate "errno: %d\n" 1187c478bd9Sstevel@tonic-gatemsgstr 1197c478bd9Sstevel@tonic-gatemsgid "device_configured:\n" 1207c478bd9Sstevel@tonic-gatemsgstr 1217c478bd9Sstevel@tonic-gatemsgid "devctl_ap_getstate failed, errno: %d\n" 1227c478bd9Sstevel@tonic-gatemsgstr 1237c478bd9Sstevel@tonic-gatemsgid "device_connected:\n" 1247c478bd9Sstevel@tonic-gatemsgstr 1257c478bd9Sstevel@tonic-gatemsgid "set_configuration: ap_id: %s, config:%d\n" 1267c478bd9Sstevel@tonic-gatemsgstr 1277c478bd9Sstevel@tonic-gatemsgid "device supports %d configurations\n" 1287c478bd9Sstevel@tonic-gatemsgstr 1297c478bd9Sstevel@tonic-gatemsgid "set_configuration: get serial " 1307c478bd9Sstevel@tonic-gate "no string failed\n" 1317c478bd9Sstevel@tonic-gatemsgstr 1327c478bd9Sstevel@tonic-gatemsgid "get device path failed\n" 1337c478bd9Sstevel@tonic-gatemsgstr 1347c478bd9Sstevel@tonic-gatemsgid "calling add_entry: vid: 0x%x pid:0x%x config:0x%x," 1357c478bd9Sstevel@tonic-gatemsgstr 1367c478bd9Sstevel@tonic-gatemsgid "serial_no: %s\n\tdev_path: %s\n\tdriver: %s\n" 1377c478bd9Sstevel@tonic-gatemsgstr 1387c478bd9Sstevel@tonic-gatemsgid "set_configuration: HUBD_REFRESH_DEVDB failed\n" 1397c478bd9Sstevel@tonic-gatemsgstr 1407c478bd9Sstevel@tonic-gatemsgid "get_config: get current config descr failed\n" 1417c478bd9Sstevel@tonic-gatemsgstr 1427c478bd9Sstevel@tonic-gatemsgid "reset_device: \n" 1437c478bd9Sstevel@tonic-gatemsgstr 1447c478bd9Sstevel@tonic-gatemsgid "devctl_ap_getstate failed. errno: %d\n" 1457c478bd9Sstevel@tonic-gatemsgstr 1467c478bd9Sstevel@tonic-gatemsgid "devctl_ap_unconfigure failed, errno: %d\n" 1477c478bd9Sstevel@tonic-gatemsgstr 1487c478bd9Sstevel@tonic-gatemsgid " devctl_ap_configure failed, errno = %d\n" 1497c478bd9Sstevel@tonic-gatemsgstr 1507c478bd9Sstevel@tonic-gatemsgid "fill_in_ap_info:\n" 1517c478bd9Sstevel@tonic-gatemsgstr 1527c478bd9Sstevel@tonic-gatemsgid "fill_in_ap_info: get dev descr failed\n" 1537c478bd9Sstevel@tonic-gatemsgstr 1547c478bd9Sstevel@tonic-gatemsgid "get iManufacturer failed\n" 1557c478bd9Sstevel@tonic-gatemsgstr 1567c478bd9Sstevel@tonic-gatemsgid "getting iProduct failed\\n" 1577c478bd9Sstevel@tonic-gatemsgstr 1587c478bd9Sstevel@tonic-gatemsgid "get string descr failed\n" 1597c478bd9Sstevel@tonic-gatemsgstr 1607c478bd9Sstevel@tonic-gatemsgid "get_config failed\n" 1617c478bd9Sstevel@tonic-gatemsgstr 1627c478bd9Sstevel@tonic-gatemsgid "HUBD_CFG_DESCR_STR failed\n" 1637c478bd9Sstevel@tonic-gatemsgstr 1647c478bd9Sstevel@tonic-gatemsgid "cfga_change_state: get device " 1657c478bd9Sstevel@tonic-gate "path failed i = %d\n" 1667c478bd9Sstevel@tonic-gatemsgstr 1677c478bd9Sstevel@tonic-gatemsgid "Unconfigure" 1687c478bd9Sstevel@tonic-gatemsgstr 1697c478bd9Sstevel@tonic-gatemsgid "Unconfigure %s%s\n%s" 1707c478bd9Sstevel@tonic-gatemsgstr 1717c478bd9Sstevel@tonic-gatemsgid "cfga_change_state: get device path failed\n" 1727c478bd9Sstevel@tonic-gatemsgstr 1737c478bd9Sstevel@tonic-gatemsgid "cfga_change_state: devctl_ap_unconfigure " 1747c478bd9Sstevel@tonic-gate "failed with errno: %d\n" 1757c478bd9Sstevel@tonic-gatemsgstr 1767c478bd9Sstevel@tonic-gatemsgid "Disconnect" 1777c478bd9Sstevel@tonic-gatemsgstr 1787c478bd9Sstevel@tonic-gatemsgid "Disconnect %s%s\n%s" 1797c478bd9Sstevel@tonic-gatemsgstr 1807c478bd9Sstevel@tonic-gatemsgid "cfga_change_state: devctl_ap_disconnect " 1817c478bd9Sstevel@tonic-gate "failed with errno: %d\n" 1827c478bd9Sstevel@tonic-gatemsgstr 1837c478bd9Sstevel@tonic-gatemsgid "Reset %s%s\n%s" 1847c478bd9Sstevel@tonic-gatemsgstr 1857c478bd9Sstevel@tonic-gatemsgid "cfga_private_func: \"config\" not passed\n" 1867c478bd9Sstevel@tonic-gatemsgstr 1877c478bd9Sstevel@tonic-gatemsgid "cfg = %s\n" 1887c478bd9Sstevel@tonic-gatemsgstr 1897c478bd9Sstevel@tonic-gatemsgid "config = %x\n" 1907c478bd9Sstevel@tonic-gatemsgstr 1917c478bd9Sstevel@tonic-gatemsgid "driver = %s\n" 1927c478bd9Sstevel@tonic-gatemsgstr 1937c478bd9Sstevel@tonic-gatemsgid "Setting %s%s\nto USB configuration %d\n%s" 1947c478bd9Sstevel@tonic-gatemsgstr 1957c478bd9Sstevel@tonic-gatemsgid "cfga_list_ext: list = NULL or nlistp = NULL\n" 1967c478bd9Sstevel@tonic-gatemsgstr 1977c478bd9Sstevel@tonic-gatemsgid "cfga_list_ext: devctl_ap_getstate failed. errno: %d\n" 1987c478bd9Sstevel@tonic-gatemsgstr 1997c478bd9Sstevel@tonic-gatemsgid "cfga_list_ext: devlink doesn't contain /dev/cfg\n" 2007c478bd9Sstevel@tonic-gatemsgstr 2017c478bd9Sstevel@tonic-gatemsgid "usb-" 2027c478bd9Sstevel@tonic-gatemsgstr 2037c478bd9Sstevel@tonic-gatemsgid "cfga_msg: msg\n" 2047c478bd9Sstevel@tonic-gatemsgstr 2057c478bd9Sstevel@tonic-gatemsgid "cfga_msg: null str\n" 2067c478bd9Sstevel@tonic-gatemsgstr 2077c478bd9Sstevel@tonic-gatemsgid "cfga_msg: null q\n" 2087c478bd9Sstevel@tonic-gatemsgstr 2097c478bd9Sstevel@tonic-gatemsgid "cfga_help:\n" 2107c478bd9Sstevel@tonic-gatemsgstr 2117c478bd9Sstevel@tonic-gatemsgid "usb_confirm: %d\n" 2127c478bd9Sstevel@tonic-gatemsgstr 2137c478bd9Sstevel@tonic-gatemsgid "usb_get_devicepath: get device path ioctl ok\n" 2147c478bd9Sstevel@tonic-gatemsgstr 2157c478bd9Sstevel@tonic-gatemsgid "usb_get_devicepath: get device path ioctl failed\n" 2167c478bd9Sstevel@tonic-gatemsgstr 217