Page 77 of 345
#1141 RE: Windows XP SP3 32bit and modern PC parts by canonkong 25.07.2019 17:47

avatar

@diderius6
Use IDA to fix hub.sys, maybe will work.

#1142 RE: Windows XP SP3 32bit and modern PC parts by infuscomus 26.07.2019 10:24

If we can figure out how to backport KMDF 1.13 to XP then we could use the generic Microsoft driver

seems like a bit of a challenge though

#1143 RE: Windows XP SP3 32bit and modern PC parts by diderius6 26.07.2019 14:43

This is really strange: The very first NEC USB 3.0 driver is started in legacy mode, but fails for the Intel chipset USB 3.0.
This makes me sure, that the problem is in xhci.sys (here name nusb3xhc, together with Intel) and not in hub3.sys
Dietmar

0: kd> !devnode 0 1 nusb3xhc
Dumping IopRootDeviceNode (= 0x8a4c7810)
DevNode 0x8a4c55e8 for PDO 0x8a4c5730
InstancePath is "Root\LEGACY_NUSB3XHC\0000"
ServiceName is "nusb3xhc"
State = DeviceNodeStarted (0x308)
Previous State = DeviceNodeEnumerateCompletion (0x30d)
DevNode 0x8a4c7128 for PDO 0x8a4c1a08
InstancePath is "PCI\VEN_8086&DEV_A2AF&SUBSYS_A2AF1849&REV_00\2&ebb567f&0&A0"
ServiceName is "nusb3xhc"
State = DeviceNodeRemoved (0x312)
Previous State = DeviceNodeStartCompletion (0x306)
Problem = CM_PROB_FAILED_START
Failure Status 0000000000

#1144 RE: Windows XP SP3 32bit and modern PC parts by diderius6 26.07.2019 15:03

@ infuscomus
There is KMDF for Vista, I think also with an example driver for USB
Dietmar

docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/tutorial--write-your-first-usb-client-driver--kmdf-

#1145 RE: Windows XP SP3 32bit and modern PC parts by diderius6 27.07.2019 01:44

May be we need WDFLDR.SYS (from Vista-Longhorn5048, Vista, Win7) all 32 bit
for XP for Intel USB
Dietmar

PS:Intel USB 3 drivers need WDFLDR.SYS (Kernel Mode Driver Framework LOADER) which doesn't exist on XP.
XP drivers require coinstaller WdfCoInstaller01009.dll (included with driver, it installs wdfldr.sys and wdf01000.sys) and separate usbd.sys.
I install the Microsoft Kernel Mode Driver Framework runtime 'Microsoft Kernel-Mode Driver Framework Install-v1.9-Win2k-WinXP-Win2k3.exe' extracted from WdfCoinstaller01009.dll which is the co-installer for KMDF 1.9.
This drivers here have all only dependecies for XP!

EDIT: This brings me to the idea, to install the very first USB driver from NEC on Longhorn 5048 for Intel chipset USB3.0.

#1146 RE: Windows XP SP3 32bit and modern PC parts by infuscomus 27.07.2019 13:34

Someone tried to make an xhci driver for ReactOS

https://reactos.org/blogs/gsoc-xhci-final-submission

https://github.com/reactos/reactos/tree/...ers/usb/usbxhci

#1147 RE: Windows XP SP3 32bit and modern PC parts by diderius6 27.07.2019 13:53

@infuscomus

This person from reactos has the problem with xhci.sys for USB 3.0, that USBSTOR.sys is not loaded but he does not understand this.
Because of this comes "unknown device".
Even I do not know, if this will work for Intel USB chipset, because Intel makes now use of KMDF driver model for all their USB.
We have KMDF 1.9 (from Win7) for XP , the Microsoft Kernel-Mode Driver Framework Install-v1.9-Win2k-WinXP-Win2k3.exe above installs with all registry entries WDFLDR.SYS and wdf01000.sys in XP SP3 32 bit, I have tested.
Now we can use the *.inf from Win7 for USB from @canonkong with xhci.sys and usbhub3.sys with dependencies only for XP
and voila, there is USB on XP for all Intel chipsets. A first try can be done with Vista and the modded USB drivers for Win7 from @canonkong, if Vista fullfill all the dependencies
Dietmar

PS: Here is the installer for KMDF 1.9 for Vista 32 bit.

#1148 RE: Windows XP SP3 32bit and modern PC parts by canonkong 27.07.2019 15:20

avatar

@diderius6
Is it possible to Import table dynamic patch and point the Win10-specific import API to wrapper. Like NDIS-Wrapper.
Some hackers told me that we can port win10's USB driver to win7, but I think even the world's top hackers don't have this ability.

