Topic: Asix ax88772b, ax88179

Has anyone had any luck loading drivers for the Asix ax88772b or ax88179 USB nics in either bartpe or ubcd?

I have tried the drivers off the manufacturer's website along with the driver packs on this site.  In both cases bart and ubcd seem to recognize what the device is because in the comp management msc it shows the device name, however it has an exclamation point on it because the drivers are not installed.   I'm able to replicate it on multiple Lenovo laptops.  Unfortunately i don't have any other model to test with.

hardware ID's for the nics are
ax88772b USB\Vid_17ef&Pid7203  (this is a lenovo branded usb nic.  the hID is slightly different than the Asix driver)
ax88179 USB\Vid_0b95&Pid1790

The ax88179 is a USB hub with a built in nic.  all the usb ports work fine.  I swear i'm missing something really simple, but just can't pin point it.

Any suggestions?  If more details are needed, let me know and i will do my best to provide.

Re: Asix ax88772b, ax88179

Both of those drivers rely upon their respective WDF coiinstallers, WdfCoInstaller01007.dll & WdfCoInstaller01009.dll.
They may need be integrated into PE.  I don't know how to best accomplish that though.  Open either with 7zip and you will see what i mean.

Could you post a link to the manufacturer's page so that ax88772b USB\Vid_17ef&Pid7203 may be included in the latest DP_LAN Nightly?

Last edited by TechDud (2013-08-17 07:23:46)

Re: Asix ax88772b, ax88179

thx techdud.  I had noticed the coinstallers also.  it does get copied to bartpe/ubcd but it doesn't seem like the disks know how to use.  i suspected that is my problem, but just can't figure out how to fix it.

Here's the link the manufacturer.
XP
http://download.lenovo.com/ibmdl/pub/pc … ru05ww.exe

win 7
http://download.lenovo.com/ibmdl/pub/pc … rd11ww.exe

Re: Asix ax88772b, ax88179

The latest drivers from ASIX use only WdfCoInstaller01009.dll to be included in the next Nightly.

I remember an article from the USB 3.0 textmode support discussion that detailed how to integrate Wdf.
  I will try to find it later.

Attempting to edit "new" LenLan.inf to reflect updated ax88772b driver.

Re: Asix ax88772b, ax88179

edit:  updated DP_Lan Nightly here --> http://forum.driverpacks.net/viewtopic. … 692#p52692

Remove the "old" LenLan.inf and files before installing the "new" LenLan.inf on an existing system.
  LenLan.sys should be removed from Windows\system32\drivers\ and the corresponding OEM##.inf from Windows\Inf first.

Let me know how it works out please.

One other issue you may experience is the violation of 8.3 file naming conventions in ax88179_178a.sys.
  If true, they can be renamed for the next nightly.


Now one should only need integrate WdfCoInstaller01009.dll instead of "1009" and "1007".


From http://forum.driverpacks.net/viewtopic. … 727#p49727:

"After integration with DP_BASE, XP was installed on non-USB3.0 hardware (without a BSOD).  Unfortunately, the wdf01000 non-PnP driver was installed and the Errors previously mentioned exist in EventViewer.

I think the final solution for Fresco/VIA USB3 textmode support (and other KMDF 1.9 drivers) was to slipstream the files & registry entries in the source, as you have noted.

Jim D. wrote:

"Microsoft does not support coinstallers in WinPE.
Vishal kindly listed for me the steps required to get KMDF installed in my
WinPE image. These are:

1) adding wdf01000.sys to the WinPE image,
2) adding wdfldr.sys to the WinPE image, and
3) Adding a couple of registry keys in setupreg.hiv.

We have implemented these steps, and are now able to successfully boot WinPE
with a KMDF PnP driver."
  from --> http://www.winvistatips.com/winpe-wdf-w … 91658.html

"

Note that those files and keys are extracted from "Microsoft Kernel-Mode Driver Framework Install-v1.9-Win2k-WinXP-Win2k3.exe" contained in "WdfCoInstaller01009.dll".

Last edited by TechDud (2013-08-17 10:24:41)

Re: Asix ax88772b, ax88179

I have left work for the day.. i'll give this a shot on monday and report back with my findings.

Re: Asix ax88772b, ax88179

so i modified the driverpack to include wdfldr.sys and wdf01000.sys.  now when i boot up ubcd it actually shows there is a driver there, but unfortunately the device says the driver is corrupted or the system is low on resources.  I'm a step closer though..

Re: Asix ax88772b, ax88179

