The USB Plug and Play is not work

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The XPE is include the HID and USB device,
and when I connected with USB keyboard & Mouse before turn-on the power,
system was found them,

but when I plug out USB cable then re-connect it,
The system is not detect USB device,
It is the same with my USB flash disk.
But when I reboot, everything go back.

Did I miss any thing?
 
Dear George

Thanks for reply and your advice,
But I got everything in XPe,

The USB kb & mouse and flash disk is work only
I plug-in them before power on,
if I connect USB device after system running,
There is nothing detect on system,

The Device Manager event without any unknow device.
 
Max,

Try adding the following registry entries at runtime and see if it helps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags]
"IgnoreHWSerNum04710302" = REG_BINARY "01"
GlobalDisableSerNumGen "= REG_BINARY "01"
"GenericUSBDeviceString"= REG_SZ "USB Device"
"GenericCompositeUSBDeviceString"= REG_SZ "Composite USB Device"

If helps, you can add these to the Extra Registry Settings within TD.

KM
 
Thanks KM for your advice,
I tried,
it is the same after I reconnect the USB device.
Event I click the icon of "Scan for hardware change",
System could not find any device which I just plug-in.

It seems the PnP function not work,
Is that problem with Minlogon which I'm using?
And I made the program for my shell.

KM said:
Max,

Try adding the following registry entries at runtime and see if it helps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags]
"IgnoreHWSerNum04710302" = REG_BINARY "01"
GlobalDisableSerNumGen "= REG_BINARY "01"
"GenericUSBDeviceString"= REG_SZ "USB Device"
"GenericCompositeUSBDeviceString"= REG_SZ "Composite USB Device"

If helps, you can add these to the Extra Registry Settings within TD.

KM
The XPE is include the HID and USB device,
and when I connected with USB keyboard & Mouse before turn-on the power,
system was found them,

but when I plug out USB cable then re-connect it,
The system is not detect USB device,
It is the same with my USB flash disk.
But when I reboot, everything go back.

Did I miss any thing?
 
Max,

Can you check setupapi.log file for any errors after you un-pluged and
pluged back a USB device?

KM
Thanks KM for your advice,
I tried,
it is the same after I reconnect the USB device.
Event I click the icon of "Scan for hardware change",
System could not find any device which I just plug-in.

It seems the PnP function not work,
Is that problem with Minlogon which I'm using?
And I made the program for my shell.

KM said:
Max,

Try adding the following registry entries at runtime and see if it helps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags]
"IgnoreHWSerNum04710302" = REG_BINARY "01"
GlobalDisableSerNumGen "= REG_BINARY "01"
"GenericUSBDeviceString"= REG_SZ "USB Device"
"GenericCompositeUSBDeviceString"= REG_SZ "Composite USB Device"

If helps, you can add these to the Extra Registry Settings within TD.

KM
The XPE is include the HID and USB device,
and when I connected with USB keyboard & Mouse before turn-on the power,
system was found them,

but when I plug out USB cable then re-connect it,
The system is not detect USB device,
It is the same with my USB flash disk.
But when I reboot, everything go back.

Did I miss any thing?
 
Max
:
1. Make sure that you have add the components below:
PnP (User-mode)
Generic USB Input Device Support
And your USB device drivers, just like "Logitech USB WheelMouse"
component

These are for use input device.
If your USB device also not work, please check the device on Device
Manager.

2. About the USB storage or other USB device. Please try to add the
component below:
This just advice, I'm not certain whether it can work.
USB Human Interface Device
USB Root Hub
USB User Interface
Generic USB Composite Device
Generic USB Hub
Generic USB Input Device Support (Macro)
HID Keyboard Device
HID-compliant consumer control device
VIA Rev 5 or later USB Universal Host Controller
 
KM

Thanks for your advice,

I was found the problem,
I using the ICH5 and installed the USB2.0 driver,
and the device of "Standard Enhanced PCI to USB Host Controller"
will change to "Intel PCI to USB Enhanced Host Controller - ICH5",
Then the USB device will not auto detect.

Is that driver problem? or ICH5's bug?

KM said:
Max,

Can you check setupapi.log file for any errors after you un-pluged and
pluged back a USB device?

