#
b86efbae |
| 24-Feb-2021 |
jsg <jsg@openbsd.org> |
remove unused usbdi functions
ok mpi@
|
#
d6d3599d |
| 25-Jan-2021 |
mglocker <mglocker@openbsd.org> |
Add the new function usbd_clear_endpoint_feature() which allows to issue an UR_CLEAR_FEATURE request on a specific endpoint address without the need to have a pipe open to that endpoint.
From NetBSD
Add the new function usbd_clear_endpoint_feature() which allows to issue 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@
show more ...
|
#
f4020085 |
| 08-Dec-2014 |
mpi <mpi@openbsd.org> |
Deprecate usb_*_report(). USB HID devices are always attached below an uhidev(4) on OpenBSD and there is not point in rerolling your own reportID handling. Simply use uhidev_*_report().
This is a
Deprecate usb_*_report(). USB HID devices are always attached below 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.
show more ...
|
#
7af21e63 |
| 07-Nov-2014 |
mpi <mpi@openbsd.org> |
Give Super-Speed hubs a chance to route USB 3.0 transfers.
Without knowing their depth, hubs couldn't find the bits correspdonding to their downstream port in the route-string. Now USB 3.0 devices
Give Super-Speed hubs a chance to route USB 3.0 transfers.
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.
show more ...
|
#
02819723 |
| 08-Aug-2014 |
mpi <mpi@openbsd.org> |
Super Speed hub descriptor definition and routine, required for upcoming external USB 3.0 hub support.
|
#
890c91c7 |
| 09-Jul-2014 |
mpi <mpi@openbsd.org> |
Adds an optional bus function to set the address of a new device and explicitly set it when required.
Right now xhci(4) does not need such function because it assigns addresses when the first pipe o
Adds an optional bus function to set the address of a new device and 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@
show more ...
|
#
1756c2e3 |
| 24-Apr-2014 |
mpi <mpi@openbsd.org> |
Change the usbd_*_report() family of functions to take a usbd_device and a infaceno argument instead of an iface pointer. While here, remove some unused functions and inlined usbd_read_report_desc s
Change the usbd_*_report() family of functions to take a usbd_device 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@
show more ...
|
#
317d87b2 |
| 07-Mar-2014 |
mpi <mpi@openbsd.org> |
Indtroduce usbd_get_hub_descriptor() to start cleaning uhub(4)'s mess. This will help us deal with the different hub device descriptors used by super speed devices.
|
#
9d06db31 |
| 02-Nov-2013 |
mpi <mpi@openbsd.org> |
Remove a layer of abstraction for fetching a configuration descriptor.
|
#
65d64288 |
| 20-Sep-2013 |
mpi <mpi@openbsd.org> |
Unify and document usbd_transfer(9).
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
Unify and document usbd_transfer(9).
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@
show more ...
|
#
ab0b1be7 |
| 15-Apr-2013 |
mglocker <mglocker@openbsd.org> |
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
Tested by mpi@ on macppc and myself on i
Get rid of various 'typedef struct' definitions and use plain structure 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@
show more ...
|
#
6083df3b |
| 10-Apr-2013 |
mpi <mpi@openbsd.org> |
Merge usbd_get_device_desc() into the only function using them.
ok mglocker@
|
#
4efb2346 |
| 10-Apr-2013 |
mpi <mpi@openbsd.org> |
Remove unused function usb_find_desc().
|
#
8cb63a7a |
| 09-Apr-2013 |
mpi <mpi@openbsd.org> |
There's no need for usbd_get_config_desc_full() so just call usbd_get_desc() directly this also makes it easier to understand which function actually generates IO.
ok mglocker@
|
#
d874cce4 |
| 26-Jun-2008 |
ray <ray@openbsd.org> |
First pass at removing clauses 3 and 4 from NetBSD licenses.
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 t
First pass at removing clauses 3 and 4 from NetBSD licenses.
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@
show more ...
|
#
73030186 |
| 12-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and use of the device_ptr_t which was a struct device *.
No binary change.
ok mk.
|
#
ff26d723 |
| 09-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and use of usb_malloc_type which is really int. While here, reindent the function prototypes in usbdi_util.h
No binary change.
ok jsg
|
#
c60274fa |
| 31-Oct-2004 |
dlg <dlg@openbsd.org> |
from netbsd via freebsd via 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 losi
from netbsd via freebsd via 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.
show more ...
|
#
72bac74c |
| 21-Jul-2004 |
dlg <dlg@openbsd.org> |
from freebsd, ugen.c 1.68 usbdi_util.c 1.27 usbdi_util.h 1.15 log message: Implement outgoing interrupt pipes. It is part of the USB 1.1 spec. The Lego Infrared Tower use it.
ok deraadt@
|
#
72a11251 |
| 08-Jul-2003 |
nate <nate@openbsd.org> |
Sync USB code with NetBSD. This includes numerous fixes and paves the way for usb 2.0 support.
|
#
b9553664 |
| 25-Jul-2002 |
nate <nate@openbsd.org> |
get rid of trailing whitespace
|
#
27af6c70 |
| 07-May-2002 |
nate <nate@openbsd.org> |
Meant to commit only ulpt and committed everything. Most things weren't ready
|
#
5cd29220 |
| 07-May-2002 |
nate <nate@openbsd.org> |
Sync ulpt driver with NetBSD
|
#
0897b806 |
| 31-Oct-2001 |
nate <nate@openbsd.org> |
Synchronize usb code with NetBSD.
|
#
591e0ca7 |
| 08-Nov-2000 |
aaron <aaron@openbsd.org> |
Sync with NetBSD. Too many changes to mention. For now I have skipped umass.c and ukbd.c as the diffs are a bit hairier.
|