1.\" Copyright (c) 1999 2.\" Nick Hibma <n_hibma@freebsd.org>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. All advertising materials mentioning features or use of this software 13.\" must display the following acknowledgement: 14.\" This product includes software developed by Bill Paul. 15.\" 4. Neither the name of the author nor the names of any co-contributors 16.\" may be used to endorse or promote products derived from this software 17.\" without specific prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY NICK HIBMA AND CONTRIBUTORS ``AS IS'' AND 20.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22.\" ARE DISCLAIMED. IN NO EVENT SHALL NICK HIBMA OR THE VOICES IN HIS HEAD 23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29.\" THE POSSIBILITY OF SUCH DAMAGE. 30.\" 31.\" $FreeBSD$ 32.\" 33.Dd April 30, 2000 34.Dt UDBP 4 35.Os FreeBSD 36.Sh NAME 37.Nm udbp 38.Nd USB Double Bulk Pipe driver 39.Sh SYNOPSIS 40.Cd "device udbp" 41.Sh DESCRIPTION 42The 43.Nm 44driver provides support for host-to-host cables that contain at least two 45bulk pipes, one for each direction, like for example the EzLink cable and 46the NetChip 1080 chip. 47.Pp 48It requires netgraph to be avalable. This can be done either by adding 49.Cd "options NETGRAPH" 50to your kernel configuration file, or alternatively loading 51.Nm netgraph 52as a module either from 53.Pa /boot/loader.conf 54or from the command line, before the udbp module. 55.Sh EXAMPLE 56.Dl options NETGRAPH 57.Dl device udbp 58.Pp 59Add the 60.Nm udbp 61driver to the kernel. 62.Pp 63.Dl kldload netgraph 64.Dl kldload udbp 65.Pp 66Load the 67.Nm netgraph 68module and then the 69.Nm udbp 70driver. 71.Pp 72.Dl ngctl mkpeer udbp0: iface data inet 73.Dl ifconfig ng0 10.0.0.1 10.0.0.2 74.Pp 75Create a new network interface node node and connect it's inet hook to the data 76hook of the 77.Nm udbp 78node. Ifconfig configures the resulting network interface ng0 with a local 79IP address of 10.0.0.1 and a remote 10.0.0.2. On the remote host the two 80IP addresses should of course be reversed. 81.Pp 82.Sh SEE ALSO 83.Xr netgraph 4 , 84.Xr ohci 4 , 85.Xr uhci 4 , 86.Xr usb 4 , 87.Xr ngctl 8 , 88.Xr ng_iface 8 , 89.Sh HISTORY 90The 91.Nm udbp 92driver first appeared in 93.Fx 5.0 . 94.Sh AUTHORS 95The 96.Nm udbp 97driver was written by 98.An Doug Ambrisko Aq ambrisko@whistle.com , 99.An Julian Elischer Aq julian@whistle.com 100and 101.An Nick Hibma Aq n_hibma@freebsd.org . 102.Pp 103This manual page was written by 104.An Nick Hibma Aq n_hibma@freebsd.org . 105