Help - Search - Members - Calendar
Full Version: [solved] USB-Hotplug Plugin
The CD Forum > Bart's PE Builder > Plugins
FM_81
Exists a plugin, which allows to use hotplugged USB-harddisks and -sticks after PE is booted, and which is working under pure Bart-PE (no XPE, WinBuilder or what ever) and Nu2Menu as Shell?
And, if such exists, has anybody a working directlink?

Thanks, Best Regards, FM_81

PS: The WWW seems for me like a very big trash-container, every GOOGLE-search gives 1000 results and links, 499 are broken, 499 are not depending to the special search or useless, and it seems I'm not able to find the other two. wink.gif
FM_81
Thank you very much, that's what I've been searching for!
And: it works!

Greetings, FM_81
ptrut
QUOTE (TheSickman @ Mar 15 2009, 01:21 PM) *


Links are dead Please!!! re upload

Thanks
Ed_P
I have 2 USB plugins. Whether they add Hotplugging or not I don't know. But here they are if it helps:

usbsetup.inf
CODE
; PE Builder v3 plug-in INF file for USB devices
;
; usb1394.inf
; Created by Mick Leong Nov 12,2003
; http://lunarcal.tripod/com/WinPE/WinPE.html
; modified by cool400
; http://www.anwald.com/usb1394.rar
; modified by Benjamin Burrows 4/11/05, 11/29/05
; http://www.ubcd4win.com
;
; Revision:
;
; v1.1 Nov 14, 2003
; - It is now working correctly. Pluging an USB device will cause WinPE to
; enumerate it correctly, no need to "referesh" nor "scan for new hardware"
; Some dlls and files are not applicable to your environment, if so the files
; are made non mandatory eg: =4 rather than =4,,1 which PE checks for file.
; v1.2 Nov 15, 2003
; - Renamed USB-pe.reg to usb.reg - consistent with other apps
; - IEEE1394 removed from usb.reg and made into ieee1394.reg. After registering
; usb.reg you can register ieee1394.reg
; v1.3 Nov 17, 2003
; - Removed extraneous registry entries.
; V1.4 Nov 19, 2003
; - Improved autorun
; - Further cleaning up registry
; V1.5 Nov 22, 2003
; - Uses registry autorun to auto load registry entries so autorun_usb.cmd not required anymore.
; - Moved usb.reg and ieee1394.reg into sub folder REG
; - as of Sept 28, 2004 I am still unable t oconvert this into a proper .inf plugin. This
; is due to inability to convert 0x0a and 0x0b registry entries int WinPE. We have
; to wait unti this is supported by reg2py.py and PeBuilder.
; V2.0 Oct 6, 2004
; - Enhanced - removed dup entries
; - added missing entries
; - usb & 1394 fully hotpluggable and plug&play works ok
; - There is NO need for manual intervention as earlier versions do.
; - Works of with XPe 0.99, not completely tested with XPE 1.0
; XPE 1.0 appears to have altered a few system reg entries.
; V2.1 Oct 13, 2004
; - Minor adjustment to reg entries
; V2.2 Oct 26, 2004
; - Reverted back to copying drivers/programs direct from C:\Windows\system32 ...
; etc so that we will always get the correctversion of the drivers. I recently
; installed a hotfix and discovered new usb & ieee drivers - ousb2ehci etc
; - this is the reason why. It is easy to overlook this fact when you use the
; "Get Files.bat" to copy the files - it is bad programming and waste hdd space.
; - If your windows directory/folder is not C:\Windows\System32\... you
; should replace those entries with your folder name.
; - Removed hardware specific registry entries from "usb&ieee1394base.reg". This
; file now contains the "base" or generic entries for usb&ieee support.
; - To add your specific usb&ieee entries, run the batch file "ExtractMyUSB.bat"
; and it will extract your machine's specific usb&ieee registry and adds to the
; base by creating a new file "use&ieee1394.reg". This is the file that the
; plugin will use. Do NOT delete the "usb&ieee1394base.reg" file. Just keep it
; - Everytime you do a windows update or run a hotfix / security fix, re-run the
; "ExtractMyUSB.bat" again so you will have the correct registry entries
; V2.3 Nov 16, 2004
; - Minor fixup for a couple of registry
; - You must now run (double click) the file "usb & ieee1394 User Reg Extract.bat"
; to extract your specific registry to work with the plugin.
; v2.4a Jan 6, 2005
; - changed the whole script to extract the reg-entries from the user-system
; - modified by cool400
; v2.4b Jan 7, 2005
; - some bugfixes
; - modified by cool400
; v2.4c Jan 8, 2005
; - some more bugfixes, combined both BAT-files
; - modified by cool400
; UBCD4Win version 4/11/05
; - modified by Benjamin Burrows
; - seperated usb & firewire
; - changed back to copying the files from your CD
; UBCD4Win version 11/29/05
; - utilized "4" for all files
; - removed unnecessary entries
; - renamed files because I messed them up!
[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Driver: USB Support"
Enable=1

[SourceDisksFiles]
usb1394.reg=2
hccoin.dll=2
hdwwiz.cpl=2
hotplug.dll=2
stobject.dll=2
storage.dll=2
storprop.dll=2
svchost.exe=2
;Universal PnP not supported
;;umpnpmgr.dll=2
;;upnp.dll=2
;;upnpcont.exe=2
;;upnpui.dll=2
usbmon.dll=2
usbui.dll=2
isapnp.sys=4
sbp2port.sys=4,,4
swenum.sys=4
usb8023.sys=4
usbd.sys=4
usbehci.sys=4
usbuhci.sys=4
usbhub.sys=4
usbintel.sys=4
usbohci.sys=4,,4
usbport.sys=4
usbstor.sys=4
usbcamd2.sys=4
usbcamd.sys=4
usbscan.sys=4,,4
usb2.cat=20,,4
usb2.inf=20,,4
usb.inf=20
usbport.inf=20
usbprint.inf=20
usbstor.inf=20
ousb2.inf=20,,4
ousb2hub.sys=2,,4
ousbehci.sys=2,,4
;additional files from old plugin
mountvol.exe=2
newdev.dll=2
streamci.dll=2
umpnpmgr.dll=2
upnp.dll=2,,4
upnpcont.exe=2,,4
upnphost.dll=2,,4
upnpui.dll=2=2,,4
ssdpsrv.dll=2,,4
ssdpapi.dll=2,,4
services.exe=2
services.msc=2
ntmarta.dll=2
ntmsapi.dll=2
ntmsdba.dll=2
ntmsevt.dll=2
ntmsmgr.dll=2
ntmsmgr.msc=2
ntmsoprq.msc=2
ntmssvc.dll=2
sti.dll=2
stimon.exe=2,,4
sti_ci.dll=2
usbccgp.sys=4
disk.inf=20
61883.inf=20
sbp2.inf=20
flpydisk.inf=20

[Default.AddReg]
0x2,"Software\Microsoft\Windows\CurrentVersion\RunOnce", "Load0 USB&1394", "regedit /s %SystemRoot%\System32\usb1394.reg"


usb1394.reg
CODE
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{003E771E-DF5E-40C0-94A2-4109FF9AF445}]
@="Removable Storage UI Layer"
"RunAs"="Interactive User"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{0057B183-85ED-4751-A3C7-0DA2939A8E98}]
@="Removable Storage Sink Layer"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{4FB6BB00-3347-11d0-B40A-00AA005FF586}]
@="Logical Disk Manager Administrative Service"
"LocalService"="dmadmin"
"ServiceParameters"="/com"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{783C030F-E948-487D-B35D-94FCF0F0C172}]
@="Blocked Drivers"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{D485DDC0-49C6-11d1-8E56-00A0C92C9D5D}]
@="Logical Disk Manager Remote Client"
"LocalServer32"="dmremote.exe"
"LaunchPermission"=hex:01,00,04,80,48,00,00,00,64,00,00,00,00,00,00,00,14,00,\
  00,00,02,00,34,00,02,00,00,00,00,00,14,00,01,00,00,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,01,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,01,05,00,00,00,00,00,05,15,00,00,00,a0,5f,84,1f,5e,2e,6b,49,ce,\
  12,03,03,f4,01,00,00,01,05,00,00,00,00,00,05,15,00,00,00,a0,5f,84,1f,5e,2e,\
  6b,49,ce,12,03,03,f4,01,00,00
