Permalink
Browse files

/dev/usbN devices no longer support poll as of 2011 when "USB

events" were ripped out, so remove the sentence about monitoring for
USB device attachment to avoid filling developers with hope only to
crush their spirit when they implement the poll code only to find
out it doesn't do anything at all.
  • Loading branch information...
jcs committed Aug 30, 2018
1 parent c4a5da5 commit a544fd91425c575826734076091eb434c3582ef6
Showing with 2 additions and 7 deletions.
  1. +2 −7 share/man/man4/usb.4
@@ -1,4 +1,4 @@
.\" $OpenBSD: usb.4,v 1.189 2018/08/25 20:31:31 jcs Exp $
.\" $OpenBSD: usb.4,v 1.190 2018/08/30 03:26:08 jcs Exp $
.\" $NetBSD: usb.4,v 1.15 1999/07/29 14:20:32 augustss Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd $Mdocdate: August 25 2018 $
.Dd $Mdocdate: August 30 2018 $
.Dt USB 4
.Os
.Sh NAME
@@ -387,11 +387,6 @@ and defines:
The
.Pa /dev/usbN
device can be opened and a few operations can be performed on it.
The
.Xr poll 2
system call will say that I/O is possible on the controller device
when a USB device has been connected or disconnected to the bus.
.Pp
The following
.Xr ioctl 2
commands are supported on the controller device:

0 comments on commit a544fd9

Please sign in to comment.