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

  • From: "Kang, Myung" <the.mkang@xxxxxx>
  • To: "usbproxy@xxxxxxxxxxxxx" <usbproxy@xxxxxxxxxxxxx>, "Y. Zhang" <ygz999@xxxxxxxxx>
  • Date: Wed, 10 Jun 2015 18:02:51 +0000

Hi all,

I can confirm that it works on Windows 7, using the OS image.
I would see if you have enough power to BBB (DC 5V 2A), make sure VID and PID
are specified correctly in the argument.

Thanks,
MK
--
Myung Kang
MSIT Student
Electrical Engineering & Computer Science, The University of Kansas
the.mkang@xxxxxx                                    +1 234 567 9218

-----Original Message-----
From: usbproxy-bounce@xxxxxxxxxxxxx [mailto:usbproxy-bounce@xxxxxxxxxxxxx] On
Behalf Of Dominic Spill
Sent: Wednesday, June 10, 2015 6:48 AM
To: Y. Zhang
Cc: usbproxy@xxxxxxxxxxxxx
Subject: [usbproxy] Re: windows cannot start usb device relayed by USB proxy

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: