Re: USB Function application testing

Tech-Archive recommends: Fix windows errors by optimizing your registry



mooni <mooni@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I developed an application using libusb api's that runs on my host pc and
communicates with any device on physical usb port. Till here its fine and its
quite good to test any host application.

But now I want to write function side application and want it communicate
with windows host. How can libusb help me in this case? It looks a bit
difficult as PC needs to be able to treat the application just as if it were
a real USB mass storage device sitting in a USB port. I hope you ppl. have
got my point.

In simple words I want to write USB function application and want it to
communicate with my host PC. what are the possible options as PC does not
have any function/device port in it so how to do this kind of communication?

You already asked this question on the libusb mailing list. The answer is
the same on this list: not possible.

The problem is not software. The problem is HARDWARE. The host controller
in your PC can only be a USB master. It cannot act as a USB device.

Some of the platforms used for Windows CE have both a USB host controller
chip and a USB device chip.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.



Relevant Pages

  • ieee1394 and fbdev oops in 2.6.3rc2
    ... Found UniNorth PCI host bridge at 0xf0000000. ... Firmware bus number: 0->0 ... PMU driver 2 initialized for Core99, ... ohci_hcd 0001:02:08.0: new USB bus registered, ...
    (Linux-Kernel)
  • Re: External drives not installing or working properly on USB
    ... thanks for clarifying the setup of the USB host controllers. ... As you have 5 host ports, ... operating system to recognise the four additional 'drives'. ...
    (microsoft.public.windowsxp.general)
  • Re: HP49G+ and HP49 are Compatible ?
    ... Different protocols. ... The USB port on the 48G+ is ... not a host; ...
    (comp.sys.hp48)
  • Re: question for USB isochronous I/O (input)- massive corruption issue
    ... My device is a USB audio device, ... > host memory corruption issues when my USB driver has not fed the host ... > controller with enough input URBs. ... > make sure to keep the host controller well supplied with input URBs, ...
    (microsoft.public.development.device.drivers)
  • Re: assessing winusb potential
    ... I am now pouring over a USB book but the issue is still not clear. ... What prevents the host from ... Please do not send e-mail directly to this alias. ... able to install downlevle (IIRC, ...
    (microsoft.public.development.device.drivers)