"AccessPermission"=hex:01,00,04,80,48,00,00,00,64,00,00,00,00,00,00,00,14,00,\
  00,00,02,00,34,00,02,00,00,00,00,00,14,00,01,00,00,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,01,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,01,05,00,00,00,00,00,05,15,00,00,00,a0,5f,84,1f,5e,2e,6b,49,ce,\
  12,03,03,f4,01,00,00,01,05,00,00,00,00,00,05,15,00,00,00,a0,5f,84,1f,5e,2e,\
  6b,49,ce,12,03,03,f4,01,00,00

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{D61A27C1-8F53-11D0-BFA0-00A024151983}]
@="Removable Storage Manager"
"LocalService"="ntmssvc"
"ServiceParameters"="-Service"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{D61A27C1-8F53-11D0-BFA0-00A024151983}]
@="Removable Storage Manager"
"LocalService"="ntmssvc"
"ServiceParameters"="-Service"



USB1.1aide.inf
CODE
; PE Builder v3 plug-in INF file
; cdob : http://www.911cd.net/forums//index.php?s=&showtopic=19748&view=findpost&p=131986

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="USB early"
Enable=0

[DelLine]
"Txtsetup.sif","InputDevicesSupport.Load","usbehci"
"Txtsetup.sif","InputDevicesSupport.Load","usbohci"
"Txtsetup.sif","InputDevicesSupport.Load","usbuhci"
"Txtsetup.sif","InputDevicesSupport.Load","usbhub "
"Txtsetup.sif","InputDevicesSupport.Load","usbccgp"
"Txtsetup.sif","InputDevicesSupport.Load","usbstor"

