Re: How to access usbstor.sys

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I want to send a reset command to usb mass storage devices. Can I do that by
calling SetupDiXX functions or CM_XX functions ?

"David J. Craig" wrote:

Masuda-san,
Start with the SetupDi functions to find all disk drives. Then look for the
buss, USB, that they are located upon. You can also try all the drive
letters beginning with A: or C: as you find desirable. Use DeviceTree to
determine the names as used on your computer and let that guide you in how
you make your choice. Once you get the names, you can then open each as a
physical drive to send requests to them. How much support the USB disk
class driver provides is a good question that will require experimentation.

"T.Masuda" <TMasuda@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A3A96C40-D5BF-4097-803F-4A505D7F2932@xxxxxxxxxxxxxxxx
I want to get information about usb mass strage devices and set commands to
them. Maybe I have to access usbstor.sys which Microsoft provides with.
Does
anyone know any information ?
Thanks in advance.

Takashi Masuda



.



Relevant Pages

  • Which Flash Drives Work with USB on a 6.5 Kernel?
    ... external USB hard drive. ... SCSI emulation for USB Mass Storage devices ... USB Mass Storage device found at 3 ... if I wanted to get one of the 2-gig flash drives one ...
    (Debian-User)
  • Re: How to access usbstor.sys
    ... calling SetupDiXX functions or CM_XX functions? ... Start with the SetupDi functions to find all disk drives. ... buss, USB, that they are located upon. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: 64 bit Windows driver.
    ... The truth is, for most people computers are interchangeable as applications no longer matter to them, so they can use any operating system (Windows, Macintosh, Linux, etc) equally well. ... So many devices these days don't even need a special driver -- plug in your USB flash drive, your digital camera, your phone, or any number of other devices, and it Just Works. ... All can be treated as generic USB mass storage devices for easy drag-and-drop of files on any modern OS. ... The 50g would also work well without special drivers if it implemented its USB with a standard USB to serial interface. ...
    (comp.sys.hp48)
  • [2.6.19] Problems with USB mass storage devices
    ... And there are I/O errors with the USB HDD. ... hdwr sectors ... emulation for USB Mass Storage devices ... 0000:00:10.0 USB Controller: VIA Technologies, ...
    (comp.os.linux.misc)
  • Re: OT: Ping eeePC owners
    ... Would be a good thing with a 3g usb dongle. ... Linux and lasts for a few hours etc. ... I know nothing of iPods but believe they *can* be mass storage devices ... MacBook as a 3G to Wifi router, so I can grab work emails when in hotels ...
    (uk.comp.sys.mac)