KM
Thanks KM for your advice,
I tried,
it is the same after I reconnect the USB device.
Event I click the icon of "Scan for hardware change",
System could not find any device which I just plug-in.

It seems the PnP function not work,
Is that problem with Minlogon which I'm using?
And I made the program for my shell.

KM said:
Max,

Try adding the following registry entries at runtime and see if it helps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags]
"IgnoreHWSerNum04710302" = REG_BINARY "01"
GlobalDisableSerNumGen "= REG_BINARY "01"
"GenericUSBDeviceString"= REG_SZ "USB Device"
"GenericCompositeUSBDeviceString"= REG_SZ "Composite USB Device"

If helps, you can add these to the Extra Registry Settings within TD.

KM

The XPE is include the HID and USB device,
and when I connected with USB keyboard & Mouse before turn-on the power,
system was found them,

but when I plug out USB cable then re-connect it,
The system is not detect USB device,
It is the same with my USB flash disk.
But when I reboot, everything go back.

Did I miss any thing?
 
Hi Max,

I have two different boards with ICH5 and they are working perfectly with USB.

Also there are no special drivers for USB, USB 2.0 Intel inf files use same MS driver binaries as component you mention.
After using Intel inf files can you tell us if USB HC is working (in Device Manager or from devcon).

BTW: How did you componentized driver?

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Max said:
KM

Thanks for your advice,

I was found the problem,
I using the ICH5 and installed the USB2.0 driver,
and the device of "Standard Enhanced PCI to USB Host Controller"
will change to "Intel PCI to USB Enhanced Host Controller - ICH5",
Then the USB device will not auto detect.

Is that driver problem? or ICH5's bug?

KM said:
Max,

Can you check setupapi.log file for any errors after you un-pluged and
pluged back a USB device?

KM
Thanks KM for your advice,
I tried,
it is the same after I reconnect the USB device.
Event I click the icon of "Scan for hardware change",
System could not find any device which I just plug-in.

It seems the PnP function not work,
Is that problem with Minlogon which I'm using?
And I made the program for my shell.

:

Max,

Try adding the following registry entries at runtime and see if it helps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags]
"IgnoreHWSerNum04710302" = REG_BINARY "01"
GlobalDisableSerNumGen "= REG_BINARY "01"
"GenericUSBDeviceString"= REG_SZ "USB Device"
"GenericCompositeUSBDeviceString"= REG_SZ "Composite USB Device"

If helps, you can add these to the Extra Registry Settings within TD.

KM

The XPE is include the HID and USB device,
and when I connected with USB keyboard & Mouse before turn-on the power,
system was found them,

but when I plug out USB cable then re-connect it,
The system is not detect USB device,
It is the same with my USB flash disk.
But when I reboot, everything go back.

Did I miss any thing?
 
Max,

I don't think I understand your message completely.
But still, can you post your setupapi.log so that we could see what problems there (or explorer the log yourself).

Also, just in case, install this QFE :
http://www.microsoft.com/downloads/...b9-ebe1-4c5b-9dd4-5c0eb387311e&displaylang=en
It probably won't fix your issue but rather good to have in the image.

--
Regards,
KM, BSquare Corp.

KM

Thanks for your advice,

I was found the problem,
I using the ICH5 and installed the USB2.0 driver,
and the device of "Standard Enhanced PCI to USB Host Controller"
will change to "Intel PCI to USB Enhanced Host Controller - ICH5",
Then the USB device will not auto detect.

Is that driver problem? or ICH5's bug?

KM said:
Max,

Can you check setupapi.log file for any errors after you un-pluged and
pluged back a USB device?

KM
Thanks KM for your advice,
I tried,
it is the same after I reconnect the USB device.
Event I click the icon of "Scan for hardware change",
System could not find any device which I just plug-in.

It seems the PnP function not work,
Is that problem with Minlogon which I'm using?
And I made the program for my shell.

:

Max,

Try adding the following registry entries at runtime and see if it helps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags]
"IgnoreHWSerNum04710302" = REG_BINARY "01"
GlobalDisableSerNumGen "= REG_BINARY "01"
"GenericUSBDeviceString"= REG_SZ "USB Device"
"GenericCompositeUSBDeviceString"= REG_SZ "Composite USB Device"

If helps, you can add these to the Extra Registry Settings within TD.

