| #
b711ef9c |
| 05-May-2026 |
Baptiste Daroussin <bapt@FreeBSD.org> |
uvideo: import uvideo(4) driver from OpenBSD
Port the uvideo(4) driver from OpenBSD. This provides native USB Video Class (UVC) support for webcams and video capture devices.
The main changes are a
uvideo: import uvideo(4) driver from OpenBSD
Port the uvideo(4) driver from OpenBSD. This provides native USB Video Class (UVC) support for webcams and video capture devices.
The main changes are adaptation for: - USB transfer callback model - isoc data extraction via usbd_copy_out(), - V4L2 struct alignment for ABI compatibility with v4l_compat.
Note that this implementation can coexist with webcamd.
Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D56960
show more ...
|
| #
d566b6a7 |
| 08-Jul-2025 |
Tom Jones <thj@FreeBSD.org> |
udbc: Add usb debug host mode driver
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 configur
udbc: Add usb debug host mode driver
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
show more ...
|
| #
c14b0162 |
| 03-Feb-2025 |
Jesper Schmitz Mouridsen <jsm@FreeBSD.org> |
mt7601U: Importing if_mtw from OpenBSD
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.free
mt7601U: Importing if_mtw from OpenBSD
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
show more ...
|
| #
0f1bf1c2 |
| 21-Jan-2025 |
Adrian Chadd <adrian@FreeBSD.org> |
umb: Introduce the USB umb(4) network driver
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 t
umb: Introduce the USB umb(4) network driver
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 <khorben@defora.org>
show more ...
|
| #
54e231b3 |
| 20-Apr-2024 |
Denis Bodor <lefinnois@lefinnois.net> |
Add support for i2c-tiny-usb: usb to iic bridge
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1123
|
| #
ac83063d |
| 10-Apr-2024 |
Lexi Winter <lexi@le-Fay.ORG> |
bcm2838_xhci: add module
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
bcm2838_xhci: add module
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
show more ...
|
| #
031beb4e |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
44796b7e |
| 04-Jan-2022 |
Warner Losh <imp@FreeBSD.org> |
mips: remove saf1761
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
|
| #
01f2e864 |
| 08-Oct-2020 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
hid: Import usbhid - USB transport backend for HID subsystem.
This change implements hid_if.m methods for HID-over-USB protocol [1].
Also, this change adds USBHID_ENABLED kernel option which change
hid: Import usbhid - USB transport backend for HID subsystem.
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
show more ...
|
| #
209d3fb4 |
| 20-Aug-2020 |
Warner Losh <imp@FreeBSD.org> |
Remove the long obsolete ufm driver.
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 retir
Remove the long obsolete ufm driver.
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
show more ...
|
| #
c178a7e7 |
| 06-Aug-2020 |
Andriy Gapon <avg@FreeBSD.org> |
cp2112: driver for the namesake GPIO and I2C master gadget
Documentation: - CP2112 Datasheet https://www.silabs.com/documents/public/data-sheets/cp2112-datasheet.pdf - AN495: CP2112 Interface Spec
cp2112: driver for the namesake GPIO and I2C master gadget
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
show more ...
|
| #
63722e52 |
| 07-Aug-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add cdceem(4) driver, for virtual ethernet devices compliant with Communication Device Class Ethernet Emulation Model (CDC EEM). The driver supports both the device, and host side operation; there is
Add cdceem(4) driver, for virtual ethernet devices compliant with Communication Device Class Ethernet Emulation Model (CDC EEM). The driver supports both the device, and host side operation; there is a new USB template (#11) for the former.
This enables communication with virtual USB NIC provided by iLO 5, as found in new HPE Proliant servers.
Reviewed by: hselasky MFC after: 2 weeks Relnotes: yes Sponsored by: Hewlett Packard Enterprise
show more ...
|
| #
7fe671dc |
| 08-Jul-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Put USB ACPI code into own module, uacpi.ko. The code needs more testing before being enabled by default.
Sponsored by: Mellanox Technologies
|
| #
58d5c511 |
| 27-Jul-2018 |
Warner Losh <imp@FreeBSD.org> |
Remove Atmel AT91RM9200 and AT91SAM9 support.
The last known robust version of this code base was FreeBSD 8.2. There are no users of this on current, and all users of it have abandoned this platform
Remove Atmel AT91RM9200 and AT91SAM9 support.
The last known robust version of this code base was FreeBSD 8.2. There are no users of this on current, and all users of it have abandoned this platform or are in legacy mode with a prior version of FreeBSD.
All known users on arm@ approved this removal, and there were no objections.
Differential Revision: https://reviews.freebsd.org/D16312
show more ...
|
| #
c0134460 |
| 25-May-2018 |
Ed Maste <emaste@FreeBSD.org> |
if_muge: connect module to the build
Supported Microchip devices: - LAN7515 USB 2 hub and gigabit Ethernet controller w/ PHY - LAN7800 USB 3.0 gigabit Ethernet controller w/ PHY
The LAN7515 is the
if_muge: connect module to the build
Supported Microchip devices: - LAN7515 USB 2 hub and gigabit Ethernet controller w/ PHY - LAN7800 USB 3.0 gigabit Ethernet controller w/ PHY
The LAN7515 is the Ethernet controller on the Raspberry Pi 3 B+.
This driver has some TODO items outstanding, but basic functionality works.
Sponsored by: The FreeBSD Foundation
show more ...
|
| #
e757cb8e |
| 15-May-2018 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add new USB HID driver for Super Nintendo gamepads.
Differential Revision: https://reviews.freebsd.org/D15385 Submitted by: johalun@gmail.com (Johannes Lundberg) Sponsored by: Mellanox Technologies
|
| #
76136d20 |
| 19-Aug-2017 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
Add support for generic MS Windows 7/8/10-compatible USB HID touchscreens found in many laptops.
Reviewed by: hps, gonzo, bcr (manpages) Approved by: gonzo (mentor) Differential Revision: https://
Add support for generic MS Windows 7/8/10-compatible USB HID touchscreens found in many laptops.
Reviewed by: hps, gonzo, bcr (manpages) Approved by: gonzo (mentor) Differential Revision: https://reviews.freebsd.org/D12017
show more ...
|
| #
193d9e76 |
| 04-Mar-2017 |
Enji Cooper <ngie@FreeBSD.org> |
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
|
| #
cc5bbcb2 |
| 19-Feb-2017 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add USB Mass Storage CTL frontend. This makes it possible for USB OTG-capable hardware to implement device side of USB Mass Storage, ie pretend it's a flash drive. It's configured in the same way a
Add USB Mass Storage CTL frontend. This makes it possible for USB OTG-capable hardware to implement device side of USB Mass Storage, ie pretend it's a flash drive. It's configured in the same way as other CTL frontends, using ctladm(8) or ctld(8). Differently from usfs(4), all the configuration can be done without rebuilding the kernel.
Testing and review is welcome. Right now I'm still moving, and I don't have access to my test environment, so I'm somewhat reluctant to making larger changes to this code; on the other hand I don't want to let it sit on Phab until my testing setup is back, because I want to get it into 11.1-RELEASE.
Reviewed by: emaste (cursory), wblock (man page) MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8787
show more ...
|
| #
7b523f05 |
| 26-Jan-2017 |
Ed Maste <emaste@FreeBSD.org> |
mips: exclude modules that fail to build
|
| #
0c91dc1d |
| 20-Mar-2016 |
Adrian Chadd <adrian@FreeBSD.org> |
[urtwn] migrate urtwn out into sys/dev/urtwn/ .
There's some upcoming work to add new chipset support here and I'd like to only add 802.11n support to one driver, instead of both urtwn and rtwn.
Th
[urtwn] migrate urtwn out into sys/dev/urtwn/ .
There's some upcoming work to add new chipset support here and I'd like to only add 802.11n support to one driver, instead of both urtwn and rtwn.
There's also missing support for things like 802.11n, some powersave work, bluetooth integration/coexistence, etc, and also newer parts (like 8192EU, maybe some 11ac parts, not sure yet.)
So, this is hopefully the first step in a longer set of steps to unify rtwn/urtwn and extend it with more interesting chipset and functionality support.
Reviewed by: kevlo
show more ...
|
| #
7873b2ab |
| 22-Feb-2016 |
Andriy Voskoboinyk <avos@FreeBSD.org> |
urtwn: add an option to compile the driver without firmware specific code
- Add URTWN_WITHOUT_UCODE option (will disable any firmware specific code when set). - Do not exclude the driver from build
urtwn: add an option to compile the driver without firmware specific code
- Add URTWN_WITHOUT_UCODE option (will disable any firmware specific code when set). - Do not exclude the driver from build when MK_SOURCELESS_UCODE is set (URTWN_WITHOUT_UCODE will be enforced unconditionally). - Do not abort initialization when firmware cannot be loaded; behave like the URTWN_WITHOUT_UCODE option was set. - Drop some unused variables from urtwn_softc structure.
Tested with RTL8188EU and RTL8188CUS in HOSTAP and STA modes.
Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4849
show more ...
|
| #
e1b74f21 |
| 01-Dec-2015 |
Kevin Lo <kevlo@FreeBSD.org> |
Add initial support for RTL8152 USB Fast Ethernet. RTL8152 supports IPv4/IPv6 checksum offloading and VLAN tag insertion/stripping.
Since uether doesn't provide a way to announce driver specific of
Add initial support for RTL8152 USB Fast Ethernet. RTL8152 supports IPv4/IPv6 checksum offloading and VLAN tag insertion/stripping.
Since uether doesn't provide a way to announce driver specific offload capabilities to upper stack, checksum offloading support needs more work and will be done in the future.
Special thanks to Hayes Wang from RealTek who gave input.
show more ...
|
| #
64bd4262 |
| 10-Nov-2015 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Build all of sys/modules with SUBDIR_PARALLEL.
Sponsored by: EMC / Isilon Storage Division MFC after: 3 weeks
|
| #
2d45d793 |
| 19-Jun-2015 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add USB gold driver to default kernel build.
|