#1149 RE: Windows XP SP3 32bit and modern PC parts by diderius6 27.07.2019 15:59

@canonkong
I think, for to make to work Intel chipset USB under XP,
it is now just enough, to cancel the not from XP fullfilled dependencies
from your USB drivers for Win7
Dietmar

#1150 RE: Windows XP SP3 32bit and modern PC parts by diderius6 27.07.2019 20:35

This VIA USB3 is for XP, Vista and Win7.
It has the installer for KMDF 1.9 for each of them integrated and fullfills all dependencies for XP.
Any generic USB 3.0 driver for XP SP3 32bit Intel chipset should look very similar to this one
Dietmar

PS: I installed all versions for XP, Vista, Win7,
but no one works for XP for Intel chipset USB, strange..

EDIT: The VEN_1106&DEV_3432 seems to be hardwired in xhcdrv.sys.
@canonkong can you please make a try to mod this one for generic?


EDIT2: CM_PROB_FAILED_ADD
CM_PROB_FAILED_ADD

A driver's attempt to add a device failed.
Error Code

31
Display Message (Windows 2000 and later versions of Windows)

"This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)"
Recommended Resolution (Windows 2000 and later versions of Windows)

Update the device driver.

Starting with Windows XP,
this problem can only occur if the driver's AddDevice routine fails.

May be this is because of hardwired VEN_&DEV_.

#1151 RE: Windows XP SP3 32bit and modern PC parts by infuscomus 27.07.2019 22:18

@diderius6 @canonkong

Fresco logic driver also uses KMDF 1.9 - so it might be an option

#1152 RE: Windows XP SP3 32bit and modern PC parts by diderius6 27.07.2019 22:35

@infuscomus

The file fresco-usb3-v3.6.9.0.7z.zip
cant be downloaded correct, has error
Dietmar

EDIT: Correction, newest winrar works for to unpack this file.

#1153 RE: Windows XP SP3 32bit and modern PC parts by diderius6 27.07.2019 23:08

Fresco driver is loaded in XP for Intel chipset USB30, but does not start.
The reason, why it does not start can also be the fault of the hub3.sys there
Dietmar

0: kd> !DevNode 0x8a475a58
DevNode 0x8a475a58 for PDO 0x8a476a90
Parent 0x8a4c26e0 Sibling 0x8a475938 Child 0000000000
InstancePath is "PCI\VEN_8086&DEV_A2AF&SUBSYS_A2AF1849&REV_00\2&ebb567f&0&A0"
ServiceName is "FLxHCIc"
State = DeviceNodeRemoved (0x312)
Previous State = DeviceNodeStartCompletion (0x306)
StateHistory[06] = DeviceNodeStartCompletion (0x306)
StateHistory[05] = DeviceNodeAwaitingQueuedRemoval (0x30f)
StateHistory[04] = DeviceNodeStartCompletion (0x306)
StateHistory[03] = DeviceNodeResourcesAssigned (0x304)
StateHistory[02] = DeviceNodeDriversAdded (0x303)
StateHistory[01] = DeviceNodeInitialized (0x302)
StateHistory[00] = DeviceNodeUninitialized (0x301)
StateHistory[19] = Unknown State (0x0)
StateHistory[18] = Unknown State (0x0)
StateHistory[17] = Unknown State (0x0)
StateHistory[16] = Unknown State (0x0)
StateHistory[15] = Unknown State (0x0)
StateHistory[14] = Unknown State (0x0)
StateHistory[13] = Unknown State (0x0)
StateHistory[12] = Unknown State (0x0)
StateHistory[11] = Unknown State (0x0)
StateHistory[10] = Unknown State (0x0)
StateHistory[09] = Unknown State (0x0)
StateHistory[08] = Unknown State (0x0)
StateHistory[07] = Unknown State (0x0)
Flags (0x00002030) DNF_ENUMERATED, DNF_IDS_QUERIED,
DNF_HAS_PROBLEM
CapabilityFlags (0x00002000) WakeFromD3
Problem = CM_PROB_FAILED_START
Failure Status 0000000000

#1154 RE: Windows XP SP3 32bit and modern PC parts by infuscomus 28.07.2019 08:12

@diderius6

can you manually install the hub?

#1155 RE: Windows XP SP3 32bit and modern PC parts by diderius6 28.07.2019 12:01

@infuscomus
This is not possible.
First has always the main driver xhci.sys to be loaded
and only if this is ok, hub3.sys asks for driver.
Even if from a working USB3 installation you delete the registry entries for xhci.sys,
the before working hub3.sys is also not loaded any longer
Dietmar

PS: One can make a try vice versa, if a working USB3 driver for Intel chipset also works on normal USB3,
because until now the difference between them is unclear.

Xobor Forum Software von Xobor
Datenschutz