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

remove unneeded includes; ok mpi@


# 1525749f 02-Jul-2022 visa <visa@openbsd.org>

Remove unused device poll functions.

Also remove unneeded includes of <sys/poll.h> and <sys/select.h>.

Some addenda from jsg@.

OK miod@ mpi@


# c520a48c 09-Apr-2022 naddy <naddy@openbsd.org>

constify method tables in USB serial drivers

ok miod@


# 9a0bfaf3 29-Jan-2021 sthen <sthen@openbsd.org>

update remaining usb.org URLs


# f88cb03e 31-Jul-2020 mglocker <mglocker@openbsd.org>

Nuke all occurrences of usbd_abort_pipe() if it gets called right
before usbd_close_pipe(), since usbd_close_pipe() already takes care
about aborting non-empty pipes.

As investigated by gerhard@ usb

Nuke all occurrences of usbd_abort_pipe() if it gets called right
before usbd_close_pipe(), since usbd_close_pipe() already takes care
about aborting non-empty pipes.

As investigated by gerhard@ usbdi.c rev. 1.57 did add usbd_abort_pipe()
to usbd_close_pipe(), but the drivers didn't get cleaned up afterwards.

ok gerhard@

show more ...


# f74c7769 22-Feb-2020 jasper <jasper@openbsd.org>

use the UE_GET_XFERTYPE macro where applicable

ok mpi@


# bc291418 29-Aug-2018 kettenis <kettenis@openbsd.org>

Remove unused struct member.

ok deraadt@, mlarkin@


# 98edb555 30-Dec-2017 guenther <guenther@openbsd.org>

Delete unnecessary <sys/file.h> includes

ok millert@ krw@


# 66a158cc 29-Mar-2017 jsg <jsg@openbsd.org>

Remove quirks for two devices that are known to be CDC ACM protocol 0
that are now covered by the generic class matching.


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


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

Kill unused ioctl(2)s.

ok deraadt@


# 21dab745 14-Mar-2015 jsg <jsg@openbsd.org>

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


# 3aa5330c 16-Feb-2015 sthen <sthen@openbsd.org>

allow Arduino Leonardo to attach to umodem(4), from Gregor Best


# cf8c8cda 12-Jul-2014 mpi <mpi@openbsd.org>

tedu another bunch of DVACT_DEACTIVATE handlers that do nothing but set
the 'dying' flag.


# 8ea2435f 01-May-2014 sasano <sasano@openbsd.org>

fixed some debug messages
ok by dcoppa@


# 644edb56 30-Jan-2014 mpi <mpi@openbsd.org>

Do not match control interfaces if their associated data interface is
missing or already claimed.

This fixes a problem with the Ericsson F3507g embedded in the x200s
that has a broken configuration

Do not match control interfaces if their associated data interface is
missing or already claimed.

This fixes a problem with the Ericsson F3507g embedded in the x200s
that has a broken configuration descriptor reporting too few
interfaces.

Problem reported and fix tested by Harald Hellmuth and florian@

show more ...


# 13d9bcfb 14-Dec-2013 yuo <yuo@openbsd.org>

remove a duplicated includ file.


# 1e087f7c 15-Nov-2013 pirofti <pirofti@openbsd.org>

Clean-up usbd_abort_pipe() usage.


This function never fails. So change it's return type to void and
adjust the copy-pasted callers that were checking the return.

"If it compiles, ok" mpi@


# 77abe8f5 15-Nov-2013 pirofti <pirofti@openbsd.org>

Sort-out activate functionality for ucom(4) and it's parents.


The child should not have to call the parent for deactivation.
The parent should handle it.
So kill the activate routine in ucom(4) and

Sort-out activate functionality for ucom(4) and it's parents.


The child should not have to call the parent for deactivation.
The parent should handle it.
So kill the activate routine in ucom(4) and adapt the parents
to no longer call it.


Also remove sc_dying in ucom(4) and use usbd_is_dying() instead.

Okay mpi@.

show more ...


# 9f2e1236 07-Nov-2013 pirofti <pirofti@openbsd.org>

Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().

Okay mpi@


# 5cd22038 05-Jul-2013 mpi <mpi@openbsd.org>

Correctly abort and free the pipe when detaching the device. Found the
hard way by otto@


# ebfe1335 26-Apr-2013 mglocker <mglocker@openbsd.org>

Rename three functions in usbdi.c to their right prefix (usb_* to usbd_*).

ok mpi@


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


# b047b92c 28-Mar-2013 tedu <tedu@openbsd.org>

proc.h is way too much header for usb to handle.


# 673b2bfb 28-Mar-2013 tedu <tedu@openbsd.org>

you probably don't need to include vnode.h or reboot.h. you most definitely
absolutely do not need to include vnode.h because it includes uvm_extern.h
and you want the idiotic TRUE FALSE defines from

you probably don't need to include vnode.h or reboot.h. you most definitely
absolutely do not need to include vnode.h because it includes uvm_extern.h
and you want the idiotic TRUE FALSE defines from uvm.

show more ...


123