summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-01-29 00:43:42 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-01-29 00:43:42 +0000
commit3ea73eb73f0e48b5701bb885eb5f8d5b33b86f06 (patch)
treeb1450982192a23321789fc2b0a0b10349d1d9c06 /share
parenta35279642e28744be4bf4c6cfcabf0946cb41dc7 (diff)
Add a transient driver for the Y@P phone that downloads firmware into
the EZ-USB chip. After downloading the firmware the device detaches and then reattaches as a composite device (audio + HID). From NetBSD. /* XXX - untested */ Commented out in GENERIC for now, since this sounds like a kind of rare and weird device that no one would have. But it might be useful to have an example driver like this in the tree in case we see more (important) USB devices in the future using the EZ-USB.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/uyap.467
2 files changed, 69 insertions, 2 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index d596d5b4c65..cf1f8df00cd 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.147 2001/01/28 17:45:19 aaron Exp $
+# $OpenBSD: Makefile,v 1.148 2001/01/29 00:43:40 aaron Exp $
MAN= aac.4 ac97.4 adv.4 aha.4 ahb.4 ahc.4 aic.4 amphy.4 an.4 aria.4 ast.4 \
atalk.4 atapiscsi.4 audio.4 aue.4 auvia.4 awi.4 bpf.4 bridge.4 \
@@ -19,7 +19,7 @@ MAN= aac.4 ac97.4 adv.4 aha.4 ahb.4 ahc.4 aic.4 amphy.4 an.4 aria.4 ast.4 \
tl.4 tlphy.4 tp.4 tqphy.4 tty.4 tun.4 twe.4 tx.4 txphy.4 \
uaudio.4 ubsec.4 ucom.4 udp.4 ugen.4 uhci.4 uhid.4 \
uk.4 ukbd.4 ukphy.4 ulpt.4 umodem.4 ums.4 umass.4 unix.4 upl.4 urio.4 \
- usb.4 uscanner.4 usscanner.4 uvisor.4 vga.4 vlan.4 vnd.4 vr.4 \
+ usb.4 uscanner.4 usscanner.4 uvisor.4 uyap.4 vga.4 vlan.4 vnd.4 vr.4 \
wb.4 wd.4 wdc.4 we.4 wi.4 \
wscons.4 wsdisplay.4 wskbd.4 wsmouse.4 wsmux.4 \
wx.4 xe.4 xl.4 xmphy.4 ym.4 zero.4
diff --git a/share/man/man4/uyap.4 b/share/man/man4/uyap.4
new file mode 100644
index 00000000000..b0f1cc81d9d
--- /dev/null
+++ b/share/man/man4/uyap.4
@@ -0,0 +1,67 @@
+.\" $OpenBSD: uyap.4,v 1.1 2001/01/29 00:43:40 aaron Exp $
+.\" $NetBSD: $
+.\"
+.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Lennart Augustsson.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the NetBSD
+.\" Foundation, Inc. and its contributors.
+.\" 4. Neither the name of The NetBSD Foundation nor the names of its
+.\" contributors may be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd January 2, 2001
+.Dt UYAP 4
+.Os
+.Sh NAME
+.Nm uyap
+.Nd USB YAP phone firmware loader
+.Sh SYNOPSIS
+.Cd "uyap* at uhub?"
+.Pp
+.Sh DESCRIPTION
+The
+.Nm
+driver downloads firmware into a YAP phone.
+The device will then disconnect and reappear as a composite device with
+two audio pipes (handled by
+.Xr uaudio 4 )
+and an HID device (handled by
+.Xr uhid 4 ) .
+.Sh SEE ALSO
+.Xr uaudio 4 ,
+.Xr uhid 4 ,
+.Xr usb 4
+.Sh HISTORY
+The
+.Nm
+driver appeared in
+.Nx 1.6 .
+.Ox
+support appeared in
+.Ox 2.9 .