Lines Matching +full:usb2 +full:- +full:2

7 .TH CFGADM_USB 8 "August 2, 2023"
9 cfgadm_usb \- USB hardware-specific commands for cfgadm
12 \fB/usr/sbin/cfgadm\fR [\fB-f\fR] [\fB-y\fR | \fB-n\fR] [\fB-v\fR] \fB-c\fR \fIfunction\fR \fIap_id…
17 \fB/usr/sbin/cfgadm\fR \fB-f\fR [\fB-y\fR | \fB-n\fR] [\fB-v\fR] [\fB-o\fR \fIhardware_options\fR]
18 \fB-x\fR \fIhardware_function\fR \fIap_id\fR...
23 \fB/usr/sbin/cfgadm\fR \fB-v\fR [\fB-a\fR] [\fB-s\fR \fIlisting_option\fR]
24 [\fB-l\fR [\fIap_id\fR | \fIap_type\fR...]]
29 \fB/usr/sbin/cfgadm\fR \fB-v\fR \fB-h\fR [\fIap_id\fR]...
33 The Universal Serial Bus (\fBUSB\fR) hardware-specific library
111 example# \fBcfgadm -l\fR
113 usb0/1 USB-hub connected configured ok
114 usb0/2 unknown empty unconfigured ok
115 usb0/1.1 USB-storage connected configured ok
118 usb0/1.4 USB-device connected configured ok
145 c0 scsi-bus connected configured unknown
146 usb0/1 usb-mouse connected configured ok
147 usb0/2 usb-kbd connected configured ok
149 usb0/4 usb-hub connected configured ok
153 usb0/4.4 usb-storage connected configured ok
155 usb1/2 unknown empty unconfigured ok
157 usb2/1 unknown empty unconfigured ok
158 usb2/2 usb-device connected configured ok
160 usb3/2 unknown empty unconfigured ok
171 \fBusb1\fR and \fBusb2\fR are companion \fBOHCI USB 1.\fR\fIx\fR host
180 ------------------- --------------------
182 usb1/2 external port 1
185 usb2/1 internal port 2
186 usb2/2 external port 2
189 usb3/2 internal port 2
191 usb3/4 external port 2
225 (using the \fBcfgadm\fR \fB-c\fR \fBdisconnect\fR command).
259 The \fBUSB\fR device at the \fBUSB\fR port was explicitly off-lined using
260 \fBcfgadm\fR \fB-c\fR \fBunconfigure\fR, or was not successfully configured for
274 Normal state - ready for use.
331 to hot-remove devices currently in use (such as removable disks currently
335 invoking configuration state changes (\fB-c\fR), invoking hardware-specific
336 functions (\fB-x\fR), and obtaining configuration administration help messages
337 (\fB-h\fR).
341 in the expected state. Use the \fBcfgadm\fR \fB-l\fR command to display the
352 \fB\fB-c\fR \fIfunction\fR\fR
383 port. Issuing a \fBcfgadm\fR \fB-c\fR \fBconfigure\fR, or physically
408 \fB\fB-f\fR\fR
418 \fB\fB-h\fR \fIap_id\fR\fR
429 \fB\fB-l\fR[\fBv\fR]\fR
433 The \fB-l\fR option works as described in \fBcfgadm\fR(8). When paired with
434 the \fB-v\fR option, the \fBInformation\fR field contains the following
435 \fBUSB\fR-specific information:
481 \fB\fB-o\fR \fIhardware_options\fR\fR
485 Hardware options are only supported for the hardware-specific command, \fB-x\fR
493 \fB\fB-s\fR \fIlisting_options\fR\fR
498 sub-option. See \fBcfgadm\fR(8).
504 \fB\fB-x\fR \fIhardware_function\fR\fR
508 The following hardware-specific functions are defined:
512 \fB\fBusb_config\fR \fB-o\fR \fBconfig=\fR\fIn\fR\fR
517 the \fB-o\fR option.
519 Sets the \fBUSB\fR configuration of a multi-configuration \fBUSB\fR device at
521 configuration henceforth and this setting persists across reboots, hot-removes,
524 Valid values of \fIn\fR range from \fB0\fR to (\fBNconfigs -1\fR). The device
540 Performs a software reset (re-enumeration) of the device. This is the
560 empty/unconfigured \(-> no device connected
562 disconnected/unconfigured \(-> logically disconnected,
567 connected/unconfigured \(-> logically connected,
571 connected/configured \(-> connected, available
584 ------------- --------- ---------
591 cfgadm -c unconfigure: empty/unconfigured
592 cfgadm -c configure: empty/unconfigured
593 cfgadm -c disconnect: empty/unconfigured
594 (no-op and error)
600 cfgadm -c unconfigure: disconnected/unconfigured
601 cfgadm -c configure: connected/configured, or
604 cfgadm -c disconnect: disconnected/unconfigured
609 cfgadm -c unconfigure: connected/unconfigured
610 cfgadm -c configure: connected/configured, or
613 cfgadm -c disconnect: disconnected/unconfigured
622 cfgadm -c unconfigure: connected/unconfigured
623 cfgadm -c configure: connected/configured
624 cfgadm -c disconnect: disconnected/unconfigured
640 usb0/1 USB-hub connected configured ok
641 usb0/2 unknown empty unconfigured ok
642 usb0/1.1 USB-storage connected configured ok
645 usb0/1.4 USB-device connected configured ok
652 Notice that \fBcfgadm\fR treats the \fBUSB-device\fR device at \fBap_id
657 \fBExample 2 \fRListing the Status of a Port with No Device Plugged In
665 example# \fBcfgadm -l usb0/1.3\fR
682 example# \fBcfgadm -l usb0/1.3\fR
684 usb0/1.3 USB-hub connected configured ok
699 example# \fBcfgadm -c unconfigure usb0/1.3\fR
700 Unconfigure the device: /devices/pci@0,0/pci8086,7112@7,2/hub@2:2.3
708 example# \fBcfgadm -l usb0/1.3\fR
726 example# \fBcfgadm -c disconnect usb0/1.3\fR
727 Disconnect the device: /devices/pci@0,0/pci8086,7112@7,2/hub@2:2.3
735 example# \fBcfgadm -l usb0/1.3\fR
747 \fBcfgadm \fR\fB-c\fR \fBconfigure\fR on the \fBap_id\fR brings it back
748 on-line.
760 example # \fBcfgadm -yc configure usb0/1.3\fR
761 example# \fBcfgadm -l usb0/1.3\fR
777 example# \fBcfgadm -x usb_reset usb0/1.3\fR
778 Reset the device: /devices/pci@0,0/pci8086,7112@7,2/hub@2:2.3
794 This device shows the following \fBUSB\fR-specific information in
807 Product string: \fBSTLINK-V3\fR
836 example# \fBcfgadm -lv usb2/1.2\fR
839 usb2/1.2 connected configured ok Mfg: STMicroelectronics
840 Product: STLINK-V3 Serial: 003C00174741500520383733 NConfigs: 1 Config:
849 example# \fBcfgadm -l -s "cols=ap_id:info" usb2/1.2\fR
851 usb2/1.2 Mfg: STMicroelectronics Product: STLINK-V3
867 example# \fBcfgadm -l -s "select=class(usb),cols=ap_id:info"\fR
869 usb1/3 Mfg: VIA Labs, Inc. Product: USB2.0 Hub
874 usb1/3.3 Mfg: STMicroelectronics Product: STLINK-V3
888 usb2/1 Mfg: <undef> Product: <undef> Serial: <undef>
890 usb2/1.1 Mfg: ARM Product: DAPLink CMSIS-DAP
893 usb2/1.2 Mfg: STMicroelectronics Product: STLINK-V3
908 example# \fBcfgadm -l -s "select=class(usb),cols=ap_id:info" | grep Mfg\fR
909 usb1/3 Mfg: VIA Labs, Inc. Product: USB2.0 Hub
913 usb1/3.3 Mfg: STMicroelectronics Product: STLINK-V3
922 \fBExample 10 \fRListing Information About a Multi-configuration USB Device
925 The following example lists information about a multi-configuration \fBUSB\fR
931 are \fB0\fR, \fB1\fR, and \fB2\fR (\fB0\fR to (\fIN\fR\fBConfigs-1\fR)).
936 example# \fBcfgadm -l -s "cols=ap_id:info" usb1/3.3\fR
938 usb1/3.3 Mfg: STMicroelectronics Product: STLINK-V3
945 \fBExample 11 \fRSetting the Current Configuration of a Multi-configuration USB
949 The following example sets the current configuration of a multi-configuration
955 example# \fBcfgadm -o config=2 -x usb_config usb0/1.4\fR
957 to USB configuration 2
1004 mass-storage device that is currently in use.
1007 Only super-users can execute any functions on an attachment point. However, one
1008 need not be a super-user to list the attachment points.