ZD1211 USB WLAN with Zydas OS X drivers
Posted: Wed Nov 09, 2005 3:51 pm
I just found the original Zydas Drivers, and tried them with a Sitecom WL-113. As the ZD1211 sticks are cheap, this might be of interest:
ZD1211 USB Stick with Zydas Drivers in Win,Linux, or Mac OS X:
First get your Driver:
http://www.zydas.com.tw/downloads/download-1211.asp
Then you need the vendor and product id numbers. See if your stick is in the table below.
If not, try google with the name of your Stick.
If nothing helps, start a Knoppix CD (or any Linux), open a shell, and plug the Stick. Enter dmesg and the numbers will be displayd.
Windows:
Install the driver, but dont plug in the Stick.
In \Windows\INF\ZD1211U.inf you'll find some lines like this:
%ZD1211_50U_DESC% = ZD1211_50U.ndi, USB\VID_0ACE&PID_1211
%ZD1211_50U_DESC% = ZD1211_50U.ndi, USB\VID_0586&PID_3401
...
See if your numbers are already there, if not change the last line.
In C:\Programs\ZyDAS Technology Corporation\ZyDAS_802.11g_Utility\ZDWlan.INI
you'll find:
MatchingDeviceId0=USB\VID_0ACE&PID_1211
MatchingDeviceId1=PCI\VEN_167B&DEV_2112
MatchingDeviceId2=USB\VID_0ACE&PID_A211
...
There you must also change a line to your numbers if they aren't already there.
Mac OSX:
Install the driver, but DO NOT RESTART. Open a terminal, enter su and root password, and edit:
/System/Library/Extensions/ZD1211Mac.kext/Contents/Info.plist
with vi (or another editor).
Near the end you'll see:
<string>EthernetUserClient_ZD1211</string>
<key>idProduct</key>
<integer>13313</integer>
<key>idVendor</key>
<integer>1414</integer>
the first number 13313 is decimal for 3401 hex and the second number 1414 is decimal of 0586. So convert your numbers to decimal umsetzen, and see if they are already there, else enter them. For the Sitecom you would change the last entry to:
<string>EthernetUserClient_ZD1211</string>
<key>idProduct</key>
<integer>36977</integer>
<key>idVendor</key>
<integer>3574</integer>
and watch out, the first number is the product, the second the vendor ID. It is the other way around in the table.
Save file, log out, and restart the Mac.
If you can't save the file, your not root. If you don't know the root password, enter 'sudo passwd root', enter your pasword, and then the new root password. Don't forget to tell root his new password
Linux:
unpack the driver in /usr/src. In the drivers directory, edit src/zdusb.h. Find:
#define VENDOR_ZYDAS 0x0ACE //ZyDAS
#define PRODUCT_1211 0x1211
#define PRODUCT_A211 0xa211
#define VENDOR_ZYXEL 0x0586 //ZyXEL
#define PRODUCT_G220 0x3401
#define VENDOR_3COM 0x6891
#define PRODUCT_A727 0xA727
#define PRODUCT_G220F 0x3402
If your numbers are not listed, change an entry, here the Zyxel entry is used with the Sitecom numbers:
#define VENDOR_ZYDAS 0x0ACE //ZyDAS
#define PRODUCT_1211 0x1211
#define PRODUCT_A211 0xa211
#define VENDOR_ZYXEL 0x0DF6 //ZyXEL
#define PRODUCT_G220 0x9071
#define VENDOR_3COM 0x6891
#define PRODUCT_A727 0xA727
#define PRODUCT_G220F 0x3402
The enter the correct kernel version into Makefile.
Enter make, then you're done. The device name is 'eth...'. You need a kernel source in /usr/src.
ZD1211 Sticks.
3COM 3CRUSB10075 6891:a727
AOpen 802.11g WL54 07b8:6001
iNexQ UR055g 1435:0711
Sitecom WL-113 0df6:9071
Telegent TG54USB 129b:1666
TwinMOS G240 126F:a006
Yakumo QuickWLAN 0b3b:1630
Airlink+ AWLL3025 0ace:1211
Zyxel ZyAIR G-220 0586:3401
X-Micro XWL-11GUZX 0ace:1211
Edimax EW-7317UG 0ace:1211
Safecom SWLU-5400 07b8:6001
Longshine LCS-8131G 07b8:6001
Planet WL-U356 0ace:1211
Sweex wireless 54MB 5173:1809
Acer WLAN-G-US1 0ace:1211
Trendnet TEW-424UB 0ace:1211
DrayTek Vigor 550 0675:0550
Asus WL-159g 0b05:170c
ZD1211 USB Stick with Zydas Drivers in Win,Linux, or Mac OS X:
First get your Driver:
http://www.zydas.com.tw/downloads/download-1211.asp
Then you need the vendor and product id numbers. See if your stick is in the table below.
If not, try google with the name of your Stick.
If nothing helps, start a Knoppix CD (or any Linux), open a shell, and plug the Stick. Enter dmesg and the numbers will be displayd.
Windows:
Install the driver, but dont plug in the Stick.
In \Windows\INF\ZD1211U.inf you'll find some lines like this:
%ZD1211_50U_DESC% = ZD1211_50U.ndi, USB\VID_0ACE&PID_1211
%ZD1211_50U_DESC% = ZD1211_50U.ndi, USB\VID_0586&PID_3401
...
See if your numbers are already there, if not change the last line.
In C:\Programs\ZyDAS Technology Corporation\ZyDAS_802.11g_Utility\ZDWlan.INI
you'll find:
MatchingDeviceId0=USB\VID_0ACE&PID_1211
MatchingDeviceId1=PCI\VEN_167B&DEV_2112
MatchingDeviceId2=USB\VID_0ACE&PID_A211
...
There you must also change a line to your numbers if they aren't already there.
Mac OSX:
Install the driver, but DO NOT RESTART. Open a terminal, enter su and root password, and edit:
/System/Library/Extensions/ZD1211Mac.kext/Contents/Info.plist
with vi (or another editor).
Near the end you'll see:
<string>EthernetUserClient_ZD1211</string>
<key>idProduct</key>
<integer>13313</integer>
<key>idVendor</key>
<integer>1414</integer>
the first number 13313 is decimal for 3401 hex and the second number 1414 is decimal of 0586. So convert your numbers to decimal umsetzen, and see if they are already there, else enter them. For the Sitecom you would change the last entry to:
<string>EthernetUserClient_ZD1211</string>
<key>idProduct</key>
<integer>36977</integer>
<key>idVendor</key>
<integer>3574</integer>
and watch out, the first number is the product, the second the vendor ID. It is the other way around in the table.
Save file, log out, and restart the Mac.
If you can't save the file, your not root. If you don't know the root password, enter 'sudo passwd root', enter your pasword, and then the new root password. Don't forget to tell root his new password
Linux:
unpack the driver in /usr/src. In the drivers directory, edit src/zdusb.h. Find:
#define VENDOR_ZYDAS 0x0ACE //ZyDAS
#define PRODUCT_1211 0x1211
#define PRODUCT_A211 0xa211
#define VENDOR_ZYXEL 0x0586 //ZyXEL
#define PRODUCT_G220 0x3401
#define VENDOR_3COM 0x6891
#define PRODUCT_A727 0xA727
#define PRODUCT_G220F 0x3402
If your numbers are not listed, change an entry, here the Zyxel entry is used with the Sitecom numbers:
#define VENDOR_ZYDAS 0x0ACE //ZyDAS
#define PRODUCT_1211 0x1211
#define PRODUCT_A211 0xa211
#define VENDOR_ZYXEL 0x0DF6 //ZyXEL
#define PRODUCT_G220 0x9071
#define VENDOR_3COM 0x6891
#define PRODUCT_A727 0xA727
#define PRODUCT_G220F 0x3402
The enter the correct kernel version into Makefile.
Enter make, then you're done. The device name is 'eth...'. You need a kernel source in /usr/src.
ZD1211 Sticks.
3COM 3CRUSB10075 6891:a727
AOpen 802.11g WL54 07b8:6001
iNexQ UR055g 1435:0711
Sitecom WL-113 0df6:9071
Telegent TG54USB 129b:1666
TwinMOS G240 126F:a006
Yakumo QuickWLAN 0b3b:1630
Airlink+ AWLL3025 0ace:1211
Zyxel ZyAIR G-220 0586:3401
X-Micro XWL-11GUZX 0ace:1211
Edimax EW-7317UG 0ace:1211
Safecom SWLU-5400 07b8:6001
Longshine LCS-8131G 07b8:6001
Planet WL-U356 0ace:1211
Sweex wireless 54MB 5173:1809
Acer WLAN-G-US1 0ace:1211
Trendnet TEW-424UB 0ace:1211
DrayTek Vigor 550 0675:0550
Asus WL-159g 0b05:170c