[usbproxy] Re: windows cannot start usb device relayed by USB proxy

  • From: Dominic Spill <dominicgs@xxxxxxxxx>
  • To: "Y. Zhang" <ygz999@xxxxxxxxx>
  • Date: Wed, 10 Jun 2015 05:47:47 -0600

On 9 June 2015 at 19:18, Y. Zhang <ygz999@xxxxxxxxx> wrote:


Thank you for your response. The issue seems to be with the following
code with libusb_control_transfer gets stuck when relaying certain
setup messages from host to device. This actually happens with a linux
host as well. Do you have any suggestion/comment on how to deal with
it?

It depends on what the control messages are, if the requests ever make
it to the device or if the responses stall?

Are you running the OS image from the GitHub releases page? With the
latest code from git?

Dominic


On Tue, Jun 9, 2015 at 6:38 AM, Dominic Spill <dominicgs@xxxxxxxxx> wrote:
On 7 June 2015 at 19:00, Y. Zhang <ygz999@xxxxxxxxx> wrote:
Hi All,

Has anyone tried a Windows Host?

I know someone has had success with XBox360, although I'm not sure how
similar the USB handling parts of those two OSs are.

I've done some tests and the USB
device relayed by USP proxy cannot be started by Windows. Here is the
test topology:

Host (Windows 7) <=> (USBProxy GadgetFS) (USBProxy LibUSB) <=> USB device

USBProxy runs on beaglebone black.

Do you have any output from usb-mitm? Have you tried it with other hosts?

I've tried a few USB devices: mass storage, HID mouse, HID keyboard.
None works. Windows 7 does recognize the USB device (mass storage, HID
mouse/keyboard) but cannot start the device (no proper driver). Is
there any information missing when USBProxy relays from the device
during the setup?

As far as I know there shouldn't be anything missing, USBProxy should
relay all requests to the device. Could you try with logging turned
on (-l) ? Then we may see the requests that the host is making.

Thanks,
Dominic


Other related posts: