dencorso, on Dec 23 2009, 10:14 PM, said:
But, since you've added the most up-to-date working USBSTOR.SYS from Win 2k, it's necessary to ensure WDMSTUB.SYS gets loaded too. The easiest way to do it is to use the appropriate line I left commented out in the latest version of USBSTOR.INF, findable in
usbstor110c.7z, after inverting the semicolon as per
this post, to ensure WDMSTUB gets loaded. * Note: It may be necessary to remove from device manager and redetect any previously detected USB devices, to get them to use the new usbstor.inf (insted of what already was in the registry).*
I've thought of that, but the way it is in your INF and the other way [I'll get to that a lil later = pls see
#2. futher below] it is in the INF available inside maximus-decim's older NUSB 3.0 English executable, doesn't make sense to me.
#1. Let me explain... [the way it is in your modded INF]:
Quote
[USBSTOR.AddReg]
;HKR,,NTMPDriver,,"wdmstub.sys,USBSTOR.SYS"
HKR,,NTMPDriver,,USBSTOR.SYS
In my INF [USB20DRV.INF from USB20DRV.EXE] there are 2 NTMP driver strings for 2 different sections of USB installs, depending on the type of USB device (in this case EHCI + HUB) needed to be installed (only relevant strings quoted here):
Quote
[EHCI]
AddReg=EHCI.AddReg
[EHCI.AddReg]
HKR,,NTMPDriver,,USBEHCI.SYS
[ROOTHUB2]
AddReg=Usb2Hub.AddReg
[Usb2Hub.Dev]
CopyFiles=C_HUB
AddReg=Usb2Hub.AddReg
[Usb2Hub.AddReg]
HKR,,NTMPDriver,,USBHUB20.SYS
If I replace both with just this string:
HKR,,NTMPDriver,,"WDMSTUB.SYS,USBSTOR.SYS"
it defeats the purpose of installing separate drivers for different devices/types.
So this is what I did, to (hopefully) make every USB device type "happy":
Quote
[EHCI]
AddReg=EHCI.AddReg
[EHCI.AddReg]
;HKR,,NTMPDriver,,USBEHCI.SYS
HKR,,NTMPDriver,,"WDMSTUB.SYS,USBSTOR.SYS,USBEHCI.SYS"
[ROOTHUB2]
AddReg=Usb2Hub.AddReg
[Usb2Hub.Dev]
CopyFiles=C_HUB
AddReg=Usb2Hub.AddReg
[Usb2Hub.AddReg]
;HKR,,NTMPDriver,,USBHUB20.SYS
HKR,,NTMPDriver,,"WDMSTUB.SYS,USBSTOR.SYS,USBHUB20.SYS"
Please let me know if this makes sense to you (and others) who know more than I do about how USB drivers work, and if further modifications are necessary. Thnx.
#2. Another string I noticed exists [remarked/commented out] in maximus-decim's older NUSB 3.0 English INF [_NUSB.INF], is this:
Quote
;wdmstub
;HKLM,System\CurrentControlSet\Services\Class\System\0000,NTMPDriver,,"update.sys,wdmstub.sys"
which did not make sense to me either.
Let me explain...
The
0000 instance used in m-d's INF may or may not be allocated to the respective USB device, because no 2 systems are the same, and because everybody has different types [vendor ID] and different quantities of USB devices installed.
Therefore the
0000 instance may exist in the registry as
0001, 0002, 0003, etc... up to
0050 [most of the hardware devices can have up to 50 instances if memory serves (51 actually if one considers the 0000 instance) listed under specific sections in the registry].
For example, this is my 98SE registry relevant section:
Quote
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\MEDIA\0003]
"NTMPDriver"="HIDUSB.SYS"
"DriverDesc"="Logitech WingMan Extreme Digital 3D (USB)"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Mouse\0000]
"NTMPDriver"="HIDUSB.SYS"
"DriverDesc"="Microsoft USB IntelliMouse Explorer (IntelliPoint)"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Mouse\0005]
"NTMPDriver"="MOUHID.VXD"
"DriverDesc"="HID-compliant mouse"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\HID\0000]
"NTMPDriver"="HIDUSB.SYS"
"DriverDesc"="USB Human Interface Device"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\USB\0000]
"NTMPDriver"="UHCD.SYS"
"DriverDesc"="Intel 82371AB/EB PCI to USB Universal Host Controller"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\USB\0004]
"NTMPDriver"="USBHUB.SYS"
"DriverDesc"="USB Root Hub"
Hopefully the "fix" I made to USB20DRV.INF [pls see
#1. above] should take care of this issue too.
Pls test the modded USB20DRV at your convenience:
http://www.mdgx.com/files/USB20DRV.EXE
Best wishes,
Happy Holidays + Hpy Nw Yr!
HTH