<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/usb/Makefile, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-09-15T14:44:05Z</updated>
<entry>
<title>udbc: Add usb debug host mode driver</title>
<updated>2025-09-15T14:44:05Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2025-07-08T08:04:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d566b6a70bcbc329e8c690464043401fa8bdd49f'/>
<id>urn:sha1:d566b6a70bcbc329e8c690464043401fa8bdd49f</id>
<content type='text'>
xhci offers a debugging interface which uses a special usb 3 cable with the D+,
D- and VBUS pairs disconnected. This interface allows a target device to
configure its xhci controller as a debugging channel which can then be used to
provide a serial link between the target and a debug host.

This change extracts the udbc host mode driver from hrs@'s xhci debug
implementation.

Reviewed by:	bcr (man page)
MFC after:	Before 15-ALPHA3 builds
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D51299
</content>
</entry>
<entry>
<title>mt7601U: Importing if_mtw from OpenBSD</title>
<updated>2025-02-03T19:20:52Z</updated>
<author>
<name>Jesper Schmitz Mouridsen</name>
<email>jsm@FreeBSD.org</email>
</author>
<published>2025-02-03T19:20:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c14b016242613da79516e83fc6faef35d827cc18'/>
<id>urn:sha1:c14b016242613da79516e83fc6faef35d827cc18</id>
<content type='text'>
Added ht20 mode, based on if_run from FreeBSD, and if_mtw.c
from OpenBSD.

PR: 247545
Approved by:	adrian, wireless
Differential Revision: https://reviews.freebsd.org/D45179
</content>
</entry>
<entry>
<title>umb: Introduce the USB umb(4) network driver</title>
<updated>2025-01-20T23:46:15Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2025-01-20T23:46:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0f1bf1c22a0c97e84a4db19197a75952487aa20b'/>
<id>urn:sha1:0f1bf1c22a0c97e84a4db19197a75952487aa20b</id>
<content type='text'>
This includes the port of a driver originally from OpenBSD, later
ported to NetBSD by the author:

* The umb(4) kernel driver
* The umbctl(8) companion tool

This driver supports USB network devices implementing the
Mobile Broadband Interface Model (MBIM), often found in modern
(internal) USB models for 4G/LTE mobile broadband access.

It is currently limited to IPv4.

umbctl has to be used to display or set MBIM cellular modem
interface parameters (4G/LTE).

Differential Revision:  https://reviews.freebsd.org/D48167
Approved by:    adrian, zlei
Sponsored by:   FreeBSD Foundation
PR:             kern/263783
Submitted by:   Pierre Pronchery &lt;khorben@defora.org&gt;
</content>
</entry>
<entry>
<title>Add support for i2c-tiny-usb: usb to iic bridge</title>
<updated>2024-04-19T22:40:23Z</updated>
<author>
<name>Denis Bodor</name>
<email>lefinnois@lefinnois.net</email>
</author>
<published>2024-04-19T22:38:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54e231b373ef617c348706c6c64a2e049ea738ec'/>
<id>urn:sha1:54e231b373ef617c348706c6c64a2e049ea738ec</id>
<content type='text'>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1123
</content>
</entry>
<entry>
<title>bcm2838_xhci: add module</title>
<updated>2024-04-10T03:11:39Z</updated>
<author>
<name>Lexi Winter</name>
<email>lexi@le-Fay.ORG</email>
</author>
<published>2024-04-10T03:11:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ac83063d37e5e92ad048cc4ed958654c02103f74'/>
<id>urn:sha1:ac83063d37e5e92ad048cc4ed958654c02103f74</id>
<content type='text'>
bcm2838_xhci(4) is a shim for the XHCI controller on the Raspberry Pi 4B
SoC.  It loads the controller's firmware before passing control to the
normal xhci(4) driver.

When xhci(4) is built as a module (and not in the kernel), bcm2838_xhci
is not built at all and the RPi4's XHCI controller won't attach due to
missing firmware.

