PC Review


Reply
Thread Tools Rate Thread

Accessing WinXP USB device functions

 
 
farhadino
Guest
Posts: n/a
 
      29th Nov 2006
Hi everyone,

I have been trying to figure out how winXP is assgning drive letters
when you plug in a usb drive such as a usb stick and what actually
happens if you are taking it out again.

I guess that everything is set in the windows registry but analyzing
the registry "traffic" in winXP (e.g. with RegMon) didn't take me very
far.

Originally, I was looking for a way to set the default drive letter
assignment for a certain usb device class (usb stick) and how to
re-initialize and quit the usb device when it's plugged in, preferably
through a handy icon click rather than pluggin the usb stick out and in
again or clicking around at the windows systray with the mouse.

Is there a solution?

Thanks,
Farhadino

 
Reply With Quote
 
 
 
 
Uwe Sieber
Guest
Posts: n/a
 
      29th Nov 2006
farhadino wrote:
>
> I have been trying to figure out how winXP is assgning drive letters
> when you plug in a usb drive such as a usb stick and what actually
> happens if you are taking it out again.
>
> I guess that everything is set in the windows registry but analyzing
> the registry "traffic" in winXP (e.g. with RegMon) didn't take me very
> far.
>
> Originally, I was looking for a way to set the default drive letter
> assignment for a certain usb device class (usb stick) and how to
> re-initialize and quit the usb device when it's plugged in, preferably
> through a handy icon click rather than pluggin the usb stick out and in
> again or clicking around at the windows systray with the mouse.


Using my USB drive letter manager you can define default
letters for USB drives:
http://www.uwe-sieber.de/usbdlm_e.html

On this page you find a tool for save removal too,
RemoveDrive.

BTW: If you single left click the save removal tray icon,
then it is quite handy. I've doubleclicked it for years...


Uwe



 
Reply With Quote
 
farhadino
Guest
Posts: n/a
 
      29th Nov 2006
Hi Uwe,

really awesome work, mate! That's exactly what I needed.

There's just one thing missing - it might seem weird though, cause I
guess no one ever considered mounting a drive in windows manually, i.e.
mount it over the command line. At least I have never given a thought
to it.

So is there any possibilty to re-initialize an usb device once it is
removed (not physically) without first plugging it out and back in?

Thanks for your time,
Farhad


Uwe Sieber wrote:
> farhadino wrote:
> >
> > I have been trying to figure out how winXP is assgning drive letters
> > when you plug in a usb drive such as a usb stick and what actually
> > happens if you are taking it out again.
> >
> > I guess that everything is set in the windows registry but analyzing
> > the registry "traffic" in winXP (e.g. with RegMon) didn't take me very
> > far.
> >
> > Originally, I was looking for a way to set the default drive letter
> > assignment for a certain usb device class (usb stick) and how to
> > re-initialize and quit the usb device when it's plugged in, preferably
> > through a handy icon click rather than pluggin the usb stick out and in
> > again or clicking around at the windows systray with the mouse.

>
> Using my USB drive letter manager you can define default
> letters for USB drives:
> http://www.uwe-sieber.de/usbdlm_e.html
>
> On this page you find a tool for save removal too,
> RemoveDrive.
>
> BTW: If you single left click the save removal tray icon,
> then it is quite handy. I've doubleclicked it for years...
>
>
> Uwe


 
Reply With Quote
 
Uwe Sieber
Guest
Posts: n/a
 
      29th Nov 2006
farhadino wrote:

> So is there any possibilty to re-initialize an usb device once it is
> removed (not physically) without first plugging it out and back in?
>


No, this is not part of the USB specs. It might be
possible by directely programming the USB chipset
but I've never seen a public tool for this.


Uwe

 
Reply With Quote
 
farhadino
Guest
Posts: n/a
 
      30th Nov 2006
> No, this is not part of the USB specs. It might be
> possible by directely programming the USB chipset
> but I've never seen a public tool for this.


One should make a suggestion to the USB consortium for the next
version...

Farhadino

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: Accessing MSMQ on WinXP Pro from a docked WM5 device Adam Bradley Microsoft Dot NET Compact Framework 12 19th Apr 2012 08:00 AM
Accessing WinXP USB device functions farhadino Windows XP General 3 29th Nov 2006 01:32 PM
USB unknown device in device manager for WinXp Pro =?Utf-8?B?VGFyY2g=?= Windows XP General 1 2nd Jun 2006 11:55 PM
Re: Accessing functions in a DLL Sherif ElMetainy Microsoft C# .NET 0 17th Jun 2004 12:09 AM
Re: Accessing functions in a DLL Mattias Sjögren Microsoft C# .NET 0 16th Jun 2004 11:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:52 PM.