Jump to content











Photo
- - - - -

USB 3 transfer rate in Win7PE

usb 3.0

  • Please log in to reply
11 replies to this topic

#1 lills1

lills1

    Newbie

  • Members
  • 29 posts
  •  
    United Kingdom

Posted 11 September 2012 - 08:40 PM

Hi,

My Win7PE project is all configured to include te USB 3 drivers for my Lenovo PC which has 2 USB 3 ports. I can successfully boot a USB 3 pen drive from either of the USB 3 ports and it boots into WinPE 3.1 with no major problems. However I have noticed that the transfer rate of copying from the Pen to the local disk appears to only be working at USB 2 speeds (30MB/sec). Has anyone else had this problem and have any solutions on how to get the full transfer rate? This would greatly reduce the time it takes for me to apply images.

I have checked device manager and the drivers appear to have installed correctly in the PE environment

#2 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 September 2012 - 09:11 PM

Please verify that your pen drive can deliver a higher speed on the computer in question, by testing it with a benchmark program in Win7PE and full installed Windows7.

CrystalDiskMark for instance.

:cheers:

#3 lills1

lills1

    Newbie

  • Members
  • 29 posts
  •  
    United Kingdom

Posted 11 September 2012 - 09:16 PM

Hi MedEvil. I have verified that the port and the pen can deliver USB 3 speeds by booting the same Lenovo PC into the normal full Win7 OS. I managed to get about 120MB/sec transfer rate.

#4 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 September 2012 - 11:47 PM

Ok, then we should mark this down as a verified bug.

Please state some more technical details, like chipset, driver used, 32/64Bit Win7PE, how you install the driver (what program do you use).

:cheers:

#5 lills1

lills1

    Newbie

  • Members
  • 29 posts
  •  
    United Kingdom

Posted 12 September 2012 - 07:54 AM

OK, here are the details:

Lenovo E530 Laptop
32 bit Win7PE
Intel 7 Series Chipset

The USB 3 devices that appear in Device Manager are:
Intel® USB 3.0 eXtensible Host Controller (version 1.0.5.235)
Intel® USB 3.0 Root Hub (version 1.0.5.235)

I have added these drivers to Win7PE using 2 methods. Firstly by using RemovableDeviceUSB3.script and specifying the Intel controller. The second was to use a script to inject the drivers into the build using Dism. I can see that the drivers have successfully been copied into WindowsSystem32DriverStoreFileRepository

Cheers

#6 lills1

lills1

    Newbie

  • Members
  • 29 posts
  •  
    United Kingdom

Posted 12 September 2012 - 09:00 AM

I have just made an interesting discovery. In Win7PE, Device Manager is showing those USB 3 devices as just "Universal Serial Bus (USB) Controller"

However if I right click both of those devices and choose to update them (searching automatically), they pull the drivers from the driverstore and then show up correctly as:

Intel® USB 3.0 eXtensible Host Controller
Intel® USB 3.0 Root Hub

I then get the full transfer rate of about 120MB/Sec. So my next question, is why aren't the correct USB 3 drivers being used automatically, even though they are in the driverstore? I could use devcon commands to update these drivers, however, we will be having more USB3 PCs from other manufacturers and this will be quite difficult to manage.

#7 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 September 2012 - 10:25 AM

I guess the problem is, that while USB2/1.1 are just one device, USB2/1.1/USB3.0 are two devices, which have to be installed one after the other.

You could try to force a second run of the driver installer, whichever you use. Maybe limited to just try to install USB 3 drivers, to make it more snappy.

:cheers:

#8 lills1

lills1

    Newbie

  • Members
  • 29 posts
  •  
    United Kingdom

Posted 12 September 2012 - 10:39 AM

I have kind of come up with a solution that seems to do the job for the time being. I have a script that auto runs when booting into PE which does various things. I have just added the following command to this and it all works (I included the USB3 drivers in X:USB3 as part of the Copy Custom Folder option):

Devcon Update X:USB3iusb3xhc.inf "PCIVEN_8086&DEV_1E31&CC_0C03"

I will just need to keep an eye on future devices and if the hardware id changes, include extra devcon commands for these.

I wonder if it is possible to force just an update to all USB drivers and nothing else (using HWPnp or something similar) and this would be a better solution going forward. I am a bit reluctant to for a scan of all hardware devices as this significantly slows down the boot up time and installs lots of other drivers that I don't really need such as audio etc.

#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 September 2012 - 10:54 AM

Yes you can limit the range of devices in HwPnP or you could use PnPUtil.exe to directly install the USB3 driver.
Something like: PnpUtil.exe -i -a X:\USB3\iusb3xhc.inf

:cheers:

#10 lills1

lills1

    Newbie

  • Members
  • 29 posts
  •  
    United Kingdom

Posted 12 September 2012 - 12:53 PM

Cheers for your advice MedEvil, I like the PnpUtil option as I can also use wildcards for the inf files and I don't need to worry about hardware IDs. Many thanks

#11 cdob

cdob

    Gold Member

  • Expert
  • 1449 posts

Posted 12 September 2012 - 01:58 PM

Seems to be a Intel special case.

Intel dosn't provide XP and no Vista drivers. BIOS limit to USB 2 at special cases.
Compare: Can I install USB 3.0 controller driver in Windows* XP or Windows* Vista?
http://www.intel.com...b/CS-033072.htm

USB 2 speed seems to be active at boot.
Win7PE loads driver according to this.

Do you boot from the USB 3 port?
Is the write device connected at boot?
Can you boot first and connect USB 3 target next?
As for testing purposes: Can you try boot from DVD drive?

Which BIOS settings xHCI Mode do you use?

If you boot without USB 3 drivers?
Is USB device available connectoed to USB 3 port.
Can you name full HardwareID list after boot?

Win7PE bootet:
I write 166 MB per second at a AMD75 chipset to USB3.
The USB3 driver is active after boot, no need to load a driver manually.


Added:
Do you boot from RAM disk or flat files?
If you boot from RAM disk, disable the "native USB boot, flat file USB boot"
Do you get full USB3 speed without addional driver load?

Edited by cdob, 12 September 2012 - 02:11 PM.


#12 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 September 2012 - 02:10 PM

Just for the record, you don't need to give the HwID in HwPnP.exe. You can also limit by device classes.

:cheers:





Also tagged with one or more of these keywords: usb 3.0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users