To fix this, build a new module, bcm2838_xhci.ko, which depends on
xhci.ko.  For the dependency to work correctly, also modify xhci to
provide the 'xhci' module in addition to the 'xhci_pci' module it
already provided.

Since bcm2838_xhci is specific to a quirk of the RPi4 SoC, only build
the module for AArch64.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1142
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:54:58Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=031beb4e239bfce798af17f5fe8dba8bcaf13d99'/>
<id>urn:sha1:031beb4e239bfce798af17f5fe8dba8bcaf13d99</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>mips: remove saf1761</title>
<updated>2022-01-04T23:01:14Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2022-01-04T22:24:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=44796b7e822e18b0f4bafac3ca85864b232cccc4'/>
<id>urn:sha1:44796b7e822e18b0f4bafac3ca85864b232cccc4</id>
<content type='text'>
The saf1761 OTG support was only for mips targets (BERI?). Retire it.

Sponsored by:		Netflix
Reviewed by:		brooks
Differential Revision:	https://reviews.freebsd.org/D33706
</content>
</entry>
<entry>
<title>hid: Import usbhid - USB transport backend for HID subsystem.</title>
<updated>2021-01-07T23:18:43Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-10-08T21:32:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01f2e864f79584c0cd250a8e7cfb501a9985768a'/>
<id>urn:sha1:01f2e864f79584c0cd250a8e7cfb501a9985768a</id>
<content type='text'>
This change implements hid_if.m methods for HID-over-USB protocol [1].

Also, this change adds USBHID_ENABLED kernel option which changes
device_probe() priority and adds/removes PnP records to prefer usbhid
over ums, ukbd, wmt and other USB HID device drivers and vice-versa.

The module is based on uhid(4) driver.  It is disabled by default for
now due to conflicts with existing USB HID drivers.

[1] https://www.usb.org/sites/default/files/hid1_11.pdf

Reviewed by:	hselasky
Differential revision:	https://reviews.freebsd.org/D27893
</content>
</entry>
<entry>
<title>Remove the long obsolete ufm driver.</title>
<updated>2020-08-20T17:35:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2020-08-20T17:35:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=209d3fb41fe5a22a23eda209a3e65fed946c8b74'/>
<id>urn:sha1:209d3fb41fe5a22a23eda209a3e65fed946c8b74</id>
<content type='text'>
It was a driver for a USB FM tuner that was available in the market in 2002. I
wrote the driver in 2003. I've not used it since 2005 or so, so it's time to
retire this driver. No userland code ever interfaced to the special device it
created. There's no user base: the last bug I received on this driver was in
2004.

Relnotes: Yes
</content>
</entry>
<entry>
<title>cp2112: driver for the namesake GPIO and I2C master gadget</title>
<updated>2020-08-06T13:41:42Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2020-08-06T13:41:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c178a7e73ccb042a30b8a3634e5d92e2ae83c41e'/>
<id>urn:sha1:c178a7e73ccb042a30b8a3634e5d92e2ae83c41e</id>
<content type='text'>
Documentation:
- CP2112 Datasheet
  https://www.silabs.com/documents/public/data-sheets/cp2112-datasheet.pdf
- AN495: CP2112 Interface Specification
  https://www.silabs.com/documents/public/application-notes/an495-cp2112-interface-specification.pdf
- CP2112 Errata
  https://www.silabs.com/documents/public/errata/cp2112-errata.pdf

The logic is implemented as three sub-drivers.
The parent driver claims the USB device and creates two child devices.
One acts as a GPIO controller and the other is an I2C controller.

Tested with CP2112 revision F02.
Both features seem to work.
HTU21 sensor was used as an I2C slave.

Reviewed by:	adrian, hselasky
MFC after:	2 weeks
Relnotes:	maybe
Differential Revision: https://reviews.freebsd.org/D25359
</content>
</entry>
</feed>