KM

The XPE is include the HID and USB device,
and when I connected with USB keyboard & Mouse before turn-on the power,
system was found them,

but when I plug out USB cable then re-connect it,
The system is not detect USB device,
It is the same with my USB flash disk.
But when I reboot, everything go back.

Did I miss any thing?
 
Slobodan,
Thanks for your advice,
I updated the USB 2.0 driver, it was so.
I'm afraid that the USB device like HDD could not working on High-Speed
if the driver is using standard.

After Install this driver, the USB device like KB and Mouse and flash is
work only when I plug them on before power on.
After that, nothing will be detect, event just re-plug.

Dear KM,
Thanks for your information,
I had updated all of the QFE, and I had check the Q822603,
But the "Intel PCI to USB Enhanced Host Controller - ICH5"
is not on the list, also "USB 2.0 Root Hub"

Anyway, here is the USB2x.inf which I'm using for USB 2.0 driver:
--------------------------------------------------------------------------
; Copyright 2001
; Microsoft Corporation
; USB2.INF
; USB 2.0 Add-On Driver support
; For Windows 2000 and Windows XP
; Modified by Intel to support ICH5 DevID
;

[Version]
signature="$Windows NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%Msft%
DriverVer=06/01/2001,5.1.2600.0 ;Keep date prior to XP INF date
CatalogFile=USB2.CAT

[SourceDisksNames]
1=%Distribution%,usbehci.sys,,

[SourceDisksFiles]
usbehci.sys = 1
usbport.sys = 1
usbhub20.sys = 1
;usb2rn.doc = 1
hccoin.dll = 1

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir=11 ; LDID_SYS
;
; For Windows NT, all drivers go into %windir%\system32\drivers. Since
; there isn't a DIRID (LDID) that represents this path on both NT and Win95,
; we specify the relative path off of %windir%.
;
EHCI.CopyFiles.NT = 10, system32\drivers
USB.CopyFiles.NT = 10, system32\drivers
USBUI.CopyFiles.NT = 11
HUB20.CopyFiles.NT = 10, system32\drivers
HUB.CopyFiles.NT = 10, system32\drivers
USBHCCOIN.CopyFiles.NT = 11

; =================== Table of content =========================
; note that these are in alphabetical order
;

[Manufacturer]
%Generic%=Generic, NTx86.5.1
%Intel%=Intel, NTx86.5.1
%NEC%=NEC, NTx86.5.1
%VIA%=VIA, NTx86.5.1

; --------------------------------------------------------------
; EHCI
; --------------------------------------------------------------

; For Windows XP...
[EHCIXP]
Include=machine.inf
Needs=NO_DRV

[EHCIXP.Services]
DelService = usbhub20
Include=machine.inf
Needs=NO_DRV.Services

; For Windows 2000...
[EHCI.NT]
AddReg=EHCI.AddReg.NT
CopyFiles=EHCI.CopyFiles.NT,USBUI.CopyFiles.NT,USB.CopyFiles.NT
DelFiles=USB.DelFiles.NT

[EHCI.AddReg.NT]
HKR,,EnumPropPages32,,"usbui.dll,USBControllerPropPageProvider"
HKR,,Controller,1,01

[EHCI.CopyFiles.NT]
usbehci.sys
usbport.sys

[EHCI.NT.Services]
AddService = usbehci, 0x00000002, EHCI.AddService

[EHCI.AddService]
DisplayName = %EHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbehci.sys
LoadOrderGroup = Base

[EHCI.NT.CoInstallers]
CopyFiles=USBHCCOIN.CopyFiles.NT
AddReg=EHCI.NT.CoInstallers_AddReg