It would seem that the source need be modified to include KMDF v1.9 files (and registry entries??).
  Part of the execution of the main library is to check the registry and file existence, if i remember correctly.
    This would be much easier if there was either a BartPE/UBCD4Win or RVMi plugin available.
      Damnation and cdob pioneered an effort for textmode KMDF support in the following quoted link.
        Unfortunately, i don't know if any specific instructions were written to show exactly how to accomplish this.
          It certainly seems that it has been accomplished previously.

Additionally, i wonder if the new "LenLan.inf" works on it's corresponding hardware.
  I cannot test that.

Also, it may be true that ax88179_178a.sys and associated files need be renamed, and references to files in the .Inf altered to reflect the changes for textmode to function properly.
  (See DP_MassStorage_wnt5_x86-32_1308132\D\M\U3\Etron*.*)

mr_smartepants wrote:

"they exceed the 8.3 DOS filename restriction for textmode to work..."
     http://forum.driverpacks.net/viewtopic. … 308#p49308

Last edited by TechDud (2013-08-21 13:52:48)

Re: Asix ax88772b, ax88179

PM cdob... or Highlander tongue if questions are in need of answer

yes TD seems like we just did this didn't we big_smile

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Asix ax88772b, ax88179

Whoops!

Upon review of my "LenLan.inf" file, it would appear that i have made some amateurish mistakes.
  First, i neglected to comment-out the .cat file.
    Second, I should have stuck with the string variable %AX88772B.DeviceDesc% instead of %LenLan.DeviceDesc%.
      Thirdly, I didn't modify the variables for all languages to read the following:

AX88772B.DiskName = "Lenovo USB 2.0 Ethernet Adapter Driver Diskette"
AX88772B.DeviceDesc = "Lenovo USB 2.0 Ethernet Adapter"

My apologies.


edit:  Additionally, it would seem that the entries in DP_Lan.ini may be incorrect as well.

[AX]
; BartPE Code
ms_count	= 2
ms_1_tag	= "ax88179"
ms_1_sysfile	= "ax88179_178a.sys"
ms_1_exc_skipIfOS	= "w2k,wxp,w2k3"

ms_2_tag	= "ax88772b"
ms_2_sysfile	= "ax88772b.sys"
ms_2_exc_skipIfOS	= "w2k,wxp,w2k3"

I would like to see this set up so that you have the greatest odds of success.

If anybody with more experience with network installs could weigh in, i would be most appreciative.
  The skipIfOS= variable has me puzzled.

edit:  if only "ms_1_sysfile2 = "wdfldr.sys"" could be added for both.

Last edited by TechDud (2013-08-23 03:14:26)

Re: Asix ax88772b, ax88179

edit:           It would seem a plugin would be more effective here with less overhead.
               See:  http://www.911cd.net/forums//index.php? … p;p=172598

cdob already has a working plugin with wdfldr.sys included for VIA USB 3.0 PE support.  That should work for Fresco Logic controllers with some minor modifications.

How hard would it be to shoehorn in the file references you need for a custom plugin?
  Maybe something like this:

; PE Builder v3 plug-in INF file
; created by cdob (for VIA USB 3.0), modified by TechDud for ASIX USB 2.0/3.0 LAN

; ASIX AX88179/178A

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="driver: ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet Adapter"
Enable=1

[SourceDisksFiles]
files\ax88178a.sys=4,,1
files\ax88178a.inf=20,,1

;extracted with 7-zip from file - WdfCoInstaller01009.dll:
;Microsoft Kernel-Mode Driver Framework Install-v1.9-Win2k-WinXP-Win2k3.exe
files\WDFLDR.SYS=4
files\WDF01000.SYS=4

[SetValue]
;Controller
"txtsetup.sif","SourceDisksFiles","ax88178a.sys", "1,,,,,,4_,4,1,,,1,4"
"txtsetup.sif","BusExtenders.Load","ax88178a", "ax88178a.sys"
"txtsetup.sif","HardwareIdsDatabase","USB\VID_0B95&PID_1790", " ""ax88178a"""
"txtsetup.sif","HardwareIdsDatabase","USB\VID_0B95&PID_178A", " ""ax88178a"""
"txtsetup.sif","HardwareIdsDatabase","USB\VID_0DF6&PID_0072", " ""ax88178a"""
"txtsetup.sif","HardwareIdsDatabase","USB\VID_17EF&PID_304B", " ""ax88178a"""
"txtsetup.sif","HardwareIdsDatabase","USB\VID_0930&PID_0A13", " ""ax88178a"""
;
;Kernel Mode Driver Framework Runtime
"txtsetup.sif","SourceDisksFiles","wdfldr.sys", "1,,,,,,4_,4,1,,,1,4"
"txtsetup.sif","SourceDisksFiles","wdf01000.sys", "1,,,,,,4_,4,1,,,1,4"
"txtsetup.sif","BootBusExtenders.Load","wdf01000", "wdf01000.sys"
"txtsetup.sif","BootBusExtenders","wdf01000", " ""Kernel Mode Driver Framework Runtime"",files.none,wdf01000"

     hmm

