summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umsm.c
AgeCommit message (Collapse)Author
2024-05-23Add support for Quectel EM060K.Kevin Lo
The Quectel EM060K is set by default to MBIM mode. Tested by Shawn Chiou ok jsg@
2024-05-23remove unneeded includes; ok mpi@Jonathan Gray
2023-04-02fill out the list of quectel devices that should be supported.David Gwynne
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@
2023-04-01follow quectel guidance on which usb interfaces umsm should match.David Gwynne
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@
2023-03-31shuffle the code in umsm_match a bit.David Gwynne
if umsm_lookup doesnt return anything, return early and leave the rest of umsm_match to handling specific devices. no functional change.
2022-08-23match on SIMCom SIM5320 (same id used by Option iCON 210)Jonathan Gray
from and tested by jon@elytron.openbsd.amsterdam
2022-04-09constify method tables in USB serial driversChristian Weisgerber
ok miod@
2022-01-09spellingJonathan Gray
feedback and ok tb@ jmc@ ok ratchov@
2021-05-18Add support for Quectel EC25.Kevin Lo
To issue an AT command (AT+QCFG="usbnet",2) to change to MBIM mode. Tested by Shawn Chiou on rpi4; "of course" deraadt@
2020-07-31Nuke all occurrences of usbd_abort_pipe() if it gets called rightMarcus Glocker
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@
2020-02-05Very old firmware umsm devices don't work as umb(4), so I made them workTheo de Raadt
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.
2020-01-11MC7700 works as umsmTheo de Raadt
2020-01-05consistently uppercase usb product definesJonathan Gray
ok mpi@
2018-08-15Partially revert previous, EM7455 is already handled by umb(4).Martin Pieuchot
Reported by Bryan Vyhmeister.
2018-08-13Attach to Sierra Wireless MC7304/MC7354 & EM7455, from Denis Lapshin.Martin Pieuchot
2018-04-11Add support for Huawei k3772.bket
OK jca@, sthen@, deraadt@
2018-03-20Add support for SIMCom SIM7600E.Kevin Lo
ok deraadt@
2018-01-11Add support for Huawei E3372.Kevin Lo
ok phessler@
2017-04-08A pile of sizes to free(9). In test for a few days in snapshots.Theo de Raadt
Errors will result in nice clean panic messages so we know what's wrong. Reviewed by dhill visa natano jsg.
2016-12-12Add support for Option iCON 505 from Piotr Isajew and consistentlyJonathan Gray
name other iCON devices the way Option does.
2016-09-21SierraWireless MC7455.Martin Pieuchot
From Yannick Gravel, ok phessler@
2016-06-01Netgear/Sierra Aircard 340UChris Cappuccio
ok mpi@
2016-05-23Support Airprime/Sierra AirCard 313U, Netgear/Sierra AirCard 770SChris Cappuccio
ok mpi@
2015-09-29Huawei K4511 3G modem.Martin Pieuchot
From phil AT unita.com.au
2015-05-05Huawei MU609 from Cristián Edwards.Martin Pieuchot
ok dcoppa@
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
2015-01-06Support for MEDION S4222 which needs another funky umass quirk. FromMartin Pieuchot
Ingo Feinerer.
2014-07-12Kill the last dumb DVACT_DEACTIVATE handlers.Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
after discussions with beck deraadt kettenis.
2014-05-16Add Alcatel OneTouch L100VDavid Coppa
Diff from Lukasz Ratajski ok sthen@
2014-03-07Do not define per-driver DEBUG variable when USB_DEBUG is defined. It'sMartin Pieuchot
really impossible to debug the USB stack when any single device you plug in your machine starts to vomit its own poetry,
2013-12-13add an entry for "IIJmobile 510FU"Yojiro Uo
2013-11-15Clean-up usbd_abort_pipe() usage.Paul Irofti
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@
2013-11-15Sort-out activate functionality for ucom(4) and it's parents.Paul Irofti
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@.
2013-11-07Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-09-20Unify and document usbd_transfer(9).Martin Pieuchot
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@
2013-08-02add Sierra Wireless MC8355 (Gobi 3000)Mike Belopuhov
2013-04-15Get rid of various 'typedef struct' definitions and use plain structureMarcus Glocker
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@
2013-01-04add Huawei E353Jonathan Gray
from/tested by Zavisa Nikac
2012-12-19add another umsm device that uses the qualcomm vid. namedJonathan Gray
Aeon 921T by the importer, it isn't clear what the real name is.
2012-08-03add HUAWEI E392, tested by Alexei MalininJonathan Gray
2012-07-17Add the Huawei Mobile E303.David Coppa
From Andreas Bartelt, obsd AT bartula DOT de OK sthen@
2012-01-14KNF whitespace; no change with diff -wStuart Henderson
2012-01-14Support Huawei K4510 with DEV_UMASS5; Daniele PilengaStuart Henderson
2011-11-19Add ZTE MF190; ok jsgMike Belopuhov
2011-11-17support Huawei EM770WJonathan Gray
from Baurzhan Muftakhidinov
2011-11-11add support for HUAWEI Mobile E173sGleydson Soares
tested by me ok jsg@ sthen@ jmc@
2011-10-20Add Alcatel One Touch X210/X220 (another rebadged TCT Mobile modem)David Coppa
ok sthen@, jsg@
2011-07-22Add the Huawei E181.David Coppa
From Chris Turner <c.turner(at)199technologies(dot)com> OK sthen@
2011-07-21Add the Huawei E1750 USB modemDavid Coppa
From bsd.user(at)mail(dot)ru ok jsg@, sthen@