[EHCI.NT.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"hccoin.dll,HCCOIN_Entry"

;Keep this section to tell the coinstall what files to copy during WU install
[USB2COINSTALLER]
usbehci.sys
usbport.sys
usbhub20.sys
hccoin.dll

; --------------------------------------------------------------
; USB ROOT HUB (USB 2.0)
; --------------------------------------------------------------

[ROOTHUB2.NT]
CopyFiles=HUB20.CopyFiles.NT
DelFiles=HUB20.DelFiles.NT,USBINF.DelFiles.NT,USBMON.DelFiles.NT
AddReg=ROOTHUB2.AddReg.NT

[ROOTHUB2.AddReg.NT]
HKR,,EnumPropPages32,,"usbui.dll,USBHubPropPageProvider"

[ROOTHUB2.NT.Services]
AddService = usbhub20, 0x00000002, ROOTHUB2.AddService

[ROOTHUB2.AddService]
DisplayName = %ROOTHUB2.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub20.sys
LoadOrderGroup = Base
; --------------------------------------------------------------
; USB 2.0 Hub Support
; --------------------------------------------------------------
; For Windows NT...

[Usb2Hub.Dev.NT]
CopyFiles=HUB20.CopyFiles.NT
DelFiles=HUB20.DelFiles.NT,USBINF.DelFiles.NT,USBMON.DelFiles.NT
AddReg=Usb2Hub.AddReg.NT

[Usb2Hub.AddReg.NT]
;; bugbug this may have to change for 2.0 ui
HKR,,EnumPropPages32,,"usbui.dll,USBHubPropPageProvider"

[Usb2Hub.Dev.NT.Services]
AddService = usbhub20, 0x00000002, Usb2Hub.AddService

[Usb2Hub.AddService]
DisplayName = %Hub2.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub20.sys
LoadOrderGroup = Base

; =================== GENERIC ===================================
[Generic]
%USB\ROOT_HUB20.DeviceDesc%=ROOTHUB2,USB\ROOT_HUB20
; 2.0 HUBs
%USB\HubClass.DeviceDesc%=Usb2Hub.Dev,USB\HubClass

[Generic.NTx86.5.1]
; use usbhub.sys on the system for Windows XP
;%USB\ROOT_HUB20.DeviceDesc%=ROOTHUB2XP,USB\ROOT_HUB20

; =================== NEC ==================================
[NEC]
; for Windows 2000
%PCI\VEN_1033&DEV_00E0&REV_01.DeviceDesc%=EHCI,PCI\VEN_1033&DEV_00E0&REV_01
%PCI\VEN_1033&DEV_00E0&REV_02.DeviceDesc%=EHCI,PCI\VEN_1033&DEV_00E0&REV_02

[NEC.NTx86.5.1]
; for Windows XP
%PCI\VEN_1033&DEV_00E0&REV_01.DeviceDesc%=EHCIXP,PCI\VEN_1033&DEV_00E0&REV_01
%PCI\VEN_1033&DEV_00E0&REV_02.DeviceDesc%=EHCIXP,PCI\VEN_1033&DEV_00E0&REV_02

; =================== INTEL ===================================
[Intel]
%PCI\VEN_8086&DEV_24CD.DeviceDesc%=EHCI,PCI\VEN_8086&DEV_24CD

[INTEL.NTx86.5.1]
%PCI\VEN_8086&DEV_24CD.DeviceDesc%=EHCIXP,PCI\VEN_8086&DEV_24CD

[Intel]
%PCI\VEN_8086&DEV_24DD.DeviceDesc%=EHCI,PCI\VEN_8086&DEV_24DD

[INTEL.NTx86.5.1]
%PCI\VEN_8086&DEV_24DD.DeviceDesc%=EHCIXP,PCI\VEN_8086&DEV_24DD

; =================== VIA ===================================
[VIA]
%PCI\VEN_1106&DEV_3104.DeviceDesc%=EHCI,PCI\VEN_1106&DEV_3104

[VIA.NTx86.5.1]
%PCI\VEN_1106&DEV_3104.DeviceDesc%=EHCIXP,PCI\VEN_1106&DEV_3104

; =================== Global ==================================

[USB.CopyFiles.NT]

[USB2DOC.CopyFiles.NT]
;usb2rn.doc

[HUB.CopyFiles.NT]
; use usbhub.sys on the system

[HUB.DelFiles.NT]
; use usbhub.sys on the system

[HUB20.CopyFiles.NT]
usbhub20.sys

[HUB20.DelFiles.NT]
usbhub20.sys

[USB.DelFiles.NT]
usbhub20.sys,,,1
openhci.sys,,,1
usbohci.sys,,,1
usbport.sys,,,1
uhcd.sys,,,1
usbd.sys,,,1
usbcamd.sys,,,1
imagecls.sys,,,1
hcd.vxd,,,1
usbd.vxd,,,1
usb_enum.vxd,,,1
vtaishid.vxd,,,1
tmusb.sys,,,1
taishid.sys,,,1
usbuidll.dll,,,1

[USBMON.DelFiles]
mondrv.sys,,,1
mondll.dll,,,1

[USBMON.DelFiles.NT]
mondrv.sys,,,1
mondll.dll,,,1

[USBINF.DelFiles]

[USBINF.DelFiles.NT]

[USBUI.CopyFiles.NT]
;usbui.dll

[USBHCCOIN.CopyFiles.NT]
hccoin.dll

;------------------------------------------ cut here
---------------------------

[Strings]
Distribution="USB 2.0 (EHCI) Driver Disk"
Msft="Microsoft"
USBClassName="Universal Serial Bus controllers"

EHCIMP.SvcDesc="Microsoft USB 2.0 Enhanced Host Controller Miniport Driver"

Generic="(Standard USB Hub)"
Intel="Intel"
NEC="NEC"
VIA="VIA"

PCI\VEN_1033&DEV_00E0&REV_01.DeviceDesc="NEC PCI to USB Enhanced Host
Controller B0"
PCI\VEN_1033&DEV_00E0&REV_02.DeviceDesc="NEC PCI to USB Enhanced Host
Controller B1"

PCI\VEN_8086&DEV_24CD.DeviceDesc="Intel PCI to USB Enhanced Host Controller"
PCI\VEN_8086&DEV_24DD.DeviceDesc="Intel PCI to USB Enhanced Host Controller
- ICH5"

PCI\VEN_1106&DEV_3104.DeviceDesc="VIA PCI to USB Enhanced Host Controller"

USB\ROOT_HUB20.DeviceDesc="USB 2.0 Root Hub"
USB\HubClass.DeviceDesc="Generic USB Hub"

ROOTHUB.SvcDesc="USB Root Hub (usbport)"
ROOTHUB2.SvcDesc="USB 2.0 Root Hub Support"
Hub2.SvcDesc="USB Hub Support"
--------------------------------------------------------------------------
If there is anyone want to try this,
I can offer the driver and the SLD file.
Max

KM said:
Max,

I don't think I understand your message completely.
But still, can you post your setupapi.log so that we could see what problems there (or explorer the log yourself).

Also, just in case, install this QFE :
http://www.microsoft.com/downloads/...b9-ebe1-4c5b-9dd4-5c0eb387311e&displaylang=en
It probably won't fix your issue but rather good to have in the image.

--
Regards,
KM, BSquare Corp.

KM

Thanks for your advice,

I was found the problem,
I using the ICH5 and installed the USB2.0 driver,
and the device of "Standard Enhanced PCI to USB Host Controller"
will change to "Intel PCI to USB Enhanced Host Controller - ICH5",
Then the USB device will not auto detect.

Is that driver problem? or ICH5's bug?

KM said:
Max,

Can you check setupapi.log file for any errors after you un-pluged and
pluged back a USB device?

KM

Thanks KM for your advice,
I tried,
it is the same after I reconnect the USB device.
Event I click the icon of "Scan for hardware change",
System could not find any device which I just plug-in.

It seems the PnP function not work,
Is that problem with Minlogon which I'm using?
And I made the program for my shell.

:

Max,

Try adding the following registry entries at runtime and see if it
helps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags]
"IgnoreHWSerNum04710302" = REG_BINARY "01"
GlobalDisableSerNumGen "= REG_BINARY "01"
"GenericUSBDeviceString"= REG_SZ "USB Device"
"GenericCompositeUSBDeviceString"= REG_SZ "Composite USB Device"