Last edited by TechDud (2013-08-23 14:49:28)

Re: Asix ax88772b, ax88179

Here's another prospective plugin:

; PE Builder v3 plug-in INF file
; created by cdob (for VIA USB 3.0), modified by TechDud for ASIX USB 2.0 LAN

; ASIX AX88772B/772C including Lenovo USB 2.0 Ethernet Adapter

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="driver: ASIX AX88772B USB2.0 to Fast Ethernet Adapter"
Enable=1

[SourceDisksFiles]
files\ax88772b.sys=4,,1
files\ax88772b.inf=20,,1
files\LenLan.inf=20,,1

;extracted with 7-zip from file - WdfCoInstaller01009.dll:
;Microsoft Kernel-Mode Driver Framework Install-v1.9-Win2k-WinXP-Win2k3.exe
files\WDFLDR.SYS=4
files\WDF01000.SYS=4

[SetValue]
;Controller
"txtsetup.sif","SourceDisksFiles","ax88772b.sys", "1,,,,,,4_,4,1,,,1,4"
"txtsetup.sif","BusExtenders.Load","ax88772b", "ax88772b.sys"
"txtsetup.sif","HardwareIdsDatabase","USB\VID_0B95&PID_772B&REV_0001", " ""ax88772b"""
"txtsetup.sif","HardwareIdsDatabase","USB\VID_0B95&PID_772B&REV_0002", " ""ax88772b"""
"txtsetup.sif","HardwareIdsDatabase","USB\VID_0B95&PID_7E2B&REV_0001", " ""ax88772b"""
"txtsetup.sif","HardwareIdsDatabase","USB\VID_17EF&PID_7203", " ""ax88772b"""
;
;Kernel Mode Driver Framework Runtime
"txtsetup.sif","SourceDisksFiles","wdfldr.sys", "1,,,,,,4_,4,1,,,1,4"
"txtsetup.sif","SourceDisksFiles","wdf01000.sys", "1,,,,,,4_,4,1,,,1,4"
"txtsetup.sif","BootBusExtenders.Load","wdf01000", "wdf01000.sys"
"txtsetup.sif","BootBusExtenders","wdf01000", " ""Kernel Mode Driver Framework Runtime"",files.none,wdf01000"

How can i package these?  It would be good to have them available for all 5 effected drivers.
  edit: found tutorials.  down to modifying the .Inf files

With the idea of using PE Plugins for those LAN drivers that use WdfCoInstaller01009.dll, it would seem that they should be disabled in the .Ini.

[AX]
; BartPE Code
ms_count	= 0
; use a WDF PE plugin for these drivers

ms_1_tag	= "ax88178a"
ms_1_sysfile	= "ax88178a.sys"
ms_1_exc_skipIfOS	= "w2k,wxp,w2k3"

ms_2_tag	= "ax88772"
ms_2_sysfile	= "ax88772.sys"
ms_2_exc_skipIfOS	= "w2k,wxp,w2k3"

ms_3_tag	= "ax88772b"
ms_3_sysfile	= "ax88772b.sys"
ms_3_exc_skipIfOS	= "w2k,wxp,w2k3"

...

[S]
; BartPE Code
ms_count	= 0
; use a WDF PE plugin for these drivers

ms_1_tag	= "lan9500"
ms_1_sysfile	= "lan9500.sys"
ms_1_exc_skipIfOS	= "w2k,wxp,w2k3"

ms_2_tag	= "lan7500"
ms_2_sysfile	= "lan7500.sys"
ms_2_exc_skipIfOS	= "w2k,wxp,w2k3"

Is this correct?
    Is it also true that 8.3 file-naming conventions must be observed?

Please help to finish this.  I do credit by those that assist or pioneer solutions.

Last edited by TechDud (2013-08-23 14:54:22)

Re: Asix ax88772b, ax88179

if you skip them for 2k xp and 2k3 is almost the same as setting ms count to 0

PE drivers should not have XP skipped unless they are not to be installed ever for xp... (very rare)
all pe drivers should be skipped for 2k (not that it matters since there are no PE builds using 2K)
2k3 based on if it is supported by the driver. (most are)

