| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok mpi@
|
|
|
|
|
|
|
| |
an UR_CLEAR_FEATURE request on a specific endpoint address without the
need to have a pipe open to that endpoint.
From NetBSD, ok mpi@
|
|
|
|
|
|
|
|
|
|
| |
an uhidev(4) on OpenBSD and there is not point in rerolling your own
reportID handling. Simply use uhidev_*_report().
This is a first step towards better error handling required to deal
with broken upd(4) firmwares.
Tested by David Higgs.
|
|
|
|
|
|
|
|
|
| |
Without knowing their depth, hubs couldn't find the bits correspdonding
to their downstream port in the route-string. Now USB 3.0 devices just
work(tm) anywhere in your hub chain.
This commit would not have been possible without the cheese provided by
miod@ at #HAMoween.
|
|
|
|
| |
external USB 3.0 hub support.
|
|
|
|
|
|
|
|
|
| |
explicitly set it when required.
Right now xhci(4) does not need such function because it assigns
addresses when the first pipe of a device is opened.
ok yuo@, pirofti@
|
|
|
|
|
|
|
|
|
|
|
| |
and a infaceno argument instead of an iface pointer. While here,
remove some unused functions and inlined usbd_read_report_desc since
it is used only once.
This is part of plumbing required to convert the various USB HID devices
to handle multiples report IDs.
ok andre@
|
|
|
|
|
| |
This will help us deal with the different hub device descriptors used
by super speed devices.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of the badly named usbd_bulk_transfer() and usbd_intr_transfer()
they were two identical wrappers to submit a synchronous transfer.
Now all synchronous transfers are submited using usbd_setup_xfer(9) and
usbd_transfer(9) explicitly using the USBD_CATCH flag when signals must
be checked.
Previous version ok'd by mglocker@, with subtle inputs from miod@
|
|
|
|
|
|
|
|
|
| |
definitions instead. We don't change usb.h for now to stay compatible
with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
|
|
|
|
| |
ok mglocker@
|
| |
|
|
|
|
|
|
|
| |
directly this also makes it easier to understand which function actually
generates IO.
ok mglocker@
|
|
|
|
|
|
|
|
|
| |
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
|
|
| |
No binary change.
ok mk.
|
|
|
|
|
|
|
|
| |
While here, reindent the function prototypes in usbdi_util.h
No binary change.
ok jsg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
usbdi_util.h (1.29), uhid.c (1.62), ugen.c (1.68), usb_subr.c (1.114)
Yes, some devices return incorrect lengths in their string
descriptors. Rather than losing, do what Windows does: just
request the maximum size, and allow a shorter response. Obsoletes
the need for UQ_NO_STRINGS, and therefore these "quirks" are removed.
usb_subr.c (1.116)
In the "seemed like a good idea until I found the fatal flaw"
department... Attempting to read a maximum-size string descriptor
causes my kue device to go completely apeshit. So, go back to the
original method, but allow the device to return a shorter string than
it claimed.
|
|
|
|
|
|
|
|
| |
log message:
Implement outgoing interrupt pipes. It is part of the USB 1.1 spec.
The Lego Infrared Tower use it.
ok deraadt@
|
|
|
|
| |
This includes numerous fixes and paves the way for usb 2.0 support.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
umass.c and ukbd.c as the diffs are a bit hairier.
|
| |
|
|
|
|
|
|
| |
form of a diff to augustss@netbsd.org so that future syncs will be very easy.
This commit also adds support for ADMtek AN986 "Pegasus" based USB Ethernet,
CATC USB-EL1210A based USB Ethernet, and USB Printers (all untested).
|
| |
|
| |
|
|
|
|
|
|
|
| |
Make sure not to call tsleep() from suspend/resume routine.
Move more of the transfer completion processing to HC independent code.
Fix some problems with transfer abort & timeout.
Merge the soft_{td,qh} with the real {td,qh}. This saves time and space.
|
|
|