CDCE(4) | Device Drivers Manual | CDCE(4) |
cdce
— USB
Communication Device Class Ethernet driver
cdce* at uhub? port ?
The cdce
driver provides support for USB
Host-to-Host (aka USB-to-USB) bridges and USB-to-Ethernet adapters based on
the USB Communication Device Class (CDC) and Ethernet subclass, including
the following:
The USB bridge appears as a regular network interface on both sides, transporting Ethernet frames.
For more information on configuring this device, see ifconfig(8).
USB 1.x bridges support speeds of up to 12Mbps, USB 2.0 speeds of up to 480Mbps, and USB 3.0 speeds of up to 5Gbps.
Packets are received and transmitted over separate USB bulk transfer endpoints.
The cdce
driver does not support different
media types or options.
Also see usbnet(4) for diagnostics.
arp(4), intro(4), netintro(4), usb(4), usbnet(4), ifconfig.if(5), ifconfig(8)
Universal Serial Bus Class Definitions for Communication Devices, http://www.usb.org/developers/devclass_docs/usbcdc11.pdf.
Data sheet Prolific PL-2501 Host-to-Host Bridge/Network Controller, http://tech.prolific.com.tw/visitor/fcabdl.asp?fid=20679530.
The cdce
device driver first appeared in
OpenBSD 3.6 and NetBSD
3.0.
The cdce
driver was written by
Craig Boston
<craig@tobuj.gank.org>
based on the aue(4) driver
written by Bill Paul
<wpaul@windriver.com>
and ported to OpenBSD by Daniel
Hartmeier
<dhartmei@openbsd.org>.
Many USB devices notoriously fail to report their class and interfaces correctly. Undetected products might work flawlessly when their vendor and product IDs are added to the driver manually.
November 5, 2023 | NetBSD 10.99 |