If helps, you can add these to the Extra Registry Settings within TD.

KM

The XPE is include the HID and USB device,
and when I connected with USB keyboard & Mouse before turn-on the
power,
system was found them,

but when I plug out USB cable then re-connect it,
The system is not detect USB device,
It is the same with my USB flash disk.
But when I reboot, everything go back.

Did I miss any thing?
 
Hi Max,

Read this complete thread you will find some usefull info on the topic:
http://groups.google.com/groups?hl=...f=1&selm=#78YE#[email protected]
Dear KM,
Thanks for your information,
I had updated all of the QFE, and I had check the Q822603,
But the "Intel PCI to USB Enhanced Host Controller - ICH5"

Just make component that will copy ich5usb.inf to XPe inf folder PnP will do the rest.

Add components in your image like:
USB Human Interafce Device.
PnP (User-mode)
Plug and Play Software Device Enumerator
HID Keyboard Device
HID-compliat mouse
Standard Enchanched PCI to USB controler.
Standard Universal PCI to USB controler.
USB Mass Storage Device
USB Root Hub

Copy inf files and make sure that Q822603 is present.

Resolve all dependencies.

Best regards,
Slobodan





Max said:
Slobodan,
Thanks for your advice,
I updated the USB 2.0 driver, it was so.
I'm afraid that the USB device like HDD could not working on High-Speed
if the driver is using standard.

