USB: Difference between revisions

From miki
Jump to navigation Jump to search
(USB multiple partitions)
 
Line 10: Line 10:


To have Windows not to handle USB drives as removable media, just install a filter driver that will remove the ''RMB'' flag. Check [http://www.uwe-sieber.de/usbtrouble_e.html#partitioning here].
To have Windows not to handle USB drives as removable media, just install a filter driver that will remove the ''RMB'' flag. Check [http://www.uwe-sieber.de/usbtrouble_e.html#partitioning here].

== USB Power Control ==
Reference
* [http://blog.andrew.net.au/2009/01/17 USB power switch]
* [http://www.gniibe.org/oitoite/ac-power-control-by-USB-hub/hub-ctrl.c hub-ctrl.c]

Revision as of 14:00, 24 October 2012

USB Drives under Windows

Some references:

Creating multiple partitions on a single USB drives

From [1], Nearly all USB flash drives pretend to have a removable media (even it's a lie), so Windows detects them as 'removable'. On drives with a removable media Windows 2000 and higher supports only one partition. Finally it's a single bit in the device's device descriptor, the removable media bit (RMB). If you take away the RMB then Windows sees the drive as local disk and multiple partitions work.

To have Windows not to handle USB drives as removable media, just install a filter driver that will remove the RMB flag. Check here.

USB Power Control

Reference