Linksys Driver Update How To

Linksys Wireless Network Adapters w/Ralink Chipsets | Linksys Driver Update How To | Home | e-mail me

How To update Driver for Linksys WUSB54GC ver.1 Compact Wireless-G USB Adapter

February 24, 2010

The intention of this How To is to be able to add the Linksys Compact Wireless-G USB Adapter, WUSB54GC ver.1, with the deviceID of USB\VID_13B1&PID_0020 to device identification file(s) for the ralink rt73 driver package. Once the file(s) are updated the Linksys WUSB54GC V1 can use the newest rt73 driver from Ralink.

There are many ways to update your linksys device driver by ralink. You can download and install the driver from Ralink, edit the necessary files and then re-install the driver with the that now includes your device or you can download the package that I created with the updated files already included. This page explains how to manually edit the original Ralink driver and add your device to the information file. For XP 32/64 it is called rt73.inf. For Vista 32 and Win 7 32 it is called netr73.inf. For Vista 64 and Win7 64 it is called netr7364.inf.

Install Driver Only:

Choose this option if you are going to use the Microsoft Zero Configuration Wireless Utility only.
    Download the ralink rt73 driver package USB(RT257x/RT2671/RT520x) located at http://www.ralinktech.com/support.php?s=1 and install only the driver and not the wireless utility. For XP, go to C:\Documents and Settings\All Users\Application Data\Ralink Driver\RT7x Wireless LAN Card\Driver and edit the rt73.inf device information file with notepad.exe to include your linksys device. For Vista and Win 7 go to C:\ProgramData\Ralink Driver\RT7x Wireless LAN Card\Driver\
     
    For XP 32/64, open your rt73.inf and look for :
      [Ralink]
      ; DisplayName               Section                 DeviceID
      ; -----------               -------                 --------
      %Ralink.DeviceDesc%         = Ralink.ndi,           USB\VID_148F&PID_2573
      %Ralink.DeviceDesc%         = Ralink_2671.ndi,      USB\VID_148F&PID_2671
      ...

      and then add the line below:

      %Ralink.DeviceDesc%         = Ralink.ndi,           USB\VID_13B1&PID_0020

      so it now looks like:

      [Ralink]
      ; DisplayName               Section                 DeviceID
      ; -----------               -------                 --------
      %Ralink.DeviceDesc%         = Ralink.ndi,           USB\VID_148F&PID_2573
      %Ralink.DeviceDesc%         = Ralink.ndi,           USB\VID_13B1&PID_0020
      %Ralink.DeviceDesc%         = Ralink_2671.ndi,      USB\VID_148F&PID_2671
      ...

      and save it! This will allow your WUSB54GC version 1 Linksys USB device to be recognized as a generic Ralink device.
       
      For Vista open your *.inf file and look for:
       
      For Vista 32 bit: Under section [Ralink]
      For Vista 64 bit: Under section [Ralink.NTamd64]
      ; DisplayName               Section                 DeviceID
      ; -----------               -------                 --------
      %Ralink.DeviceDesc%         = Ralinkw.ndi,          USB\VID_148F&PID_2573
      %Ralink.DeviceDesc%         = Ralink.ndi,           USB\VID_148F&PID_2671
      %Ralink.DeviceDesc%         = Ralink_6238.ndi,      USB\VID_18E8&PID_6238
      ; MSI 
      ...
       
      Then add the line below:
       
      %Ralink.DeviceDesc%         = Ralink.ndi,           USB\VID_13b1&PID_0020
       
      So now it looks like:
       
      ; DisplayName               Section                 DeviceID
      ; -----------               -------                 --------
      %Ralink.DeviceDesc%         = Ralinkw.ndi,          USB\VID_148F&PID_2573
      %Ralink.DeviceDesc%         = Ralink.ndi,           USB\VID_148F&PID_2671
      %Ralink.DeviceDesc%         = Ralink.ndi,           USB\VID_13B1&PID_0020
      %Ralink.DeviceDesc%         = Ralink_6238.ndi,      USB\VID_18E8&PID_6238
      ...
       
      and save it! This will allow your WUSB54GC version 1 Linksys USB device to be recognized as a generic Ralink device.
       
       For Win 7 open your *.inf file and look for:
       
      Win 7 64: Under Section [Ralink.NTamd64.6.1]
      Win 7 32: Under Section [Ralink.NTx86.6.1]
      ; DisplayName               Section                 DeviceID
      ; -----------               -------                 --------
      %Ralink.DeviceDesc%         = RTWLANWR.ndi,         USB\VID_148F&PID_2573
      %Ralink.DeviceDesc%         = RTWLANR.ndi,          USB\VID_148F&PID_2671
      %Ralink.DeviceDesc%         = RTWLANR.ndi,          USB\VID_18E8&PID_6238
      ; MSI
       
      Add the line below:
       
      %Ralink.DeviceDesc%         = RTWLANR.ndi,          USB\VID_13b1&PID_0020
       
      So now it looks like:
       
      ; DisplayName               Section                 DeviceID
      ; -----------               -------                 --------
      %Ralink.DeviceDesc%         = RTWLANWR.ndi,         USB\VID_148F&PID_2573
      %Ralink.DeviceDesc%         = RTWLANR.ndi,          USB\VID_148F&PID_2671
      %Ralink.DeviceDesc%         = RTWLANR.ndi,          USB\VID_13B1&PID_0020
      %Ralink.DeviceDesc%         = RTWLANR.ndi,          USB\VID_18E8&PID_6238
      ; MSI
       
      and save it! This will allow your WUSB54GC version 1 Linksys USB device to be recognized as a generic Ralink device.
       
      Driver Re-Installation Instructions for XP 32/64:  Now it is time to re-install the driver for your Linksys WUSB54GC version 1 with the updated rt73.inf file that now includes your wireless adapter. Plug in your Wireless device so that it will appear in device manager. Open device manager by going to Control Panel >> System >> Hardware >> Device Manager. Double click on "Compact Wireless-G USB Adapter" >> "Driver" tab >> "Update Driver". Choose "No, not this time" and click "Next" button. Choose "Install from a list or specific location (Advanced)" and click "Next" button. Check mark "Include this location in the search" and click the "Browse" button and go to "C:\Documents and Settings\All Users\Application Data\Ralink Driver\RT7x Wireless LAN Card\Driver" folder. Click the "Next" button to install the driver. Windows should now install the driver and you should be able to connect to your network. If you look at the "Driver Details ..." you should see Provider: Ralink. 

      Install the Driver and the Ralink Wireless Utility:

      The wireless utility is definitely needed for Windows 2000. It also gives you more control over your adapter than the Windows Wireless Zero Utility does. Download the rt73 driver package USB(RT257x/RT2671/RT520x) located at http://www.ralinktech.com/support.php?s=1 and install both the driver and the Ralink Wireless Utility. Then edit the rt73.inf file as stated above and follow the above instructions entitled "Install driver only". Then go to C:\Program Files\Ralink\Common and update HWID.ini to include the Linksys WUSB54GC. This will allow you to use the Ralink Wireless Utility with your Linksys WUSB54GC.

      How to edit the files:

      Open HWID.ini and add the following lines (in blue).

      [RT73]
      ...
      ...
      DeviceID_49=USB\VID_07D1&PID_3C06
      DeviceID_50=USB\VID_04BB&PID_093D
      ;Linksys WUSB54GC ver.1 added below
      DeviceID_51=USB\VID_13B1&PID_0020

      New devices are added by Ralink all the time. "DeviceID_XX" Needs to be unique! Make sure that when you add the WUSB54GC that it has a unique number! You can change it to DeviceID_55, DeviceID_56, or some other number. Once the HWID.INI file has been edited, stop the wireless utility by right clicking on the X'd out "R" in the bottom right hand corner of your desktop in your system tray and choose "Exit". Then go to Start >> All Programs >> Ralink Wireless and choose Ralink Wireless Utility to restart the utility. Now double click on the red "R" to set up your network! 

      Driver Re-Installation Instructions for Vista and Win 7: Now it is time to re-install the driver for your Linksys WUSB54GC version 1 with the updated *.inf file that now includes your wireless adapter. Plug in your Wireless device so that it will appear in device manager. Open device manager by going to Control Panel >> System >> Hardware >> Device Manager. Double click on "Compact Wireless-G USB Adapter" >> "Driver" tab >> "Update Driver". Choose "No, not this time" and click "Next" button. Choose "Install from a list or specific location (Advanced)" and click "Next" button. Check mark "Include this location in the search" and click the "Browse" button and go to "C:\ProgramData\Ralink Driver\RT7x Wireless LAN Card\Driver\" folder. Click the "Next" button to install the driver. Windows should now install the driver and you should be able to connect to your network. If you look at the "Driver Details ..." you should see Provider: Ralink. 

      Extract files and update them and then reinject them back into the Ralink driver package so the the package includes the Linksys WUSB54GC

      Summary
      Download the ralink driver and unpack it. Use iscabvu and iscab to extract the device information files and hardware information files that have device id references in them. Edit them to include the linksys hardware and reinject them into the ralink driver package. Then the package can be redistributed just like the original package and automatically install your linksys device. Level of difficulty: hard. Requires knowledge of command line and installshield cab file viewer software. But the results are that the package includes the Linksys device and is easily redistributable to others that need the driver. This makes it very easy for anyone to update their driver!

      What you need for this project:

      1. Installshield Cabinet File Viewer from Installshield. It is part of the Installshield software. You can google for it. Use the terms "iscabvu", "installshield cabinet file viewer", etc. You can even download a trial version of Installshield to get the cabinet file viewer! You need version 12 or greater. Ralink uses installshield to compress their software. It can't be extracted like a microsoft cab file. You must use the installshield software to work with the Ralink driver package.

      How to install the Installshield Cabinet File Viewer

      1. Once you have downloaded the installshield cabinet file viewer, unpack or copy it to C:\ISCab
      2. Now you need to put the iscab folder into the path statement. This will make working with installshield cab files much easier. If you don't have administrative privileges then you can set up a path statement under "User Variables". If using XP, go to Control Panel  >> System >> Advanced >> Environment Variables. Under "User Variables for %your profile%" choose "new". For Variable name: type the word Path. For Variable value: type the phrase C:\ISCab and click "OK" button. Or if you are an administrator of your own computer then you can add c:\iscab to the end of your system path statement.

      Download the Ralink Driver package

      1. Make a folder called rt73 on drive C. Then download the most current ralink rt73 driver and put it in this folder. The link to download the Ralink driver is http://www.ralinktech.com/support.php?s=1. Then choose the driver that says USB (RT257x/RT2671/RT520x). Click on it to download the most recent driver and save it to "C:\rt73". Rename this file to rt73.exe. This will make it easier to work with.

      Extract the Ralink driver package from the self executing file:

      1. Choose Command Prompt usually found under accessories on the All Programs list. 
      2. Using the Command Prompt shell type the following command : cd C:\rt73 and hit enter.
      3. Next type: rt73.exe /extract_all:"c:\rt73" and hit enter. This will extract the installshield package to a folder called Disk1 located in c:\rt73.

      Create new folders in the rt73 folder to hold the updated/edited *.inf and *.ini files

      1. In the folder c:\rt73 make 2 folders named "updated" and "replace". The updated folder is where we will extract the *.inf and *.ini files to be updated that contain device identifications. These will later be reinjected back into the original Ralink Driver. The "replace" folder is where we will store our scripts to reinject the files back into the package once we have edited them. There should now be 3 folders in c:\rt73 named Disk1, updated, and replace.
      2. Go to the updated folder and make the following folders: 9x, RaUI&ApUI&HWID, VistaX64, VistaX86, XP2k, and XPX64. We want to keep the *.inf  and *.ini files separate. Why? Because different files of the same name are for different operating systems. We need to keep them separated. 

      Extract the *.inf and *.ini files containing device id information

      1. Use ISCabVu.exe, which is part of the "installshield cabinet file viewer", to extract the files to the updated folder. Open  ISCabVu.exe and go to C:\rt73\Disk1 folder and open up data1.hdr. Then go to "View" and choose "Components". Then go to >> rt73_Driver_9x and choose "rt73.inf" file. Extract it to c:\rt73\updated\9x by double clicking on it and then select the appropriate folder to save it to. Do the same for the remaining *.inf files. Also any HW.ini, ApUI.ini, and RaUI.ini files that you will find. The list of files to extract are listed below.
      Here is the list of files to extract and where to extract them to: (For rt73)
      (The links under File go to the updated versions. I have already done that for you!)
      Location               File         Destination
      RT73_Driver_VistaX64  
      netr7364.inf C:\rt73\updated\VistaX64
      RT73_Driver_VistaX86 
      netr73.inf   C:\rt73\updated\VistaX86
      RT73_Driver_XP2k     
      rt73.inf     C:\rt73\updated\XP2k
      RT73_Driver_XPX64    
      rt73.inf     C:\rt73\updated\XPX64
      RT73_Driver_Win7X64   netr7364.inf C:\rt73\updated\Win7X64
      RT73_Driver_Win7X86   netr73.inf   C:\rt73\updated\Win7X86
      RaUI                  HWID.ini*    C:\rt73\updated\HWID
      SoftAP                HWID.ini*    C:\rt73\updated\HWID
      <Support>Language
      Independent OS
      Independent Files     HWID.ini*    C:\rt73\updated\HWID

      (* - Only really need 1. For this package they are identical. Just wanted to show you where they were located. You will need this information once you have updated them to put them back in the right place.)

      Add/Edit lines in the *.inf files to allow the updated driver to recognize the Linksys WUSB54GC.

      1. Go to the "updated" folder >> XP2k  and open rt73.inf
      2. Add lines to this file so that the WUSB54GC can be recognized. Do this for XpX64, VistaX86, and VistaX64, Win7X64, and Win7X86. Now all of the files with device id information have been updated to include the Linksys WUSB54GC. 

      Reinject the updated files back into the Ralink package

      We must create some script files and command lines in order to reinject the updated files back into the original Ralink driver package. 
      Run the following command to make a file that lists all file groups and files in in the driver package.This will be saved to a file called iscablx.ini in the replace folder Open the command prompt and type the command below:

              iscab "c:\rt73\Disk1\data1.cab" -i"c:\rt73\replace\iscablx.ini" -lx

      From this file we will make all the *.ini files in the replace folder to reinject the updated files back into the Ralink driver package.
       
      Helpful information to extract the rt73.exe command was found at AppDeploy.com entitled "InstallShield Setup.exe Command-Line Parameters". How to work with ISCab.exe to replace files in the data cabs with updated ones was found at "http://helpnet.acresso.com/robo/projects/installshield12helplib/ISCabExamples.htm"
       
      If you have any questions about reinjecting the files back into the Ralink package then please email me at mwvonlehe@gmail.com.
      This is specific to the package that you download. Since Ralink continuously changes their driver packages the way that I had posted here is no longer valid.
       
      Another software that comes in handy is Zip Scan v2.2c made by foobar Software. You will also have to download i5comp to get 2 files to use with Zip Scan to extract files. They are ZD51145.DLL and ZD50149.DLL. Put them in the program files\zipscan folder. This information is located in the help files of Zip Scan. Just google for i5comp and zip scan. Unfortuneately Zip Scan can't reinject files back into the original driver.

      Comments