Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


A look at Win7 SP1 USB (56k!)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
kls85
I post too much
Reputation: 22

Joined: 18 Jul 2008
Posts: 2757
Location: Under ur bed

PostPosted: Sat Feb 26, 2011 5:36 pm    Post subject: A look at Win7 SP1 USB (56k!) Reply with quote

Windows 7 service pack 1 has a bug which does not updated the USB port drivers. The problem with the USB bug is it will only update drivers located in WinSxS and FileRepository not in the active location windows/system32.
USB drivers affected are "usbport.sys, usbechi.sys, and winusb.sys"
Users with this bug are those who did the following
-Install service pack 1 through Windows Update
-Install service pack 1 from the standalone copy downloaded from
Microsoft.

After reading that problem, I've decided to check it out by installing a few copies of Windows 7 through a virtual machine and here are the results.
Note: the only file being verified is usbport.sys as it's running in a virtual environment.

Img#1: A clean version of Windows 7 Professional no SP1 and all the USB driver version are exactly the same in the 3 locations: WinSxS, FileRepository, and System32


Img#2: Service Pack 1 is installed from the standalone copy downloaded from Microsoft. Notice usb driver from system32 isn't updated as the version is still "7600" instead of "7601"


Img#3: USB driver is still at version "7600" when installing service pack 1 from Windows Update


Now that both options have this bug, I've created a new Windows 7 with Service Pack 1 integrated into the package and give that a try.

Img#4: With service pack 1 integrated into the package, the USB drivers in all 3 locations are displaying their correct version.


How to fix?
According to the web, there are 2 options to this fix.
Option1: Go to device manager remove all USB ports and restart.
This will make Windows look for the updated USB drivers and users may have to reinstall any drivers associated with their USB devices.

Option2: Use the Pendmove tool and let that apply the correct files to system32
To run the tool, do the following
- Download pendmove
- Extract and copy the correct platform into your system32 folder. If your using 64bit use the 64bit version of pendmove
- Use pendmove and execute this code
Code:
if ["%PROCESSOR_ARCHITECTURE%"] == ["x86"]   goto x86-32
if ["%PROCESSOR_ARCHITECTURE%"] == ["AMD64"] goto x86-64

echo Invalid PROCESSOR_ARCHITECTURE!
goto end

:x86-32
set SourceRoot=%SystemRoot%\winsxs\x86_usbport.inf_31bf3856ad364e35_6.1.7601.17514_none_bfc9c95e61cfba61
set SourceRoot2=%SystemRoot%\winsxs\x86_winusb.inf_31bf3856ad364e35_6.1.7601.17514_none_f9fc4e7173e3735c
goto start

:x86-64
set SourceRoot=%SystemRoot%\winsxs\amd64_usbport.inf_31bf3856ad364e35_6.1.7601.17514_none_1be864e21a2d2b97
set SourceRoot2=%SystemRoot%\winsxs\amd64_winusb.inf_31bf3856ad364e35_6.1.7601.17514_none_561ae9f52c40e492
goto start

:start
pushd %SystemRoot%\System32\drivers

copy %SourceRoot%\usbehci.sys usbehci.sys.new
pendmove usbehci.sys.new usbehci.sys

copy %SourceRoot%\usbport.sys usbport.sys.new
pendmove usbport.sys.new usbport.sys

if exist winusb.sys (
    copy %SourceRoot2%\winusb.sys winusb.sys.new
    pendmove winusb.sys.new winusb.sys
)

popd
echo Now you need to reboot.

:end
pause


Options 3, not discussed in the fix is to create a new copy of Windows 7 with service pack 1 integrated.

_________________
Back to top
View user's profile Send private message
Hero
I'm a spammer
Reputation: 79

Joined: 16 Sep 2006
Posts: 7154

PostPosted: Sat Feb 26, 2011 10:55 pm    Post subject: Reply with quote

I get my usb drivers from amd, should I be bothered?
Back to top
View user's profile Send private message
kls85
I post too much
Reputation: 22

Joined: 18 Jul 2008
Posts: 2757
Location: Under ur bed

PostPosted: Sun Feb 27, 2011 10:37 am    Post subject: Reply with quote

Most will just use the native drivers provided by Windows, unless the USB driver provided by AMD has some special features.
USB 3.0 are not native to Windows so you will need drivers for it.

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites