Usb plug and play
Posted 05 February 2009 - 07:58 PM
The drives I am testing with are all formatted ntfs.
I am using winbuilder 76 and vistape 12rc1.
Any suggestions you may have would be welcome.
Posted 05 February 2009 - 08:54 PM
I have had some luck with UBS devices. I have 3 different trays or external USB hard drives I use. (All work)
If I can see them in Device Manager or My Computer I could access then without a problem.
One thing I did notice is if I use a 200gig or larger HD this took longer to detect and was not always accessible.
This MAYBE why setting ImDisk Ramdisk % 70 and FBWF % 256 helps
PNP does not work the way you would expect Yes devices can and are detected and installed but I have to refresh or close and reopen My Computer or Device Manager to view them and I have always had access to files on anything that was listed.
Total Commander worked best for me
Let us know what you find out and I hope this helps
Posted 05 February 2009 - 10:17 PM
All of these devices are properly detected if they are connected during bootup. I have also noticed that if the drive is connected during boot I can disconnect the drive and plug it back in and it is redetected properly.
Posted 05 February 2009 - 10:34 PM
Can i ask whats your source? and what version WAIK you use,
Vista Ultimate SP0
I would like to figure out whats going on
ADDED edited Test machine has 1 gig ram
Posted 06 February 2009 - 12:18 AM
Posted 14 February 2009 - 01:33 AM
Posted 16 February 2009 - 12:02 PM
I found myself that sometimes it is just needed to physically attach then detach and attach again usb mass storage devices to have them seen in original VistaPE. Most of them, in fact, are correctly seen at boot time, then broken by problematic and buggy Vpeloader.exe and then u can have them reinstalled simply attaching them again like I said before. Tested this on many physical machines, many different chipsets and with builds made with Vista DVD SP1 source! That make del difference too IMHO (improved USB support in the SP1 kernel).
I am still having no luck with getting usb plug and play to work. I have tried using vista with or without sp1 as my source. I have downloaded the minimum vistape project adding only the driver scripts, explorer shell, and ImDisk script. I have also tried downloading the recommended project files as well. I have also tried downloading the file vistape12rc1-base.7z from vistape.net and using that to build. Each time I set my ramdisk to 70% and fbwf to 256. I have tested on several different machines with ram ranging from 1gb to 3gb. I tested with different usb drives and the result is always the same. The drive will show up in disk management but the filesystem is not detected. I tried formatting one of the drives but there was an unspecified error. If the drive is plugged in during boot then it works fine. I would really like to know if this is how it is working for anyone else. Maybe then I would feel a little less frustrated.
Posted 18 February 2009 - 11:46 PM
Posted 01 March 2009 - 04:46 AM
It works! It looks like copying over the entire windows/inf folder did the trick. Now I can plug in a usb drive that was not connected during boot. It doesn't automatically show up in my computer which would be nice but refreshing the view will get it to show up.
I am having trouble with the same thing. Any device that I plug into my computer that is USB will not work. I can see it in device manager so I try and manually have it search for the driver but it says "File not specified", or something to the effect that it can find the INF but not the .sys files. How did you integrate the entire windows\inf directory?
Posted 01 March 2009 - 06:30 AM
Posted 11 March 2009 - 06:26 PM
but does anybody know whether all entries within the inf folder and filerepository folder are necessary?
i made it with infcachebuild.exe from sherpya to rebuild the infcache1 file, but without the *.dat files it won't work. so does anybody know how to create such a file?
Posted 18 April 2009 - 07:34 PM
First in the folders section make sure these folders are being created and are not commented out.
DirMake,"%targetDir%\Windows\System32\DriverStore" DirMake,"%targetDir%\Windows\System32\DriverStore\%DistLang%" DirMake,"%targetDir%\Windows\System32\DriverStore\FileRepository"
Then at the end of the process section I put in this:
FileCopy,"%BootSRC%\windows\inf\infpub.dat","%TargetDir%\windows\inf\infpub.dat" FileCopy,"%BootSRC%\windows\inf\infstor.dat","%TargetDir%\windows\inf\infstor.dat" DirCopy,"%BootSRC%\windows\System32\DriverStore\FileRepository\disk.inf_126712d3","%TargetDir%\windows\System32\DriverStore\FileRepository" DirCopy,"%BootSRC%\windows\System32\DriverStore\FileRepository\usbstor.inf_ecddd81e","%TargetDir%\windows\System32\DriverStore\FileRepository" DirCopy,"%BootSRC%\windows\System32\DriverStore\FileRepository\volume.inf_c4d713d0","%TargetDir%\windows\System32\DriverStore\FileRepository" DirCopy,"%BootSRC%\windows\System32\DriverStore\%DistLang%\disk.inf_loc","%TargetDir%\windows\System32\DriverStore\%DistLang%\" DirCopy,"%BootSRC%\windows\System32\DriverStore\%DistLang%\usbstor.inf_loc","%TargetDir%\windows\System32\DriverStore\%DistLang%\" DirCopy,"%BootSRC%\windows\System32\DriverStore\%DistLang%\volume.inf_loc","%TargetDir%\windows\System32\DriverStore\%DistLang%\"
That seems to be all I need to get usb plug and play working correctly.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users