Most of these sections will only have skip = 2K  (

always use mscount 0 to disable a driver big_smile

good thinking above, well done

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Asix ax88772b, ax88179

you kind of a lost me and went a bit over my head in terms of familiarity with some of this stuff.  I'm more than happy to test any ideas you have.  Can you dumb it down a touch for me for what i should try to modify and i'll give it a shot.  For instance i can't find anything that says dp_lan.ini

Re: Asix ax88772b, ax88179

follow the link to http://www.911cd.net/forums//index.php? … p;p=172598

there will be much info on how to do this and the support team that is most familiar with it.

cdob may pop in here. He does that from time to time. but more likely over there.

PS in your original post you confused UBCD with UBCD4Win which are two seperate and unrelated projects big_smile.

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Asix ax88772b, ax88179

I'll upload what i have immediately.
  Plugins exist in DP_LAN for five WDF drivers, and three in DP_Chipset for VIA & Fresco Logic (updated).
    I wonder though, if all that is needed is simply a single WDF plugin, combined with changes to the .Ini's.

        I hope i have credited cdob (and Damnation) appropriately.

    The plugins, in this form, are untested and marked as such.
  You will find each pack in their respective forum topics.

My apologies for any delay, the changelogs were the toughest nut to crack.


edit:  Ah, now i remember the relevance of 8.3 naming conventions.
          cdob advised that may be necessary should 8.3 filename generation be disabled.
            As for whether that is relevant in PE, IDK.

Note:  UBCD is linux-based, IIRC.

Last edited by TechDud (2013-08-28 23:59:03)

Re: Asix ax88772b, ax88179

tpwc wrote:

loading drivers for the Asix ax88772b or ax88179 USB nics in either bartpe or ubcd?

Do you boot from a CD/DVD or USB storage?

Yes, as indicated alredy WDF is the culpirt.
Windows Driver Frameworks (WDF) and NIC is a new beast.
No hardware to test this.

Assumption:
add WDF driver as a classic plugin.
load NIC card at PNP time, hence the NIC plugin is not required.

Create a file <PEBuilder>\plugins\WDF\wdf.inf

; PE Builder v3 plug-in INF file
; created by cdob

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="driver: Windows Driver Frameworks (WDF)"
Enable=1

;extracted with 7-zip from file - WdfCoInstaller01009.dll:
;Microsoft Kernel-Mode Driver Framework Install-v1.9-Win2k-WinXP-Win2k3.exe
files\WDFLDR.SYS=4
files\WDF01000.SYS=4

[SetValue]
;Kernel Mode Driver Framework Runtime
"txtsetup.sif","SourceDisksFiles","wdfldr.sys", "1,,,,,,4_,4,1,,,1,4"
"txtsetup.sif","SourceDisksFiles","wdf01000.sys", "1,,,,,,4_,4,1,,,1,4"
"txtsetup.sif","BootBusExtenders.Load","wdf01000", "wdf01000.sys"
"txtsetup.sif","BootBusExtenders","wdf01000", " ""Kernel Mode Driver Framework Runtime"",files.none,wdf01000"

Extract files wdfldr.sys and wdf01000.sys. Copy both files to <PEBuilder>\plugins\WDF\files\

Add the DP_LAN package too.

Test this.

If this fails, then edit the driver inf files, remove the WDF coiinstaller lines.

Re: Asix ax88772b, ax88179

Hallo und Grüße!!

He would need to edit the .Ini within DP_LAN, as the WDF-based drivers are disabled for PE to allow the included plugins to (hopefully) work.

From:

[AX]
; BartPE Code
ms_count	= 0

...

[S]
; BartPE Code
ms_count	= 0

To:

[AX]
; BartPE Code
ms_count	= 3

...

[S]
; BartPE Code
ms_count	= 2

Last edited by TechDud (2013-08-31 07:48:12)

Re: Asix ax88772b, ax88179

Can you confirm that the new "LenLan.inf" works on a regular NT5 install (from DP_Lan\AX\ not from the plugins), tpwc?

Any feedback is appreciated.

Last edited by TechDud (2013-09-01 03:15:23)

Re: Asix ax88772b, ax88179

This should be resolved now.
Lenovo released a new "LenLan" driver shortly after the previous conversation here.
It is included in the latest DP_LAN_USB pack in Testing.

For now, an updated experimental Wdf plugin pack is available
here --> http://forum.driverpacks.net/viewtopic. … 302#p58302  smile

Last edited by TechDud (2014-11-30 10:40:20)