10c1154eaSWarner Losh.\" $OpenBSD: zyd.4,v 1.22 2007/05/24 02:49:57 cnst Exp $ 20c1154eaSWarner Losh.\" $NetBSD: zyd.4,v 1.1 2007/06/09 11:20:55 kiyohara Exp $ 30c1154eaSWarner Losh.\" $FreeBSD$ 40c1154eaSWarner Losh.\" 50c1154eaSWarner Losh.\" Copyright (c) 1997, 1998, 1999 60c1154eaSWarner Losh.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 70c1154eaSWarner Losh.\" 80c1154eaSWarner Losh.\" Redistribution and use in source and binary forms, with or without 90c1154eaSWarner Losh.\" modification, are permitted provided that the following conditions 100c1154eaSWarner Losh.\" are met: 110c1154eaSWarner Losh.\" 1. Redistributions of source code must retain the above copyright 120c1154eaSWarner Losh.\" notice, this list of conditions and the following disclaimer. 130c1154eaSWarner Losh.\" 2. Redistributions in binary form must reproduce the above copyright 140c1154eaSWarner Losh.\" notice, this list of conditions and the following disclaimer in the 150c1154eaSWarner Losh.\" documentation and/or other materials provided with the distribution. 160c1154eaSWarner Losh.\" 3. All advertising materials mentioning features or use of this software 170c1154eaSWarner Losh.\" must display the following acknowledgement: 180c1154eaSWarner Losh.\" This product includes software developed by Bill Paul. 190c1154eaSWarner Losh.\" 4. Neither the name of the author nor the names of any co-contributors 200c1154eaSWarner Losh.\" may be used to endorse or promote products derived from this software 210c1154eaSWarner Losh.\" without specific prior written permission. 220c1154eaSWarner Losh.\" 230c1154eaSWarner Losh.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 240c1154eaSWarner Losh.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 250c1154eaSWarner Losh.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 260c1154eaSWarner Losh.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD 270c1154eaSWarner Losh.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 280c1154eaSWarner Losh.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 290c1154eaSWarner Losh.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 300c1154eaSWarner Losh.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 310c1154eaSWarner Losh.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 320c1154eaSWarner Losh.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 330c1154eaSWarner Losh.\" THE POSSIBILITY OF SUCH DAMAGE. 340c1154eaSWarner Losh.\" 35b032f27cSSam Leffler.Dd Apri 13, 2008 360c1154eaSWarner Losh.Dt ZYD 4 370c1154eaSWarner Losh.Os 380c1154eaSWarner Losh.Sh NAME 390c1154eaSWarner Losh.Nm zyd 400c1154eaSWarner Losh.Nd ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device 410c1154eaSWarner Losh.Sh SYNOPSIS 428b9003d1SChristian BruefferTo compile this driver into the kernel, 438b9003d1SChristian Bruefferplace the following lines in your 448b9003d1SChristian Bruefferkernel configuration file: 458b9003d1SChristian Brueffer.Bd -ragged -offset indent 468b9003d1SChristian Brueffer.Cd "device ehci" 478b9003d1SChristian Brueffer.Cd "device uhci" 488b9003d1SChristian Brueffer.Cd "device ohci" 498b9003d1SChristian Brueffer.Cd "device usb" 508b9003d1SChristian Brueffer.Cd "device zyd" 518b9003d1SChristian Brueffer.Cd "device wlan" 528b9003d1SChristian Brueffer.Cd "device wlan_amrr" 538b9003d1SChristian Brueffer.Ed 548b9003d1SChristian Brueffer.Pp 558b9003d1SChristian BruefferAlternatively, to load the driver as a 568b9003d1SChristian Brueffermodule at boot time, place the following line in 578b9003d1SChristian Brueffer.Xr loader.conf 5 : 588b9003d1SChristian Brueffer.Bd -literal -offset indent 598b9003d1SChristian Bruefferif_zyd_load="YES" 608b9003d1SChristian Brueffer.Ed 610c1154eaSWarner Losh.Sh DESCRIPTION 620c1154eaSWarner LoshThe 630c1154eaSWarner Losh.Nm 640c1154eaSWarner Loshdriver provides support for wireless network adapters based around 650c1154eaSWarner Loshthe ZyDAS ZD1211 and ZD1211B USB chips. 660c1154eaSWarner Losh.Pp 670c1154eaSWarner Losh.Nm 68b032f27cSSam Lefflersupports 69f4841b53SWeongyo Jeong.Cm station 70b032f27cSSam Lefflerand 71b032f27cSSam Leffler.Cm monitor 72b032f27cSSam Lefflermode operation. 73b032f27cSSam LefflerOnly one virtual interface may be configured at any time. 74b032f27cSSam LefflerFor more information on configuring this device, see 75b032f27cSSam Leffler.Xr ifconfig 8 . 760c1154eaSWarner Losh.Sh HARDWARE 770c1154eaSWarner LoshThe following devices are known to be supported by the 780c1154eaSWarner Losh.Nm 790c1154eaSWarner Loshdriver: 800c1154eaSWarner Losh.Pp 810c1154eaSWarner Losh.Bl -tag -width Ds -offset indent -compact 820c1154eaSWarner Losh.It 3COM 3CRUSB10075 830c1154eaSWarner Losh.It Acer WLAN-G-US1 840c1154eaSWarner Losh.It Airlink+ AWLL3025 850c1154eaSWarner Losh.It Airlink 101 AWLL3026 860c1154eaSWarner Losh.It AOpen 802.11g WL54 870c1154eaSWarner Losh.It Asus A9T integrated wirless 880c1154eaSWarner Losh.It Asus WL-159g 890c1154eaSWarner Losh.It Belkin F5D7050 v.4000 900c1154eaSWarner Losh.It Billion BiPAC 3011G 910c1154eaSWarner Losh.It Buffalo WLI-U2-KG54L 920c1154eaSWarner Losh.It CC&C WL-2203B 930c1154eaSWarner Losh.It DrayTek Vigor 550 940c1154eaSWarner Losh.It Edimax EW-7317UG 950c1154eaSWarner Losh.It Edimax EW-7317LDG 960c1154eaSWarner Losh.It Fiberline Networks WL-43OU 970c1154eaSWarner Losh.It iNexQ UR055g 980c1154eaSWarner Losh.It Linksys WUSBF54G 990c1154eaSWarner Losh.It Longshine LCS-8131G3 1000c1154eaSWarner Losh.It MSI US54SE 1010c1154eaSWarner Losh.It Philips SNU5600 1020c1154eaSWarner Losh.It Planet WL-U356 1030c1154eaSWarner Losh.It Planex GW-US54GZ 1040c1154eaSWarner Losh.It Planex GW-US54GZL 1050c1154eaSWarner Losh.It Planex GW-US54Mini 1060c1154eaSWarner Losh.It Safecom SWMULZ-5400 1070c1154eaSWarner Losh.It Sagem XG 760A 1080c1154eaSWarner Losh.It Sagem XG 76NA 1090c1154eaSWarner Losh.It Sandberg Wireless G54 USB 1100c1154eaSWarner Losh.It Sitecom WL-113 1110c1154eaSWarner Losh.It SMC SMCWUSB-G 1120c1154eaSWarner Losh.It Sweex wireless USB 54 Mbps 1130c1154eaSWarner Losh.It Tekram/Siemens USB adapter 1140c1154eaSWarner Losh.It Telegent TG54USB 1150c1154eaSWarner Losh.It Trendnet TEW-424UB 1160c1154eaSWarner Losh.It Trendnet TEW-429UB 1170c1154eaSWarner Losh.It TwinMOS G240 1180c1154eaSWarner Losh.It Unicorn WL-54G 1190c1154eaSWarner Losh.It US Robotics 5423 1200c1154eaSWarner Losh.It X-Micro XWL-11GUZX 1210c1154eaSWarner Losh.It Yakumo QuickWLAN USB 1220c1154eaSWarner Losh.It Zonet ZEW2501 1230c1154eaSWarner Losh.It ZyXEL ZyAIR G-220 1240c1154eaSWarner Losh.El 1250c1154eaSWarner Losh.Sh EXAMPLES 1260c1154eaSWarner LoshThe following 127b032f27cSSam Lefflerexamples configures zyd0 to join any BSS network using WEP key 1280c1154eaSWarner Losh.Dq 0x1deadbeef1 , 1290c1154eaSWarner Loshchannel 11: 1300c1154eaSWarner Losh.Bd -literal -offset indent 131b032f27cSSam Lefflerifconfig wlan create wlandev zyd0 channel 11 \e 132b032f27cSSam Leffler wepmode on wepkey 0x1deadbeef1 weptxkey 1 \e 133b032f27cSSam Leffler inet 192.168.1.1 netmask 255.255.255.0 1340c1154eaSWarner Losh.Ed 1350c1154eaSWarner Losh.Pp 1360c1154eaSWarner LoshJoin an existing BSS network, 1370c1154eaSWarner Losh.Dq my_net : 1380c1154eaSWarner Losh.Bd -literal -offset indent 139b032f27cSSam Lefflerifconfig wlan create wlandev zyd0 192.168.0.2 \e 140b032f27cSSam Leffler netmask 0xffffff00 ssid my_net 1410c1154eaSWarner Losh.Ed 1420c1154eaSWarner Losh.Sh DIAGNOSTICS 1430c1154eaSWarner Losh.Bl -diag 1440c1154eaSWarner Losh.It "zyd%d: could not load firmware (error=%d)" 1450c1154eaSWarner LoshAn error occurred while attempting to upload the firmware to the onboard 1460c1154eaSWarner Loshmicrocontroller unit. 1470c1154eaSWarner Losh.It "zyd%d: could not send command (error=%s)" 1480c1154eaSWarner LoshAn attempt to send a command to the firmware failed. 1490c1154eaSWarner Losh.It "zyd%d: sorry, radio %s is not supported yet" 1500c1154eaSWarner LoshSupport for the specified radio chip is not yet implemented in the driver. 1510c1154eaSWarner LoshThe device will not attach. 1520c1154eaSWarner Losh.It "zyd%d: device version mismatch: 0x%x (only >= 43.30 supported)" 1530c1154eaSWarner LoshEarly revisions of the ZD1211 chipset are not supported by this driver. 1540c1154eaSWarner LoshThe device will not attach. 1550c1154eaSWarner Losh.It "zyd%d: device timeout" 1560c1154eaSWarner LoshA frame dispatched to the hardware for transmission did not complete in time. 1570c1154eaSWarner LoshThe driver will reset the hardware. 1580c1154eaSWarner LoshThis should not happen. 1590c1154eaSWarner Losh.El 1600c1154eaSWarner Losh.Sh SEE ALSO 1610c1154eaSWarner Losh.Xr intro 4 , 1620c1154eaSWarner Losh.Xr netintro 4 , 1630c1154eaSWarner Losh.Xr usb 4 , 1640c1154eaSWarner Losh.Xr wlan 4 , 1650c1154eaSWarner Losh.Xr wlan_amrr 4 , 166b032f27cSSam Leffler.Xr wlan_ccmp 4 , 167b032f27cSSam Leffler.Xr wlan_tkip 4 , 168b032f27cSSam Leffler.Xr wlan_wep 4 , 169b032f27cSSam Leffler.Xr ifconfig 8 , 170b032f27cSSam Leffler.Xr wpa_supplicant 8 . 1710c1154eaSWarner Losh.Sh AUTHORS 1720c1154eaSWarner Losh.An -nosplit 173b032f27cSSam LefflerThe original 1740c1154eaSWarner Losh.Nm 1750c1154eaSWarner Loshdriver was written by 1760c1154eaSWarner Losh.An Florian Stoehr Aq ich@florian-stoehr.de , 1770c1154eaSWarner Losh.An Damien Bergamini Aq damien@openbsd.org , 1780c1154eaSWarner Loshand 1790c1154eaSWarner Losh.An Jonathan Gray Aq jsg@openbsd.org . 1800c1154eaSWarner Losh.Sh CAVEATS 1810c1154eaSWarner LoshThe 1820c1154eaSWarner Losh.Nm 1830c1154eaSWarner Loshdriver does not support a lot of the functionality available in the hardware. 1840c1154eaSWarner LoshMore work is required to properly support the IBSS and power management 1850c1154eaSWarner Loshfeatures. 186