Subject: Manual pages for usb
To: None <tech-kern@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-kern
Date: 02/05/2004 21:48:36
Not sure if I should post this message to tech-kern or tech-docs.. Well, le=
t=20
it be tech-kern :)

=46rom "man usb" at http://netbsd.gw.com/cgi-bin/man-cgi?usb++NetBSD-current

=2D--cut---
USB EVENT INTERFACE
     All USB events are reported via the /dev/usb device.  This devices can=
 be
     opened for reading and each read(2) will yield an event record (if som=
e-
     thing has happened).  The poll(2) system call can be used to determine=
 if
     an event record is available for reading.
=2D--cut---

When i read this i got confused that i can open for events not only /dev/us=
b=20
device but also /dev/usb0, usb1 and so on i.e. all /dev/usbX. Though as=20
practice shows (at least on NetBSD-1.6.1/i386) only /dev/usb device actuall=
y=20
returns event on read() call and all another /dev/usbX devices just=20
immediatly return ENXIO "Device not configured".

Maybe, it would be better to re-phrase a bit this paragraph like=20
"s/devices/device" in "This devices can be" ?

// wbr