[SetValue]
"txtsetup.sif","BootBusExtenders.Load","usbehci ", " usbehci.sys"
"txtsetup.sif","BootBusExtenders.Load","usbohci ", " usbohci.sys"
"txtsetup.sif","BootBusExtenders.Load","usbuhci ", " usbuhci.sys"
"txtsetup.sif","BootBusExtenders.Load","usbhub ",  " usbhub.sys"
"txtsetup.sif","BootBusExtenders.Load","usbccgp ", " usbccgp.sys"
"txtsetup.sif","BootBusExtenders.Load","usbstor ", " usbstor.sys"

Valek
QUOTE (TheSickman @ Mar 15 2009, 09:21 AM) *



I looking for it too... if anyone can help me... thx smile.gif
Ed_P
QUOTE (Valek @ Sep 23 2009, 12:39 PM) *
I looking for it too... if anyone can help me... thx smile.gif

The plugin files posted above didn't work for you?
Valek
QUOTE (Ed_P @ Sep 23 2009, 06:13 PM) *
The plugin files posted above didn't work for you?



Hi Ed_P

I dont realy understand how to use it ?
And why 2 ? smile.gif

Thx.
DanceswithElves
QUOTE (TheSickman @ Mar 15 2009, 09:21 AM) *



The links have gone bad! I really need this plugin, can someone please help? I don't want to use XPE and want to say within the Nu2menu shell! I don't want to start a new thread, but might have to since this thread reads as solved.
Ed_P
QUOTE (Valek @ Sep 24 2009, 03:48 AM) *
I dont realy understand how to use it ?

You don't understand how to create a plugin?

In the PEBuilder\plugin folder create a new folder. I named mine USB. Into this folder create a text file named usbsetup.inf. Into the inf file copy and paste the code shown above with the same name. In the same folder create another text file named usb1394.reg. Into the reg file copy and paste the code shown above with the same name.

You might also want to create a text file named USB1.1aide.inf in the USB folder. Into this inf file copy and paste the code shown above with the same name.

Once done rerun PEbuilder and test the new BartPE system's hotplug ability.

QUOTE (Valek @ Sep 24 2009, 03:48 AM) *
And why 2 ? smile.gif

Why? To give you the hotplugging ability you asked for.

QUOTE (DanceswithElves @ Sep 29 2009, 12:12 PM) *
The links have gone bad! I really need this plugin, can someone please help?

Look 5 posts up this thread.
DanceswithElves
QUOTE (Ed_P @ Sep 30 2009, 01:22 AM) *
Look 5 posts up this thread.

I've tried the links, they all seem to be dead.......please repost...
nuMe
There are no links in the post ed referred you to. You need to reread.
doudi
QUOTE (DanceswithElves @ Sep 29 2009, 04:12 PM) *
The links have gone bad! I really need this plugin, can someone please help?


It's PART OF Ultimate Boot CD....

try USB & IEEE1394 by cool400

Regards
DanceswithElves
QUOTE (doudi @ Oct 2 2009, 06:55 PM) *
It's PART OF Ultimate Boot CD....

try USB & IEEE1394 by cool400

Regards


Hi there,

Ok, so after much searching, i found a link for the USB Hot swappable plugin that wasn't dead here...

http://www.anwald.com/index_en.html

So now i've added it as a pluggin, its enabled, and BARTPE builds with no errors....its all good

But there's no nu2menu entry for the pluggin, and trying a Hot USB drive swap once BARTPE is running does not bring the new drive up. Does this only work for WINPE and not BARTPE?
Shouldn't I be able to see the new drive in the A43 File Management Utility? What am I missing?

Please note that plugging in an addition USB drive before BARTPE boots works just fine.....
DanceswithElves
QUOTE (Ed_P @ Sep 23 2009, 06:13 PM) *
The plugin files posted above didn't work for you?


Try this one.........called USB & IEEE1394

http://www.anwald.com/index_en.html
Ed_P
QUOTE (DanceswithElves @ Oct 6 2009, 07:33 PM) *
Try this one.........called USB & IEEE1394

http://www.anwald.com/index_en.html

Happy to see you got what you were looking for. thumbsup.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.