xref: /illumos-gate/usr/src/man/man4d/usba.4d (revision bbf215553c7233fbab8a0afdf1fac74c44781867)
1*bbf21555SRichard Lowe.\" Copyright (c) 2009, Sun Microsystems, Inc.  All Rights Reserved
2*bbf21555SRichard Lowe.\" Copyright 2016 Joyent, Inc.
3*bbf21555SRichard Lowe.\" Copyright 2020 Peter Tribble.
4*bbf21555SRichard Lowe.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
5*bbf21555SRichard Lowe.\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with
6*bbf21555SRichard Lowe.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7*bbf21555SRichard Lowe.Dd Jan 10, 2020
8*bbf21555SRichard Lowe.Dt USBA 4D
9*bbf21555SRichard Lowe.Os
10*bbf21555SRichard Lowe.Sh NAME
11*bbf21555SRichard Lowe.Nm usba ,
12*bbf21555SRichard Lowe.Nm usb
13*bbf21555SRichard Lowe.Nd illumos USB Architecture (USBA)
14*bbf21555SRichard Lowe.Sh DESCRIPTION
15*bbf21555SRichard LoweUSB provides a low-cost means for attaching peripheral devices, including
16*bbf21555SRichard Lowemass-storage devices, keyboards, mice, and printers, to a system.
17*bbf21555SRichard LoweFor complete information on the USB architecture, visit the USB website at
18*bbf21555SRichard Lowehttp://www.usb.org.
19*bbf21555SRichard Lowe.Pp
20*bbf21555SRichard LoweUSBA supports 126 hot-pluggable USB devices per USB bus.
21*bbf21555SRichard LoweThe maximum data transfer rate is 5 Gbits (SuperSpeed USB 3.0), 480 Mbits (high
22*bbf21555SRichard Lowespeed USB 2.0), 12 Mbits (full speed USB 1.x), or 1.5 Mbits (low speed USB 1.x).
23*bbf21555SRichard Lowe.Pp
24*bbf21555SRichard LoweUSBA adheres to the
25*bbf21555SRichard Lowe.Em Universal Serial Bus 3.0
26*bbf21555SRichard Lowespecification and provides a transport layer abstraction to USB client
27*bbf21555SRichard Lowedrivers.
28*bbf21555SRichard Lowe.Pp
29*bbf21555SRichard LoweFor information on how to write USB client drivers, see
30*bbf21555SRichard Lowe.Em Writing Device Drivers .
31*bbf21555SRichard LoweFor the latest information on writing USB drivers, visit
32*bbf21555SRichard Lowe.Em http://illumos.org/books/wdd .
33*bbf21555SRichard LoweFor a complete list of USBA interfaces, see
34*bbf21555SRichard Lowe.Xr Intro 9F
35*bbf21555SRichard Loweor
36*bbf21555SRichard Lowe.Xr Intro 9S .
37*bbf21555SRichard Lowe.Pp
38*bbf21555SRichard LoweDevices without a driver may be able to leverage libusb.
39*bbf21555SRichard Lowe.Sh FILES
40*bbf21555SRichard LoweListed below are drivers and modules which either utilize or are utilized by
41*bbf21555SRichard LoweUSBA.
42*bbf21555SRichard Lowe.Bl -column -offset indent ".Pa /kernel/drv/[sparcv9|amd64]/usbser_edge" "Edgeport USB to serial port"
43*bbf21555SRichard Lowe.It Em Client Driver Ta Em Function/Device
44*bbf21555SRichard Lowe.It Ta
45*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/hid Ta HID class
46*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/hubd Ta hub class
47*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/scsa2usb Ta mass storage class
48*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usbprn Ta printer class
49*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usb_as Ta audio streaming class
50*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usb_ac Ta audio control class
51*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usbvc Ta video class
52*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usb_mid Ta multi-interface device
53*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usb_ia Ta interface-association driver
54*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usbser_edge Ta Edgeport USB to serial port
55*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usbsksp Ta Keyspan USB to serial port
56*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usbsprl Ta pl2303 USB to serial port
57*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/usbsacm Ta CDC ACM class to serial port
58*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/ugen Ta generic USB driver
59*bbf21555SRichard Lowe.El
60*bbf21555SRichard Lowe.Bl -column -offset indent ".Pa /kernel/strmod/[sparcv9|amd64/]usb_ah" "Function/Device"
61*bbf21555SRichard Lowe.It Ta
62*bbf21555SRichard Lowe.It Em Client Streams Modules Ta Em Function/Device
63*bbf21555SRichard Lowe.It Ta
64*bbf21555SRichard Lowe.It Pa /kernel/strmod/[sparcv9|amd64]/usbkbm Ta Keyboard
65*bbf21555SRichard Lowe.It Pa /kernel/strmod/[sparcv9|amd64]/usbms Ta Mouse
66*bbf21555SRichard Lowe.It Pa /kernel/strmod/[sparcv9|amd64]/usb_ah Ta Audio HID
67*bbf21555SRichard Lowe.El
68*bbf21555SRichard Lowe.Bl -column -offset indent ".Em Host Controller Interface Drivers" "Extensible HCI"
69*bbf21555SRichard Lowe.It Em Host Controller Interface Drivers Ta Em Device
70*bbf21555SRichard Lowe.It Ta
71*bbf21555SRichard Lowe.It Pa /kernel/drv/amd64/xhci Ta Extensible HCI
72*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/ehci Ta Enhanced HCI
73*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/ohci Ta Open HCI
74*bbf21555SRichard Lowe.It Pa /kernel/drv/[sparcv9|amd64]/uhci Ta Universal HCI
75*bbf21555SRichard Lowe.El
76*bbf21555SRichard Lowe.Sh DIAGNOSTICS
77*bbf21555SRichard LoweThe messages described below may appear on the system console as well as being
78*bbf21555SRichard Lowelogged.
79*bbf21555SRichard LoweAll  messages are formatted in the following manner:
80*bbf21555SRichard Lowe.Bl -tag -width Sy -offset 2n
81*bbf21555SRichard Lowe.It WARNING: Error message...
82*bbf21555SRichard Lowe.El
83*bbf21555SRichard Lowe.Bl -tag -width Sy -offset 2n
84*bbf21555SRichard Lowe.It Sy no driver found for device <device_name> (interface <number> node
85*bbf21555SRichard Lowename=<node_name>)
86*bbf21555SRichard LoweThe installed software does not contain a supported driver for this
87*bbf21555SRichard Lowehardware.
88*bbf21555SRichard Lowe<number> is the interface number.
89*bbf21555SRichard Lowe<name> is either the device path name or the device name.
90*bbf21555SRichard Lowe.It Sy Draining callbacks timed out!
91*bbf21555SRichard LoweAn internal error occurred.
92*bbf21555SRichard LowePlease reboot your system.
93*bbf21555SRichard LoweIf this problem persists, contact your system vendor.
94*bbf21555SRichard Lowe.El
95*bbf21555SRichard Lowe.Pp
96*bbf21555SRichard LoweThe following messages may be logged into the system log.
97*bbf21555SRichard LoweThey are formatted in the following manner:
98*bbf21555SRichard Lowe.Bd -literal -offset 2n
99*bbf21555SRichard Lowe<device path><usba<instance number>): message...
100*bbf21555SRichard Lowe.Ed
101*bbf21555SRichard Lowe.Bl -tag -width Sy -offset 2n
102*bbf21555SRichard Lowe.It Sy Incorrect USB driver version for <n.m> .
103*bbf21555SRichard LoweDriver is incompatible with USBA framework.
104*bbf21555SRichard Lowe.El
105*bbf21555SRichard Lowe.Sh SEE ALSO
106*bbf21555SRichard Lowe.Xr ehci 4D ,
107*bbf21555SRichard Lowe.Xr hid 4D ,
108*bbf21555SRichard Lowe.Xr hubd 4D ,
109*bbf21555SRichard Lowe.Xr ohci 4D ,
110*bbf21555SRichard Lowe.Xr scsa2usb 4D ,
111*bbf21555SRichard Lowe.Xr ugen 4D ,
112*bbf21555SRichard Lowe.Xr uhci 4D ,
113*bbf21555SRichard Lowe.Xr usb_ac 4D ,
114*bbf21555SRichard Lowe.Xr usb_as 4D ,
115*bbf21555SRichard Lowe.Xr usb_ia 4D ,
116*bbf21555SRichard Lowe.Xr usb_mid 4D ,
117*bbf21555SRichard Lowe.Xr usbprn 4D ,
118*bbf21555SRichard Lowe.Xr usbsacm 4D ,
119*bbf21555SRichard Lowe.Xr usbser_edge 4D ,
120*bbf21555SRichard Lowe.Xr usbsksp 4D ,
121*bbf21555SRichard Lowe.Xr usbsprl 4D ,
122*bbf21555SRichard Lowe.Xr usbvc 4D ,
123*bbf21555SRichard Lowe.Xr virtualkm 4D ,
124*bbf21555SRichard Lowe.Xr xhci 4D ,
125*bbf21555SRichard Lowe.Xr attributes 7 ,
126*bbf21555SRichard Lowe.Xr cfgadm_usb 8 ,
127*bbf21555SRichard Lowe.Xr Intro 9F ,
128*bbf21555SRichard Lowe.Xr Intro 9S
129*bbf21555SRichard Lowe.Pp
130*bbf21555SRichard Lowe.Rs
131*bbf21555SRichard Lowe.%T Writing Device Drivers
132*bbf21555SRichard Lowe.Re
133*bbf21555SRichard Lowe.Rs
134*bbf21555SRichard Lowe.%T Universal Serial Bus Specification 3.0
135*bbf21555SRichard Lowe.Re
136*bbf21555SRichard Lowe.Rs
137*bbf21555SRichard Lowe.%T Interface Association Descriptor Engineering Change Notice (ECN)
138*bbf21555SRichard Lowe.Re
139*bbf21555SRichard Lowe.Rs
140*bbf21555SRichard Lowe.%T System Administration Guide: Basic Administration
141*bbf21555SRichard Lowe.Re
142*bbf21555SRichard Lowe.Sh NOTES
143*bbf21555SRichard LoweBooting from USB mass-storage devices is not supported on SPARC, but is
144*bbf21555SRichard Lowesupported on X86.
145