xref: /freebsd/share/man/man4/zyd.4 (revision 93b30f1b6caec5083efacf3fb5049b72e75cc09e)
1.\" $OpenBSD: zyd.4,v 1.22 2007/05/24 02:49:57 cnst Exp $
2.\" $NetBSD: zyd.4,v 1.1 2007/06/09 11:20:55 kiyohara Exp $
3.\"
4.\" Copyright (c) 1997, 1998, 1999
5.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\" 3. All advertising materials mentioning features or use of this software
16.\"    must display the following acknowledgement:
17.\" This product includes software developed by Bill Paul.
18.\" 4. Neither the name of the author nor the names of any co-contributors
19.\"    may be used to endorse or promote products derived from this software
20.\"   without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
26.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
32.\" THE POSSIBILITY OF SUCH DAMAGE.
33.\"
34.Dd November 10, 2024
35.Dt ZYD 4
36.Os
37.Sh NAME
38.Nm zyd
39.Nd ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network driver
40.Sh SYNOPSIS
41To compile this driver into the kernel,
42place the following lines in your
43kernel configuration file:
44.Bd -ragged -offset indent
45.Cd "device ehci"
46.Cd "device uhci"
47.Cd "device ohci"
48.Cd "device usb"
49.Cd "device zyd"
50.Cd "device wlan"
51.Cd "device wlan_amrr"
52.Ed
53.Pp
54Alternatively, to load the driver as a
55module at boot time, place the following line in
56.Xr loader.conf 5 :
57.Bd -literal -offset indent
58if_zyd_load="YES"
59.Ed
60.Sh DESCRIPTION
61The
62.Nm
63driver provides support for wireless network adapters based around
64the ZyDAS ZD1211 and ZD1211B USB chips.
65.Pp
66.Nm
67supports
68.Cm station
69and
70.Cm monitor
71mode operation.
72Only one virtual interface may be configured at any time.
73For more information on configuring this device, see
74.Xr ifconfig 8 .
75.Sh HARDWARE
76The following devices are known to be supported by the
77.Nm
78driver:
79.Pp
80.Bl -bullet -offset indent -compact
81.It
823COM 3CRUSB10075
83.It
84Acer WLAN-G-US1
85.It
86Airlink+ AWLL3025
87.It
88Airlink 101 AWLL3026
89.It
90AOpen 802.11g WL54
91.It
92Asus A9T integrated wireless
93.It
94Asus WL-159g
95.It
96Belkin F5D7050 v.4000
97.It
98Billion BiPAC 3011G
99.It
100Buffalo WLI-U2-KG54L
101.It
102CC&C WL-2203B
103.It
104DrayTek Vigor 550
105.It
106Edimax EW-7317UG
107.It
108Edimax EW-7317LDG
109.It
110Fiberline Networks WL-43OU
111.It
112iNexQ UR055g
113.It
114Linksys WUSBF54G
115.It
116Longshine LCS-8131G3
117.It
118MSI US54SE
119.It
120MyTek MWU-201 USB adapter
121.It
122Philips SNU5600
123.It
124Planet WL-U356
125.It
126Planex GW-US54GZ
127.It
128Planex GW-US54GZL
129.It
130Planex GW-US54Mini
131.It
132Safecom SWMULZ-5400
133.It
134Sagem XG 760A
135.It
136Sagem XG 76NA
137.It
138Sandberg Wireless G54 USB
139.It
140Sitecom WL-113
141.It
142SMC SMCWUSB-G
143.It
144Sweex wireless USB 54 Mbps
145.It
146Tekram/Siemens USB adapter
147.It
148Telegent TG54USB
149.It
150Trendnet TEW-424UB rev A
151.It
152Trendnet TEW-429UB
153.It
154TwinMOS G240
155.It
156Unicorn WL-54G
157.It
158US Robotics 5423
159.It
160X-Micro XWL-11GUZX
161.It
162Yakumo QuickWLAN USB
163.It
164Zonet ZEW2501
165.It
166ZyXEL ZyAIR G-202
167.It
168ZyXEL ZyAIR G-220
169.El
170.Sh EXAMPLES
171The following
172example configures zyd0 to join any BSS network using WEP key
173.Dq 0x1deadbeef1 ,
174channel 11:
175.Bd -literal -offset indent
176ifconfig wlan create wlandev zyd0 channel 11 \e
177    wepmode on wepkey 0x1deadbeef1 weptxkey 1 \e
178    inet 192.0.2.20/24
179.Ed
180.Pp
181Join an existing BSS network,
182.Ar my_net :
183.Bd -literal -offset indent
184ifconfig wlan create wlandev zyd0 192.0.2.20/24 \e
185    ssid my_net
186.Ed
187.Sh DIAGNOSTICS
188.Bl -diag
189.It "zyd%d: could not load firmware (error=%d)"
190An error occurred while attempting to upload the firmware to the onboard
191microcontroller unit.
192.It "zyd%d: could not send command (error=%s)"
193An attempt to send a command to the firmware failed.
194.It "zyd%d: sorry, radio %s is not supported yet"
195Support for the specified radio chip is not yet implemented in the driver.
196The device will not attach.
197.It "zyd%d: device version mismatch: 0x%x (only >= 43.30 supported)"
198Early revisions of the ZD1211 chipset are not supported by this driver.
199The device will not attach.
200.It "zyd%d: device timeout"
201A frame dispatched to the hardware for transmission did not complete in time.
202The driver will reset the hardware.
203This should not happen.
204.El
205.Sh SEE ALSO
206.Xr intro 4 ,
207.Xr netintro 4 ,
208.Xr usb 4 ,
209.Xr wlan 4 ,
210.Xr wlan_amrr 4 ,
211.Xr wlan_ccmp 4 ,
212.Xr wlan_tkip 4 ,
213.Xr wlan_wep 4 ,
214.Xr networking 7 ,
215.Xr ifconfig 8 ,
216.Xr wpa_supplicant 8
217.Sh AUTHORS
218.An -nosplit
219The original
220.Nm
221driver was written by
222.An Florian Stoehr Aq Mt ich@florian-stoehr.de ,
223.An Damien Bergamini Aq Mt damien@openbsd.org ,
224and
225.An Jonathan Gray Aq Mt jsg@openbsd.org .
226.Sh CAVEATS
227The
228.Nm
229driver does not support a lot of the functionality available in the hardware.
230More work is required to properly support the IBSS and power management
231features.
232