February 28, 2011

Windows 7 SP1 USB Driver bug

Looks like the SP1 doesn't update the USB drivers properly


Run this from command prompt

  cd %SystemRoot%\System32\drivers
  dir usbehci.sys usbport.sys winusb.sys

And if any of the files are dated July 2009 instead of November 2010, then you are affected.

quickfix:
1. get http://code.kliu.org/misc/pendmove/ and put it in the path.
2. run batch file

@echo off
echo Reminder: This must be run from an elevated command prompt!
pause

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


See full thread at http://forums.mydigitallife.info/threads/24666-The-Windows-7-SP1-USB-Driver-Bug-(what-it-is-and-how-to-fix-it)


EDIT
Looks like hotfix KB2615763-v2 eliminates the need for this garbage. See forum post dated 19 Oct 2011, 12:35 AM

November 12, 2010

Adobe Flash full screen without focus

These simple instructions should keep for a while despite all the changes to flash versions.


Flash does not like to stay running full screen after it loses focus. Adobe says this is by design.
This works only for Win7, x64, firefox. Chrome has its own version in a different folder. IE uses ActiveX.


hex edit (HxD)

C:\Windows\SysWOW64\Macromed\Flash\

NPSWF32.dll

don't have another version of your file ending with .dll even if different name.

around Offset 0x180D40

74 39 83 E8 07 74 11 83 E8 05 75 13 8B

change to

90 90 83 E8 07 74 11 83 E8 05 75 13 8B


more discussion at http://bramp.net/blog/full-screen-hack-for-flash

November 9, 2010

editing vado HD files

Editing vado files with Adobe Premiere CS5:
by default you can only edit the audio, and there's no video.

If you search for 'x264vfw' you will find a sourceforge project at
http://sourceforge.net/projects/x264vfw/

download the latest file for your x32 or x64 system and install it. No reboot required if you have Premiere closed during install.