Re: USB bulk transfer help needed

From: Gnum (alexander_dot_lavrinovich_at_provenco_dot_com)
Date: 02/13/05


Date: Mon, 14 Feb 2005 08:08:02 +1300

Could you please explain how is this issue related to "vc.language" ?

Thanks a lot!
Gnum

"Arnaud Debaene" <adebaene@club-internet.fr> wrote in message
news:ub0O0WvDFHA.1524@TK2MSFTNGP09.phx.gbl...
> B. Klosterman wrote:
> > I have never done USB programing before and nedd a little help.
> > I using the MS WIN32 C model and would like to poll the OS(WIN2K or
> > XP) for all the
> > devices attached to the USB.
> Use SetupDiGetClassDevsEx to enumerate all devices on the system, then for
> each device enumerate recursively it's parent to check if one of it's
parent
> is an USB host (see article "Obtaining the Parent of a Device in the
Device
> Tree" in MSDN). You will need the DDK to have the correct GUID for USB
Host.
>
> > Also, is there a generic USB driver that let's one do "generic" bulk
> > data transfers to/from a USB device?
> No.
> An USB device export one or more "interface" that describe it's
> functionnality (examples : "mass storage", "joystick", "Network card",
> etc...). You manipulate the device through this interface. Windows has
> drivers to manage the most common interfaces (such as USB mass storage),
but
> if your device doesn't fit in one of thosecategories, you need your own
> driver.
>
> Arnaud
> MVP - VC
>
>



Relevant Pages

  • Re: More leaves on the device tree ?
    ... for the inclusion of the usb code. ... Let's stick with devinfo and hit up the next tasks on the ... If the parent is NULL, then no dev_t node is created. ... For example if you have 8 USB serial port adapters, then you just get 8 TTY ...
    (freebsd-arch)
  • Re: klists and struct device semaphores
    ... both the interface and the parent device are locked. ... > the USB bus_type and clear for everything else. ... I think it is fine to lock parent unconditionally. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: About USB composite parent device driver - Usbccgp.sys
    ... yes, usbccgp supports USB SS. ... Please do not send e-mail directly to this alias. ... The driver uses usbccgp.sys as its parent driver. ... Now I got a question about the parent driver that does it support USB selective suspend feature? ...
    (microsoft.public.development.device.drivers)
  • Re: USB bulk transfer help needed
    ... > I have never done USB programing before and nedd a little help. ... each device enumerate recursively it's parent to check if one of it's parent ... You manipulate the device through this interface. ... drivers to manage the most common interfaces, ...
    (microsoft.public.vc.language)
  • Re: CONFIG_NUMA breaks hibernation on x86-32 with PAE
    ... do you get any serial log or USB key output, ... No good ideas - the bug description gives me the impression of memory ... # CPUFreq processor drivers ... # Device Drivers ...
    (Linux-Kernel)