Age | Commit message (Collapse) | Author |
|
The Quectel EM060K is set by default to MBIM mode.
Tested by Shawn Chiou
ok jsg@
|
|
|
|
the list comes from the Quectel LTE&5G Linux USB Driver User Guide V2.0
and claims that all these devices function the same as each other.
ok miod@
|
|
the Quectel LTE&5G Linux USB Driver User Guide V2.0 says umsm should
only attach to usb interfaces 0 to 3 using the interface class
UICLASS_VENDOR. their doco uses magic numbers, but this is what
they mean.
interfaces 4 and above provide network (not serial) via qmi, ecm,
or mbim. preventing umsm from attaching to the high interfaces
allows the appropriate network driver to use it instead. eg, umb
is now able to attach to the network interface because it presents
a standard mbim class.
discussed with and tested by kevlo@
ok patric@ sthen@ kevlo@
|
|
if umsm_lookup doesnt return anything, return early and leave the
rest of umsm_match to handling specific devices.
no functional change.
|
|
from and tested by jon@elytron.openbsd.amsterdam
|
|
ok miod@
|
|
feedback and ok tb@ jmc@ ok ratchov@
|
|
To issue an AT command (AT+QCFG="usbnet",2) to change to MBIM mode.
Tested by Shawn Chiou on rpi4; "of course" deraadt@
|
|
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@
|
|
as umsm(4). But the discrimination in the driver match functions is
obviously weak in some way, so skip this for now. We need to figure out
how to identify the retrogrades better.
|
|
|
|
ok mpi@
|
|
Reported by Bryan Vyhmeister.
|
|
|
|
OK jca@, sthen@, deraadt@
|
|
ok deraadt@
|
|
ok phessler@
|
|
Errors will result in nice clean panic messages so we know what's wrong.
Reviewed by dhill visa natano jsg.
|
|
name other iCON devices the way Option does.
|
|
From Yannick Gravel, ok phessler@
|
|
ok mpi@
|
|
ok mpi@
|
|
From phil AT unita.com.au
|
|
ok dcoppa@
|
|
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
Ingo Feinerer.
|
|
|
|
after discussions with beck deraadt kettenis.
|
|
Diff from Lukasz Ratajski
ok sthen@
|
|
really impossible to debug the USB stack when any single device you plug
in your machine starts to vomit its own poetry,
|
|
|
|
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@
|
|
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@.
|
|
Okay mpi@
|
|
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@
|
|
from/tested by Zavisa Nikac
|
|
Aeon 921T by the importer, it isn't clear what the real name is.
|
|
|
|
From Andreas Bartelt, obsd AT bartula DOT de
OK sthen@
|
|
|
|
|
|
|
|
from Baurzhan Muftakhidinov
|
|
tested by me
ok jsg@ sthen@ jmc@
|
|
ok sthen@, jsg@
|
|
From Chris Turner <c.turner(at)199technologies(dot)com>
OK sthen@
|
|
From bsd.user(at)mail(dot)ru
ok jsg@, sthen@
|