After Install this driver, the USB device like KB and Mouse and flash is
work only when I plug them on before power on.
After that, nothing will be detect, event just re-plug.

Dear KM,
Thanks for your information,
I had updated all of the QFE, and I had check the Q822603,
But the "Intel PCI to USB Enhanced Host Controller - ICH5"
is not on the list, also "USB 2.0 Root Hub"

Anyway, here is the USB2x.inf which I'm using for USB 2.0 driver:
--------------------------------------------------------------------------
; Copyright 2001
; Microsoft Corporation
; USB2.INF
; USB 2.0 Add-On Driver support
; For Windows 2000 and Windows XP
; Modified by Intel to support ICH5 DevID
;

[Version]
signature="$Windows NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%Msft%
DriverVer=06/01/2001,5.1.2600.0 ;Keep date prior to XP INF date
CatalogFile=USB2.CAT

[SourceDisksNames]
1=%Distribution%,usbehci.sys,,

[SourceDisksFiles]
usbehci.sys = 1
usbport.sys = 1
usbhub20.sys = 1
;usb2rn.doc = 1
hccoin.dll = 1

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir=11 ; LDID_SYS
;
; For Windows NT, all drivers go into %windir%\system32\drivers. Since
; there isn't a DIRID (LDID) that represents this path on both NT and Win95,
; we specify the relative path off of %windir%.
;
EHCI.CopyFiles.NT = 10, system32\drivers
USB.CopyFiles.NT = 10, system32\drivers
USBUI.CopyFiles.NT = 11
HUB20.CopyFiles.NT = 10, system32\drivers
HUB.CopyFiles.NT = 10, system32\drivers
USBHCCOIN.CopyFiles.NT = 11

; =================== Table of content =========================
; note that these are in alphabetical order
;

[Manufacturer]
%Generic%=Generic, NTx86.5.1
%Intel%=Intel, NTx86.5.1
%NEC%=NEC, NTx86.5.1
%VIA%=VIA, NTx86.5.1

; --------------------------------------------------------------
; EHCI
; --------------------------------------------------------------

; For Windows XP...
[EHCIXP]
Include=machine.inf
Needs=NO_DRV

[EHCIXP.Services]
DelService = usbhub20
Include=machine.inf
Needs=NO_DRV.Services

; For Windows 2000...
[EHCI.NT]
AddReg=EHCI.AddReg.NT
CopyFiles=EHCI.CopyFiles.NT,USBUI.CopyFiles.NT,USB.CopyFiles.NT
DelFiles=USB.DelFiles.NT

[EHCI.AddReg.NT]
HKR,,EnumPropPages32,,"usbui.dll,USBControllerPropPageProvider"
HKR,,Controller,1,01

[EHCI.CopyFiles.NT]
usbehci.sys
usbport.sys

[EHCI.NT.Services]
AddService = usbehci, 0x00000002, EHCI.AddService

[EHCI.AddService]
DisplayName = %EHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbehci.sys
LoadOrderGroup = Base

[EHCI.NT.CoInstallers]
CopyFiles=USBHCCOIN.CopyFiles.NT
AddReg=EHCI.NT.CoInstallers_AddReg

