Re: reading usb device



No, all USB devices do not look like drives. Only USB drives look and act
like drives.

The real question here is, what kind of USB device are you dealing with. The
device I work with is proprietary and has a whole Sh--pot full of commands.
Some commands set it up and others return various types of data. All
commands have to be explicitly written to conform to the USB drivers made
specifically for the device.

If it's a Sound card then the normal Windows features work with it
automatically.

So you are back to square one. What is the USB device and how do you access
it?

Galen



"Lorin" <Lorin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9FD5DE12-BE57-4A8F-A232-039969B1F351@xxxxxxxxxxxxxxxx

Does API
apiSerialNumber()
actively read the device (if it is a drive type device).
i.e. do Win read it and store it such that when I call the API it reads
what
windows read when the device was plugged in?
Do all USB devices look like drives.

I use the above API to get the serial number of all types of drives
including thumb drives.


"Galen Somerville" wrote:

Just a thought. If the device designers can add battery monitoring code
to
their device, then you could write a program to interrogate it.

Galen

"caver_dave" <caverdave@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B08750E0-00DE-4859-880C-2DF0ED13D7FA@xxxxxxxxxxxxxxxx
Thanks Galen

c'est la vie, they are charging only.

regards dave


"Galen Somerville" wrote:


"caver_dave" <caverdave@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A607B588-014A-46CE-A280-867C62DCDE6A@xxxxxxxxxxxxxxxx
I admit I am stumped on how to begin, I have been asked to write a
program
to
to monitor a device on charge via a usb port. There are no coding
libraries
dll or ocx available is there any way to get some generic
information
about
the unit without any of these.
Please if there is any way or help to start me off

Thanks in advance
caver dave

If they plug it in just to charge the device, forget it.

If the device is operational when they plug it in, you need to find
out
what
data you can send/receive to/from the device.

And to do that you need their device drivers and info on how to use
the
drivers.

Galen








.



Relevant Pages

  • Re: USB Storage of any kind not recognized
    ... My other USB devices work fine, my keyboard, printer, scanner, and ... The drives intially showed up under devices as a usb device ... I tried reinstalling the drivers from the flash manufacturer. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Skipped Drive Letters / USB related
    ... Plug the USB devices back in then right-click on them and in the Properties assign them other unused drive letters, like U & V for example, this will release letters D & E for other devices. ... Right click on the drives on the storage devices and assign them new letters as you want them, then to get rid of the U & V letters re-assign wanted letters to the USB devices. ...
    (microsoft.public.win2000.general)
  • Re: Flash drive reboots system
    ... listing from the list of USB devices, they work again for a while ... The is running Windows XP PRO with SP2 and all currrent microsoft ... Also the drives work fine on my other desktop system and my laptop as ... Are thier any new USB drivers from windows that may have been ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: no drivers for mass storage device
    ... I tried unassigning all network drives and that was ... This about a bios update, ... usb devices work fine - scanner, cd drive, Palm hotsync (that's different ...
    (microsoft.public.windowsxp.hardware)
  • Re: Motorola Q-Phone and Active Sync
    ... SP/2 before installing the accompanying software. ... no USB devices are attached. ... Drive Manager reports that the E:\ and F:\ drives are removable storage ... Here is a sample "batch" file which will let you access Device Manager ...
    (microsoft.public.windowsxp.hardware)

Loading