embedded turning off hub?

  • Thread starter Thread starter Robert Dormer
  • Start date Start date
R

Robert Dormer

Hello all,

After having added USB hub and mass storage drivers to the image I'm
building, I find that mass storage devices still don't work. Curiously
enough, they seem to work while the machine is still booting up, but once
windows appears, they stop. Is there something obvious I'm missing here?
Does windows muck with any bios settings?

Regards,
Rob
 
Robert,

Windows stops and invalidate all BIOS settings so you should see what
drivers do you miss.

Go to device manager or devcon and check UHCI and EHCI drivers. If you added
manualy support for USB I guess that you forgot to add them.
Standard Enhanched PCI to USB Host Controler.
Standard Universal PCI to USB Host Controler.
Standard OpenHCD PCI to USB Host Controler.

Please analyze or/and send us setupapi.log if you can't make this work.

Regards,
Slobodan
 
Go to device manager or devcon and check UHCI and EHCI drivers. If you
added

Sorry, I'm not sure exactly what you're referring to here - which device
manager, and what do you mean by devcon?
Please analyze or/and send us setupapi.log if you can't make this work.

Which section, since it's too large for this group?
 
Robert,

For devcon description check here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;311272

Device Manager if you have it in your image is the same as on XP
Proffesional you can see if you have hardware detected that you did not
provided drivers for.

Do you have these components in your image? "Standard Enhanched PCI to USB
Host Controler" "Standard Universal PCI to USB Host Controler" "Standard
OpenHCD PCI to USB Host Controler"
Add them.

Use zip on setupapi.log and then use Outlook Express to post it here as
attachement.

Regards,
Slobodan
 
Robert,

I do not understand this setupapi.log file it look as if PnP installation
was never done. This could mean that you don't have component "PnP
(User-mode)".

Please add this component.

Regards,
Slobodan
 
Robert,

Add:"USB User Interface" just to be there.

Also check for following files if they are in your image:
@ 05:40:14.843 #V322 Error deleting file "C:\WINDOWS\System32\usbhub.sys":
Error 2: The system cannot find the file specified.
@ 05:40:14.859 #V322 Error deleting file "C:\WINDOWS\System32\openhci.sys":
Error 2: The system cannot find the file specified.
@ 05:40:14.875 #V322 Error deleting file "C:\WINDOWS\System32\usbohci.sys":
Error 2: The system cannot find the file specified.
@ 05:40:14.890 #V322 Error deleting file "C:\WINDOWS\System32\usbport.sys":
Error 2: The system cannot find the file specified.
@ 05:40:14.921 #V322 Error deleting file "C:\WINDOWS\System32\uhcd.sys":
Error 2: The system cannot find the file specified.
@ 05:40:14.937 #V322 Error deleting file "C:\WINDOWS\System32\usbd.sys":
Error 2: The system cannot find the file specified.
@ 05:40:14.953 #V322 Error deleting file "C:\WINDOWS\System32\imagecls.sys":
Error 2: The system cannot find the file specified.
@ 05:40:14.968 #V322 Error deleting file "C:\WINDOWS\System32\hcd.vxd":
Error 2: The system cannot find the file specified.
@ 05:40:14.984 #V322 Error deleting file "C:\WINDOWS\System32\usbd.vxd":
Error 2: The system cannot find the file specified.
@ 05:40:15.000 #V322 Error deleting file "C:\WINDOWS\System32\usb_enum.vxd":
Error 2: The system cannot find the file specified.
@ 05:40:15.015 #V322 Error deleting file "C:\WINDOWS\System32\vtaishid.vxd":
Error 2: The system cannot find the file specified.
@ 05:40:15.031 #V322 Error deleting file "C:\WINDOWS\System32\tmusb.sys":
Error 2: The system cannot find the file specified.
@ 05:40:15.062 #V322 Error deleting file "C:\WINDOWS\System32\taishid.sys":
Error 2: The system cannot find the file specified.
@ 05:40:15.078 #V322 Error deleting file "C:\WINDOWS\System32\usbuidll.dll":
Error 2: The system cannot find the file specified.
@ 05:40:15.093 #V322 Error deleting file "C:\WINDOWS\System32\usbhub20.sys":
Error 2: The system cannot find the file specified.


Regards,
Slobodan
 
Robert,

That would mean you don't have USB basic components (hub, controller, etc.) in your image.

How did you add USB hub and mass storage drivers then? (you mentioned that at the beginning of the thread)
 
Robert,

Like Konstatin said.
Also you never responded with answer on my question about certain component
in my second reply in this thread.

You don't have these components and you ignored my question.

Regards,
Slobodan
 
Slobodan,

My apologies - I added the components you listed, and they are still present
in the image, as far as I can tell in Target Designer.
 
Robert,

Now I'm totaly confused.

What did you mean by this question: "If these files are not present, what
would that indicate?"?

Do you have files from the list shown in setupapi.log?

Regards,
Slobodan
 
I added them from Target Designer by selecting them in the "Components"
pane....


KM said:
Robert,

That would mean you don't have USB basic components (hub, controller, etc.) in your image.

How did you add USB hub and mass storage drivers then? (you mentioned that
at the beginning of the thread)
 
Slobodan Brcin (eMVP) said:
Robert,

Now I'm totaly confused.

That would make two of us, I'm afraid :)
What did you mean by this question: "If these files are not present, what
would that indicate?"?

Do you have files from the list shown in setupapi.log?

They are listed in setupapi.log, but they are NOT present in the actual
installed image. I find these lines in setupapi.log

@ 05:40:17.453 #V191 File "C:\WINDOWS\system32\drivers\usbohci.sys" pruned
from copy.
@ 05:40:17.468 #V191 File "C:\WINDOWS\system32\drivers\usbport.sys" pruned
from copy.
@ 05:40:17.484 #V191 File "C:\WINDOWS\system32\drivers\usbhub.sys" pruned
from copy.

So I've added these components

Standard Enhanched PCI to USB Host Controler.
Standard Universal PCI to USB Host Controler.
Standard OpenHCD PCI to USB Host Controler.
Plug And Play (User Mode)
USB User Interface

as per your instructions, but it would appear that the files you listed,
while shown in setupapi.log, are not present in the image being installed -
I can't find them anywhere on the disk.
 
Robert,

Ok so you have following problem.
You have proper components but that components do not copy files that they
supose to copy to your image.

Please use build type "release" on top of central panel in TD.

Basicaly missing files error should not be possible in other case.

Also plase create new empty project and add components that you have listed.
Then build image and look in system32\drivers folder what do you see?
Files must be there.

Regards,
Slobodan
 
Slobodan,
Ok so you have following problem.
You have proper components but that components do not copy files that they
supose to copy to your image.

Actually, it would appear that they're being "pruned" from the installation.
I'm not sure why, and I guess that's my question.
Please use build type "release" on top of central panel in TD.

All building so far has been done with release.
Basicaly missing files error should not be possible in other case.

Also plase create new empty project and add components that you have listed.
Then build image and look in system32\drivers folder what do you see?
Files must be there.

The files are there, but then when the image is installed on a new machine,
they are deleted. Why is this?

Regards,
Rob
 
Robert,

I have been dealing for more than a year purely with USB related stuff and
problems, but this one is completely new.

You are using some SiS usb controller which I have never tested but this
can't explain files missing.
Do you use some third-party components that someone or you made regarding
USB devices? Delete these from your image until you make your USB working
then add then one by one.

Usually driver files should not be deleted for any reason that PnP might
have.

Regards,
Slobodan
 
Back
Top