[EHCI.NT.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"hccoin.dll,HCCOIN_Entry"

;Keep this section to tell the coinstall what files to copy during WU install
[USB2COINSTALLER]
usbehci.sys
usbport.sys
usbhub20.sys
hccoin.dll

; --------------------------------------------------------------
; USB ROOT HUB (USB 2.0)
; --------------------------------------------------------------

[ROOTHUB2.NT]
CopyFiles=HUB20.CopyFiles.NT
DelFiles=HUB20.DelFiles.NT,USBINF.DelFiles.NT,USBMON.DelFiles.NT
AddReg=ROOTHUB2.AddReg.NT

[ROOTHUB2.AddReg.NT]
HKR,,EnumPropPages32,,"usbui.dll,USBHubPropPageProvider"

[ROOTHUB2.NT.Services]
AddService = usbhub20, 0x00000002, ROOTHUB2.AddService

[ROOTHUB2.AddService]
DisplayName = %ROOTHUB2.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub20.sys
LoadOrderGroup = Base
; --------------------------------------------------------------
; USB 2.0 Hub Support
; --------------------------------------------------------------
; For Windows NT...

[Usb2Hub.Dev.NT]
CopyFiles=HUB20.CopyFiles.NT
DelFiles=HUB20.DelFiles.NT,USBINF.DelFiles.NT,USBMON.DelFiles.NT
AddReg=Usb2Hub.AddReg.NT

[Usb2Hub.AddReg.NT]
;; bugbug this may have to change for 2.0 ui
HKR,,EnumPropPages32,,"usbui.dll,USBHubPropPageProvider"

[Usb2Hub.Dev.NT.Services]
AddService = usbhub20, 0x00000002, Usb2Hub.AddService

[Usb2Hub.AddService]
DisplayName = %Hub2.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub20.sys
LoadOrderGroup = Base

; =================== GENERIC ===================================
[Generic]
%USB\ROOT_HUB20.DeviceDesc%=ROOTHUB2,USB\ROOT_HUB20
; 2.0 HUBs
%USB\HubClass.DeviceDesc%=Usb2Hub.Dev,USB\HubClass

[Generic.NTx86.5.1]
; use usbhub.sys on the system for Windows XP
;%USB\ROOT_HUB20.DeviceDesc%=ROOTHUB2XP,USB\ROOT_HUB20

; =================== NEC ==================================
[NEC]
; for Windows 2000
%PCI\VEN_1033&DEV_00E0&REV_01.DeviceDesc%=EHCI,PCI\VEN_1033&DEV_00E0&REV_01
%PCI\VEN_1033&DEV_00E0&REV_02.DeviceDesc%=EHCI,PCI\VEN_1033&DEV_00E0&REV_02

[NEC.NTx86.5.1]
; for Windows XP
%PCI\VEN_1033&DEV_00E0&REV_01.DeviceDesc%=EHCIXP,PCI\VEN_1033&DEV_00E0&REV_01
%PCI\VEN_1033&DEV_00E0&REV_02.DeviceDesc%=EHCIXP,PCI\VEN_1033&DEV_00E0&REV_02

; =================== INTEL ===================================
[Intel]
%PCI\VEN_8086&DEV_24CD.DeviceDesc%=EHCI,PCI\VEN_8086&DEV_24CD

[INTEL.NTx86.5.1]
%PCI\VEN_8086&DEV_24CD.DeviceDesc%=EHCIXP,PCI\VEN_8086&DEV_24CD

[Intel]
%PCI\VEN_8086&DEV_24DD.DeviceDesc%=EHCI,PCI\VEN_8086&DEV_24DD

[INTEL.NTx86.5.1]
%PCI\VEN_8086&DEV_24DD.DeviceDesc%=EHCIXP,PCI\VEN_8086&DEV_24DD

; =================== VIA ===================================
[VIA]
%PCI\VEN_1106&DEV_3104.DeviceDesc%=EHCI,PCI\VEN_1106&DEV_3104

[VIA.NTx86.5.1]
%PCI\VEN_1106&DEV_3104.DeviceDesc%=EHCIXP,PCI\VEN_1106&DEV_3104

; =================== Global ==================================

[USB.CopyFiles.NT]

[USB2DOC.CopyFiles.NT]
;usb2rn.doc

[HUB.CopyFiles.NT]
; use usbhub.sys on the system

[HUB.DelFiles.NT]
; use usbhub.sys on the system

[HUB20.CopyFiles.NT]
usbhub20.sys

[HUB20.DelFiles.NT]
usbhub20.sys

[USB.DelFiles.NT]
usbhub20.sys,,,1
openhci.sys,,,1
usbohci.sys,,,1
usbport.sys,,,1
uhcd.sys,,,1
usbd.sys,,,1
usbcamd.sys,,,1
imagecls.sys,,,1
hcd.vxd,,,1
usbd.vxd,,,1
usb_enum.vxd,,,1
vtaishid.vxd,,,1
tmusb.sys,,,1
taishid.sys,,,1
usbuidll.dll,,,1

[USBMON.DelFiles]
mondrv.sys,,,1
mondll.dll,,,1

[USBMON.DelFiles.NT]
mondrv.sys,,,1
mondll.dll,,,1

[USBINF.DelFiles]

[USBINF.DelFiles.NT]

[USBUI.CopyFiles.NT]
;usbui.dll

[USBHCCOIN.CopyFiles.NT]
hccoin.dll

;------------------------------------------ cut here
---------------------------

[Strings]
Distribution="USB 2.0 (EHCI) Driver Disk"
Msft="Microsoft"
USBClassName="Universal Serial Bus controllers"

EHCIMP.SvcDesc="Microsoft USB 2.0 Enhanced Host Controller Miniport Driver"

Generic="(Standard USB Hub)"
Intel="Intel"
NEC="NEC"
VIA="VIA"

PCI\VEN_1033&DEV_00E0&REV_01.DeviceDesc="NEC PCI to USB Enhanced Host
Controller B0"
PCI\VEN_1033&DEV_00E0&REV_02.DeviceDesc="NEC PCI to USB Enhanced Host
Controller B1"

PCI\VEN_8086&DEV_24CD.DeviceDesc="Intel PCI to USB Enhanced Host Controller"
PCI\VEN_8086&DEV_24DD.DeviceDesc="Intel PCI to USB Enhanced Host Controller
- ICH5"

PCI\VEN_1106&DEV_3104.DeviceDesc="VIA PCI to USB Enhanced Host Controller"

USB\ROOT_HUB20.DeviceDesc="USB 2.0 Root Hub"
USB\HubClass.DeviceDesc="Generic USB Hub"

ROOTHUB.SvcDesc="USB Root Hub (usbport)"
ROOTHUB2.SvcDesc="USB 2.0 Root Hub Support"
Hub2.SvcDesc="USB Hub Support"
--------------------------------------------------------------------------
If there is anyone want to try this,
I can offer the driver and the SLD file.
Max

KM said:
Max,

I don't think I understand your message completely.
But still, can you post your setupapi.log so that we could see what problems there (or explorer the log yourself).

Also, just in case, install this QFE :
http://www.microsoft.com/downloads/...b9-ebe1-4c5b-9dd4-5c0eb387311e&displaylang=en
It probably won't fix your issue but rather good to have in the image.

--
Regards,
KM, BSquare Corp.

KM

Thanks for your advice,

I was found the problem,
I using the ICH5 and installed the USB2.0 driver,
and the device of "Standard Enhanced PCI to USB Host Controller"
will change to "Intel PCI to USB Enhanced Host Controller - ICH5",
Then the USB device will not auto detect.

Is that driver problem? or ICH5's bug?

:

Max,

Can you check setupapi.log file for any errors after you un-pluged and
pluged back a USB device?

KM

Thanks KM for your advice,
I tried,
it is the same after I reconnect the USB device.
Event I click the icon of "Scan for hardware change",
System could not find any device which I just plug-in.

It seems the PnP function not work,
Is that problem with Minlogon which I'm using?
And I made the program for my shell.

:

Max,

Try adding the following registry entries at runtime and see if it
helps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags]
"IgnoreHWSerNum04710302" = REG_BINARY "01"
GlobalDisableSerNumGen "= REG_BINARY "01"
"GenericUSBDeviceString"= REG_SZ "USB Device"
"GenericCompositeUSBDeviceString"= REG_SZ "Composite USB Device"

If helps, you can add these to the Extra Registry Settings within TD.

KM

The XPE is include the HID and USB device,
and when I connected with USB keyboard & Mouse before turn-on the
power,
system was found them,

but when I plug out USB cable then re-connect it,
The system is not detect USB device,
It is the same with my USB flash disk.
But when I reboot, everything go back.

Did I miss any thing?
 
Back
Top