USB 3/XHCI driver stack for Windows 7

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

  1. Filipe Tolhuizen

    Filipe Tolhuizen MDL Novice

    Aug 20, 2023
    48
    9
    0
    These drivers finally made it possible to clear the unknown devices after installing a GTX1660 card. Thanks a lot!
     
  2. madnikos

    madnikos MDL Novice

    Sep 8, 2012
    4
    0
    0
    Hello, is the project going to be updated with the usbhub3.inf/sys files from December 2023?
    Else, how can I install these now that I have already installed the ones from @daniel_k ?
     
  3. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    319
    139
    10
    #323 Gelip, Feb 18, 2024
    Last edited: Mar 1, 2024
    I easily added USB3 support drivers to the boot.wim file (Index 2) from ISO Win7 SP1 32-bit:
    Code:
    dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:wim
    dism /image:wim /add-package /packagepath:windows6.1-kb2864202-x86.msu
    dism /image:wim /add-driver /driver:x86
    dism /unmount-wim /mountdir:wim /commit
    After booting from pendrive with this boot.wim USB keyboard & mouse works OK.

    I'm trying to add USB3 support to winpe.wim file from KB3AIK_PL.ISO. I use Index 1 because winpe.wim have only Index 1. There are no errors during the integration of the files but after booting the PC from a pendrive, the keyboard and USB mouse does not work :confused::confused:
    What is it about?

    Edit
    -----
    Instead of a system dism.exe, I install WAIK from KB3AIK_PL.ISO 1.23GB and used dism.exe from WAIK:
    Code:
    C:\Program Files\Windows AIK\Tools\PETools>copype x86 d:\pliki
    The script moves to d:\pliki
    Code:
    dism /mount-wim /wimfile:winpe.wim /index:1 /mountdir:mount
    
    dism /image:mount /add-package /packagepath:..\windows6.1-kb2864202-x86.msu
    dism /image:mount /add-driver /driver:..\x86
    
    dism /unmount-wim /mountdir:mount /commit
    
    copy winpe.wim ISO\sources\boot.wim
    
    oscdimg -n -bISO\boot\etfsboot.com ISO winpe_x86.iso
    I copying files from ISO to USB stick FAT32 formatted and boot from it but USB keyboard and mouse not work.

    Maybe winpe.wim from this KB3AIK_PL.ISO 1.23GB is too old and not support USB3 ??? But why no any errors while adding package and driver?
    Code:
    d:\pliki>dism /image:mount /add-package /packagepath:..\windows6.1-kb2864202-x86.msu
    
    Wersja narzędzia do obsługi obrazu wdrażania
    i zarządzania nim: 6.1.7600.16385
    
    Wersja obrazu: 6.1.7600.16385
    
    Trwa przetwarzanie: 1 z 1 - Dodawanie pakietu d:\windows6.1-kb2864202-x86.msu
    
    Operacja ukończona pomyślnie.
    
    d:\pliki>dism /image:mount /add-driver /driver:..\x86
    
    Wersja narzędzia do obsługi obrazu wdrażania
    i zarządzania nim: 6.1.7600.16385
    
    Wersja obrazu: 6.1.7600.16385
    
    Trwa wyszukiwanie pakietów sterowników do zainstalowania...
    Liczba znalezionych pakietów sterowników do zainstalowania: 2.
    Instalowanie 1 z 2 - d:\x86\uaspstor.inf: Pakiet sterowników został pomyślnie zainstalowany.
    Instalowanie 2 z 2 - d:\x86\usbxhci.inf: Pakiet sterowników został pomyślnie zainstalowany.
    Operacja ukończona pomyślnie.
    
    d:\pliki>dism /unmount-wim /mountdir:mount /commit
    
    Wersja narzędzia do obsługi obrazu wdrażania
    i zarządzania nim: 6.1.7600.16385
    
    Plik obrazu: d:\pliki\winpe.wim
    Indeks obrazu: 1
    Zapisywanie obrazu
    [==========================100.0%==========================]
    Odinstalowywanie obrazu
    [==========================100.0%==========================]
    Operacja ukończona pomyślnie.
    
    d:\pliki>copy winpe.wim ISO\sources\boot.wim
    Liczba skopiowanych plików:         1.
    
    d:\pliki>oscdimg -n -bISO\boot\etfsboot.com ISO winpe_x86.iso
    
    OSCDIMG 2.55 CD-ROM and DVD-ROM Premastering Utility
    Copyright (C) Microsoft, 1993-2007. All rights reserved.
    Licensed only for producing Microsoft authorized content.
    
    
    Scanning source tree
    Scanning source tree complete (17 files in 8 directories)
    
    Computing directory information complete
    
    Image file is 146767872 bytes
    
    Writing 17 files in 8 directories to winpe_x86.iso
    
    100% complete
    
    Final image file is 146767872 bytes
    
    Done.
    

    Edit 2
    =====
    I found a solution - I need to add also winpe-wmi-x86.cab from WAIK Supplement ISO
     
  4. florzy

    florzy MDL Novice

    Sep 5, 2023
    7
    1
    0
    So i want to get Windows Vista Ultimate SP2 x64 running on my Acer Predator Helios 300 with Sienna_KLS board. However this forum have a lot of pages and it’s pretty long so when i have time i might read everything. I tried booting to Windows Vista setup usb directly and it booted but no mouse and keyboard working. Then when i restarted to Windows 10 i got disk check for some reason. So can somebody give me a leg up and give me the tools / links to get the usb drivers integrated please? Also could i use Windows 10 boot.wim for the first part of setup?
     
  5. florzy

    florzy MDL Novice

    Sep 5, 2023
    7
    1
    0
    will try when im back from school, thanks.
     
  6. 4ripz

    4ripz MDL Novice

    May 22, 2022
    7
    0
    0
    #327 4ripz, Apr 5, 2024
    Last edited: Apr 5, 2024
    Hello, i want make a .iso for my z790 pc.
    Im use Ntlite to integrate updates (KB2864202/KB4474419/KB4490620), nvme updates and usb drivers from 1st post (ntlite shows detect drivers for usb)
    Im boot to installer, but my kb / mice not work.
    what i do wrong?
    p.s. im install mcs9990 for continue installation but install dont see my nvme (hynix p41)
    edit: Im use driver and updates for wimboot too, and my keyboard work in installer now!
    but installer not see any drives, but if im click on "browse" im see all folders of my nvme (before only hdd)
    im need specific nvme driver for my hynix p41 ?
    ahh , yes im use moded bootx64.efi for uefi-gpt install, but same without (im test csm)
     
  7. JKDC

    JKDC MDL Novice

    Feb 17, 2021
    26
    3
    0
    This worked to enable the usb-c port on the 2080 Ti. It only supports the basic functions like charging and file transfer and not VR headsets but it is still most welcome. Thanks.
     
  8. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    196
    445
    10
    Final update (really ;)) just released:
    - Includes updated usbhub3.sys driver from Windows Server 2012 December 2023 Security Rollup (KB5033429), only x64.
    - Includes updated uaspstor.sys driver from Windows 10 May 2020 Update (version 2004 or 20H1), fixes issues with USB to Serial ATA / NVMe bridges.
    - Updated usbxhci.inf to properly assign different driver date and version numbers for USB3 controller and hub devices.

    PS: I'll update fhe OP with info about the minimum required updates for SHA2 signing support.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. asdf23451

    asdf23451 MDL Member

    Feb 10, 2019
    130
    10
    10
    Can you bring back a Vista compatible release?
     
  10. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    196
    445
    10
    No, because it requires much more work and Vista doesn't run properly on anything but Ivy Bridge or older systems.
    Even AMD's counterparts have issues running it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. 2710

    2710 MDL Novice

    Mar 3, 2009
    1
    0
    0
    Thanks a lot.
     
  12. Uty-XP

    Uty-XP MDL Novice

    Apr 12, 2024
    12
    7
    0
    Hi,

    Thank for the update !
     
  13. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    #334 ralf ralf, Jul 17, 2024
    Last edited: Jul 18, 2024
    Hi Daniel_k,
    So the drivers are suitable for a bootstick and for the later installation on Windows 7. I have installed Win7 without CSm should be no problem or!
    How exactly do I install the driver if I already have Win7 installed?
    Or is it better to integrate the driver in the bootstick?
    Can anyone help me!?
    Do you still need these updates?KB2864202 - Security Update for Kernel-Mode Driver Framework (KMDF)
    - KB4474419 - SHA-2 code signing support update for Windows 7: September 23, 2019:
    Why has Simplix not integrated this update?
    I have made a bootstick with Simplix. Does everything apply as described at the beginning of the thread?
    Thanks
     
  14. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,826
    2,426
    60
    Is included in the convenience rollup KB3125574-v4. KB2864202 itself is only integrated in boot.wim and winre.wim(obviously you don't want a giant rollup update in tiny environments).

    KB4474419-v3 September 2019 replaces the previous iterations of the update and is included in the updatepack.


    If you already have a working usb3 driver, you don't need to do anything. If you're making an up-to-date iso from scratch, this universal usb3 stack is already included in the simplix updatepack since this month and it gets integrated where necessary.
     
  15. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    Ok, this update makes the replacement as described at the beginning of the thread superfluous! When exactly was this update incorporated? May or June?
    So the current USB3.x stack is already fully supported and is automatically activated as soon as USB3.x devices are detected?
     
  16. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,826
    2,426
    60
    You seem to be overthinking a lot.
    The KB4474419-v3 update is included in the updatepack since its release - September 2019.
    The usb3 stack is obviously working when you connect a usb3 device to a usb3 port.

    Now the actual question is - what are you trying to do?
    - installing the usb3 stack on a running system - I already said it's pointless if you have a driver for your particular platform.
    - integrating it into a windows 7 iso - you either integrate it manually(dism /add-driver) and have to or you just use simplix updatepack to make an up-to-date iso since the pack already contains this exact usb3 stack.
     
  17. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    Ok, all good! I was thinking out loud a bit too much :)
    I'll just try the new update pack and then it's good....Thank you
     
  18. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    Hi,
    I have tested the update with a bootstick and win7-UEFI freshly installed. All devices are recognized well and quickly, really super!!!!
    Only one problem remains.
    When I connect a USB keyboard, it does not work and is recognized in the device manager
    HID\VID_1A2C&PID_0E24&REV_0110&MI_00
    HID\VID_093A&PID_1688&REV_0126&Col02
    HID\VID_093A&PID_1688&REV_0126&Col04
    I have also tried all the settings in the Bios, but none of them have produced a positive result! I am at the end of my knowledge! Does anyone know the problem that the USB keyboard does not work? I have tested 3 of them, none of them worked!
    I can't find any drivers for it anywhere!???

    Greetz
     
  19. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    Hi again,
    I still have the problem that my USB keyboard is not recognized with Win7 UEFi!!!. My system has a Z370 chipset and all USB are at least USB3.x!
    Does anyone know anything! Do I have to consider anything with the Simplix_Update for Win USBStick in combination with FlashbootPro! I don't know why the keyboard doesn't work!!! The bios settings are all set to compatible!