USB 3/XHCI driver stack for Windows 7

Discussion in 'Windows 7' started by daniel_k, Jun 21, 2020.

  1. Doskungen

    Doskungen MDL Junior Member

    Dec 4, 2011
    53
    36
    0
    How would I go about updating the driver to the latest version to have this fix? When I try to update the driver it says that the best driver is already installed or something to that effect.
     
  2. ryegrass

    ryegrass MDL Junior Member

    Oct 9, 2019
    54
    34
    0
    #122 ryegrass, Mar 17, 2021
    Last edited: Mar 17, 2021
    Since I haven't posted on this forum 5 times yet, they won't let me post a link for you. However if you Google "Windows install driver from inf" there are several fine guides which will show you exactly how to do this, but the gist of the Windows driver installation is below:


    1. Go to Control Panel and open Device Manager.

    2. Find the device that you’re trying to install a driver for.

    3. Right click the device and select properties.

    4. Select Driver tab, then click the Update Driver button.

    5. Choose Browse my computer for driver software.

    6. Let me pick from a list of device drivers on my computer

    7. Have disk

    8. Browse for the .inf driver file. Open and Next.

    9. The driver will be installed.
     
  3. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,672
    2,223
    60
    You mean the generic one from OP or the Intel driver you're supposed to use? If it's the former... well... time to install the actual driver Intel provides.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. plumch

    plumch MDL Novice

    Apr 10, 2021
    2
    0
    0
    #126 plumch, Apr 10, 2021
    Last edited: Apr 10, 2021
    Hello, @daniel_k
    You are my last hope
    i have pci-e card with asm3142
    win 8.1 x64
    my problem: this hardware id not include in all asmedia drivers so i'm on generic ms drivers (they are very slow in xperf dpc/isr)

    PCI\VEN_1B21&DEV_2142&SUBSYS_21421B21&REV_00
    PCI\VEN_1B21&DEV_2142&SUBSYS_21421B21
    PCI\VEN_1B21&DEV_2142&CC_0C0330
    PCI\VEN_1B21&DEV_2142&CC_0C03

    this is my hardware id (same as user @Andalu)
    in this thread he said that your drivers work in win7

    pls help run your drivers on win 8.1 x64 or maybe its possible to modify asmedia drivers
     
  6. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,672
    2,223
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. plumch

    plumch MDL Novice

    Apr 10, 2021
    2
    0
    0
    #128 plumch, Apr 10, 2021
    Last edited: Apr 10, 2021
    @shhnedo , thanks for reply
    i try to add my subsys to asmtxhci.inf but ofc hash error & no install
    in win-raid thread named: [Solution] Win7/8.1 Drivers for USB 3.0/3.1 Controllers of new AMD Chipset Systems
    i found archive 1.16.60.1 with asmtxhci.inf contains also:
    PCI\VEN_1B21&DEV_3241
    PCI\VEN_1B21&DEV_3242
    which not contains in original asmedia 1.16.60.1 driver and 1.16.61.1 that you provided
    so its possible to modify & install with custom id?

    upd: problem solved
     
  8. devilink

    devilink MDL Novice

    Jun 28, 2017
    2
    0
    0
    It would be great if the logos of the various USB brands were also marked.
     
  9. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    ASM1051 is buggy and unreliable in UASP mode.
    The issue also affects Linux, so there nothing wrong with the driver.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Absolitely correct . most asmedia usb as well as sata chipset are buggy due to integerated malicious code into there firmware which has been discussed years ago.
     
  11. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,103
    505
    60
  12. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,103
    505
    60
  13. datamdl

    datamdl MDL Novice

    Feb 11, 2013
    5
    2
    0
    Hello,
    Thanks for this great work!

    While the 64 bit version works perfectly, I have to report a prolem for the 32 bit version;

    *** STOP: 0x0000007E (0xC0000005,0x8277A39D,0x8078B6F8,0x8078B2E0)
    *** UsbHub3.sys - Address 8277A39D base at 8272F000, DateStamp 53d0da1e

    this BSOD only occurs if Booflags value for usbhub3 is 0x4.
    Removig that value fixes the crash but prevents booting from usb3 disks.
     
  14. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,103
    505
    60
  15. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    @RobrPatty

    Find out the device ID of the XHCI controller connected to the CPU.

    Edit the INF file like this:
    Code:
    [Generic.Install.NT]
    CopyFiles=Generic.CopyFiles
    AddProperty=Generic.AddProperty
    ExcludeID=PCI\VEN_1B73&DEV_1000&CC_0C0330
    ExcludeID=PCI\VEN_1B73&DEV_1400&CC_0C0330
    ExcludeID=PCI\VEN_1B73&DEV_1009&REV_00
    ExcludeID=PCI\VEN_1022&DEV_????&CC_0C0330
    Replace the ???? with the device ID. Vendor should be 1022 (AMD).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    @datamdl

    Thanks for reporting the bug.
    May fix it some day, but can't promise you, because I couldn't find anything wrong, so a more in depth analysis is needed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. datamdl

    datamdl MDL Novice

    Feb 11, 2013
    5
    2
    0
    Thanks daniel_k,
    Maybe this kernel debugger output is helpfull:

    ANALYSIS_VERSION: 6.3.9600.17298 (debuggers(dbg).141024-1500) x86fre

    LAST_CONTROL_TRANSFER: from 8274ef65 to 8279839d

    STACK_TEXT:
    WARNING: Stack unwind information not available. Following frames may be wrong.
    8078b970 8274ef65 85503b7c 8d228bd0 8078b990 UsbHub3!Microsoft_USBD_Compat_Version+0xe8bd
    8078b980 8274eedf 80849cb8 85503ac8 8078b9e8 UsbHub3+0x1f65
    8078b990 819fe543 85503ac8 80849cb8 00000000 UsbHub3+0x1edf
    8078b9e8 819fe17d 84e058b8 80849cb8 80849db8 nt!KeSetProfileIrql+0x11fec
    8078ba54 819f3801 0000000f 80849cb8 8274eec9 nt!KeSetProfileIrql+0x11c26
    8078bad4 81a080fc 8080ac30 00000007 8080ac30 nt!KeSetProfileIrql+0x72aa
    8078bb5c 81a0c369 0080ac30 843eea00 843ee728 nt!TmInitSystem+0x368a
    8078bc3c 817da761 8078bc90 81857582 8080ac30 nt!TmInitSystem+0x78f7
    8078bc44 81857582 8080ac30 491d8eed 00000000 nt!PsSetLegoNotifyRoutine+0x311
    8078bc90 816f4981 817da754 8080ac30 00000000 nt!RtlAnsiStringToUnicodeString+0x258
    00000000 00000000 00000000 00000000 00000000 nt!KeInitializeTimerEx+0x3c9


    FOLLOWUP_IP:
    UsbHub3!Microsoft_USBD_Compat_Version+e8bd
    8279839d a3e0c40400 mov dword ptr ds:[0004C4E0h],eax
     
  18. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,103
    505
    60
    Here is the list of XHCI controllers connected to CPU

    [AMD.NTamd64]
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_10DE&CC_0C0330 ; Nvidia USB-C
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_13ED ; Ariel Type A
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_13EE ; Ariel Type C
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_145C ; Family 17h
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_145F ; Zeppelin
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_148C ; Starship
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_149C ; Matisse
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_15D4 ; FireFligh
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_15D5 ; FireFligh
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_15E0 ; Raven
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_15E1 ; Raven
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_15E5 ; Raven2
    %AMDXHCI.DeviceDesc% = AMDXHCI, PCI\VEN_1022&DEV_1639 ; Renoir

    Mine is a Matisse CPU so I edited INF like this:

    [Generic.Install.NT]
    CopyFiles=Generic.CopyFiles
    AddProperty=Generic.AddProperty
    ExcludeID=PCI\VEN_1B73&DEV_1000&CC_0C0330
    ExcludeID=PCI\VEN_1B73&DEV_1400&CC_0C0330
    ExcludeID=PCI\VEN_1B73&DEV_1009&REV_00
    ExcludeID=PCI\VEN_1022&DEV_149C&CC_0C0330

    Integrated New XHCI driver and still stuck at "Setup is Preparing your Computer for first use"