UDBP(4)
π UDBP(4) β USB Double Bulk Pipe driver, from the Kernel Interfaces Manual π
okay bestie, this is the UDBP(4) manual page β yes, the manual name is folded in up here like a lil bookmark, and weβre about to get into it. No cap, every detail stays. π«Ά
πΈ NAME πΈ
udbp β USB Double Bulk Pipe driver
short, iconic, and exactly what it says on the tin π
β¨ SYNOPSIS β¨
okay so to compile this driver into the kernel, place the following line in your kernel configuration file:
device udbp
alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
udbp_load="YES"
π¦ DESCRIPTION π¦
The udbp driver provides support for host-to-host cables that contain at least two bulk pipes (one for each direction). This typically includes cables branded for use with Windows USB Easy Transfer, and many cables based on the Prolific PL2xx1 series of USB bridge chips. A useful (but non-comprehensive) list of compatible USB host cables is listed in the βSEE ALSOβ section below.
It requires netgraph(4) to be available. This can be done either by adding options NETGRAPH to your kernel configuration file, or alternatively loading netgraph(4) as a module, either from /boot/loader.conf or from the command line, before the udbp module.
π EXAMPLES π
bestie, copy these exactly, okay? π₯
options NETGRAPH
device udbp
Add the udbp driver to the kernel.
kldload netgraph
kldload udbp
Load the netgraph(4) module and then the udbp driver.
ngctl mkpeer udbp0: eiface data ether
ifconfig ngeth0 ether aa:dd:xx:xx:xx
ifconfig ngeth0 inet 169.254.x.x/16
Create a new Ethernet network interface node and connect its ether hook to the data hook of the udbp driver.
This enables FreeBSD to communicate with a Linux peer (e.g. using the plusb driver). The Linux node should be configured to prefer link-local IPv4 addresses (e.g. using Network Manager in Debian and Red Hat derived distributions).
Whilst both FreeBSD and Linux are able to interoperate by loosely following CDC EEM 1.0 in their behaviour, neither implementation has been expressly designed to follow its specification.
π SEE ALSO π
netgraph(4),ng_eiface(4),ohci(4),uhci(4),usb(4),ngctl(8)- Universal Serial Bus: Communications Class Subclass Specification for Ethernet Emulation Model Devices, USB Implementers Forum, Inc., Revision 1.0,
http://www.usb.org/developers/docs/devclass_docs/CDC_EEM10.pdf, February 2, 2005. - Total Commander: Supported cables for USB cable connection, Ghisler Software GmbH.,
https://www.ghisler.com/cables/index.htm.
π CAVEATS π
The point-to-point nature and additional latency of USB host-host links makes them unsuitable as a "drop-in" replacement for an Ethernet LAN; for a USB 3.0 SuperSpeed cable, latency is comparable to 100BaseTX Ethernet (but often worse), with throughput comparable to 2.5GBASE-T.
However, their energy efficiency makes them attractive for embedded applications. A Plugable PL27A1 cable claims 24mA of USB3 bus power, as compared to 150mA for a typical USB 3.0 to Gigabit Ethernet interface.
π HISTORY π
The udbp driver first appeared in FreeBSD 5.0.
π BUGS π
The udbp driver does not support the special packets described in section 5.1 of the CDC EEM specification. π
π«Ά AUTHORS π«Ά
The udbp driver was written by Doug Ambrisko <ambrisko@whistle.com>, Julian Elischer <julian@FreeBSD.org> and Nick Hibma <n_hibma@FreeBSD.org>.
This manual page was written by Nick Hibma <n_hibma@FreeBSD.org> and updated by Bruce Simpson <bms@FreeBSD.org>.
π final vibe check: this page is from the Debian source, dated October 20, 2017, and itβs the UDBP(4) manual page β periodt, bestie π β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 1999 Nick Hibma <n_hibma@FreeBSD.org>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms