History log of /openbsd-src/sys/dev/usb/usb.h (Results 1 – 25 of 63)
Revision Date Author Comments
# 81508fe3 23-May-2024 jsg <jsg@openbsd.org>

remove unneeded includes; ok mpi@


# f2476161 27-Jan-2021 mglocker <mglocker@openbsd.org>

The usb configuration descriptor parameter providing the number of
available device interfaces is called 'bNumInterfaces'.

ok phessler@, thfr@ (who provided the man page diff)


# 75dfde27 19-Jul-2018 mpi <mpi@openbsd.org>

Reuse implicit padding to export the port number of a USB device in
USB_DEVICEINFO.

devel/libusb1 requires this piece of information.

ok jcs@, mikeb@, jasper@, sthen@


# 43a4f6ac 10-Jul-2018 mpi <mpi@openbsd.org>

Change USB_DEVICEINFO to report USB port status/changes as currently
seen by the stack.

This will allows us to debug port status changes without relying on
external tools, like lsusb(1), that genera

Change USB_DEVICEINFO to report USB port status/changes as currently
seen by the stack.

This will allows us to debug port status changes without relying on
external tools, like lsusb(1), that generate I/O.

While here correct USB3 LS port defines.

show more ...


# 19c319a6 01-Sep-2017 stsp <stsp@openbsd.org>

Add macros for reading the bmAttributes field of the USB super speed
endpoint companion descriptor.
ok mpi@


# 5db02c5c 29-Mar-2017 jsg <jsg@openbsd.org>

Match on class communications subclass abstract control model protocol
0 "No class specific protocol required" in addition to the existing
protocol 1 "AT Commands: V.250 etc" match.

This lets umodem

Match on class communications subclass abstract control model protocol
0 "No class specific protocol required" in addition to the existing
protocol 1 "AT Commands: V.250 etc" match.

This lets umodem(4) attach to the serial console on the overdrive 1000
which is a usb type-b socket on the back of the box not a db9 like the
overdrive 3000.

show more ...


# 31ea3e0b 19-Jun-2016 kettenis <kettenis@openbsd.org>

Add define for NCM.

ok gerhard@


# 27131187 15-Jun-2016 gerhard <gerhard@openbsd.org>

Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)

The umb(4) driver provides support for USB MBIM devices.
Those devices establish connections via celluar networks such as
GPRS,

Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)

The umb(4) driver provides support for USB MBIM devices.
Those devices establish connections via celluar networks such as
GPRS, UMTS, and LTE.

ok mpi@ sthen@
additional feedback from deraadt@ jmc@ stsp@ kettenis@

show more ...


# a1b4eae8 24-May-2016 mpi <mpi@openbsd.org>

Kill unused ioctl(2)s.

ok deraadt@


# 5e15759a 28-Feb-2016 stefan <stefan@openbsd.org>

Remove USB_SET_IMMED ioctl and corresponding code and manpage bits.
Nothing uses it.

suggested by and ok mpi@


# 0904dcd1 09-Jul-2015 mpi <mpi@openbsd.org>

Name unamed structures, from Ludovic Coues with some tweaks.


# e42343b0 29-Jun-2015 mpi <mpi@openbsd.org>

Add missing definition of "usb_interface_assoc_descriptor" needed to for
a tool parsing device descriptors.

Use the same name as DragonFly/FreeBSD since they export it to userland.

From Ludovic Cou

Add missing definition of "usb_interface_assoc_descriptor" needed to for
a tool parsing device descriptors.

Use the same name as DragonFly/FreeBSD since they export it to userland.

From Ludovic Coues.

show more ...


# fb72199c 22-Jun-2015 mpi <mpi@openbsd.org>

Make xhci(4)'s root hub report the same status bits as physical USB3 hubs.

There's not bit to indicate the speed of a USB3.0 device attached to a hub
port so do not abuse the PORT_TEST bit. Instead

Make xhci(4)'s root hub report the same status bits as physical USB3 hubs.

There's not bit to indicate the speed of a USB3.0 device attached to a hub
port so do not abuse the PORT_TEST bit. Instead make the xhci(4) root hub
report the PORT_POWER_SS bit when appropriate and use it to determin the
speed of a new device.

While here make the root hub report the link state and config error, from
FreeBSD.

show more ...


# fa0c22b5 14-Feb-2015 uebayasi <uebayasi@openbsd.org>

Define UPS_PORT_TEST as FreeBSD/NetBSD do.


# 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 ...


# 5ee86c47 01-Nov-2014 mpi <mpi@openbsd.org>

Super-Speed port feature definitions.


# 02819723 08-Aug-2014 mpi <mpi@openbsd.org>

Super Speed hub descriptor definition and routine, required for upcoming
external USB 3.0 hub support.


# 6176540a 08-Mar-2014 mpi <mpi@openbsd.org>

Add various super speed defines, mostly the same as in FreeBSD to
keep similar userland exported API definitions.


# e41fbc90 20-Jan-2014 jcs <jcs@openbsd.org>

define UIPROTO_BOOT_MOUSE

ok mpi@


# 9831f9b4 17-Apr-2013 mglocker <mglocker@openbsd.org>

Add new ioctl command USB_DEVICE_GET_DDESC to usb(4) to retrieve the
device descriptor.

Help and ok mpi@


# 73bc470a 08-Apr-2013 mglocker <mglocker@openbsd.org>

Add new ioctl's USB_DEVICE_GET_CDESC and USB_DEVICE_GET_FDESC to usb(4).
Those are the equivalents for ugen(4)'s USB_GET_CONFIG_DESC and
USB_GET_FULL_DESC.

Help and OK mpi@, jmc@


# ccad5086 16-Mar-2013 mpi <mpi@openbsd.org>

Remove the 4.8 version of the USB device info ioctl.

ok deraadt@


# 003f6321 20-Jun-2012 fgsch <fgsch@openbsd.org>

- urndis_match() should support multiple interface descriptors.
- in urndis_attach() use the first interface descriptor that's different
from the control interface as the data interface.

from arma

- urndis_match() should support multiple interface descriptors.
- in urndis_attach() use the first interface descriptor that's different
from the control interface as the data interface.

from armani's colleague with some tweaks by me.
kettenis@ sthen@ ok

show more ...


# 7db3e0ca 10-Jun-2012 mpi <mpi@openbsd.org>

Remove leftovers from the "usb event" removal.

ok jsg@, fgsch@


# e17ac207 08-Jan-2012 miod <miod@openbsd.org>

Remove usb_event_cookie_t type and instances of it found in various structs;
leftover from the "usb event" stuff removal. Diff from Tobias Ulmer.


123