Giter Club home page Giter Club logo

usbip_windows's People

Contributors

iamgd67 avatar mfmooney avatar oxalin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usbip_windows's Issues

Move from our own managed Cancel IRP routine to Cancel-safe IRP Queues

We implement and manage our own Cancel IRP routine. However, since Windows XP, this can be replaced and more easily managed by cancel-safe IRP queues.

Evaluate and possibly move to Cancel-Safe IRP Queues instead of our own cancel routine. Cancel-Safe IRP Queues are natively available since Windows XP. If we still want to support Windows 2000, we need to explicitly link againt the Csq.lib library that is included in the Windows Driver Kit (WDK).
See: https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/cancel-safe-irp-queues

From GitHub and SourceForge: USBIP_VERSION 262 (0x106) VS 273 (0x111) [driver VS utils]

Reported by: lcgamboa and Anonymous
Date: 2013-03-20
Links:
-lcgamboa/USBIP-Virtual-USB-Device@6f42bc5

Description: there is mismatch between the current USBIP_VERSION under Linux and Windows in the usbip-utils. Linux version is at 0x00000111 for the usbip-utils, while the driver doesn't have any trace left; under Windows, the driver is at 0x000106 (sic) while usbip-utils exposes both 0x000111 (config.h) and 0x000106 (configure.ac).

The usbip-utils and driver both use the same USBIP_VERSION definition, at least for a while, but there was a confusion in its meaning: it should represent a protocol version that doesn't increase unless the protocol is changed).

There is also a LIBUSBIP_VERSION, which seems to still be at 0.1.0 under both OSes.

From SourceForge: Unknown Vendor:Unknown Product

Reported by: DanT
Date: 2011-09-23
Link: https://sourceforge.net/p/usbip/discussion/418507/thread/58e75765/

Description: at the time, DanT reported that usbip was listing devices as "Unknown Vendor:Unknown Product". While he created a patch to populate these fields, another solution had been implemented meanwhile. From what I can see, it is relying on usb.ids. However, using this solution will always need an up-to-date usb.ids file and Windows may have a better way to have the appropriate information.

I've asked DanT if his work was also relying on usb.ids usage or if he was using another mechanism. Waiting to hear from him.

From SourceForge: invalid URB length (less than 4 bytes), some devices don't respond

Reported by: daniel danzberger
Date: 2013-02-18
Link: https://sourceforge.net/p/usbip/discussion/418507/thread/af21439c/

Description: "invalid read lengths < 4 bytes on some urbs. Causes some devices to not respond on this urb."

Proposed fix (to be validated):
Index: busenum.c
-- busenum.c (revision 201)
+++ busenum.c (working copy)
@@ -832,15 +832,23 @@

CHECK_SIZE_READ

++ len = req->TransferBufferLength;
++
++ /* minimal read len is 4 bytes */
++ if (len != 0 && len < 4)
++ len = 4;
++
set_cmd_submit_usbip_header (h,
seqnum, devid,
USBIP_DIR_IN, 0,
-- USBD_SHORT_TRANSFER_OK, req->TransferBufferLength);
++ USBD_SHORT_TRANSFER_OK,
++ len
++ );
build_setup_packet(setup,
USBIP_DIR_IN,
BMREQUEST_STANDARD, BMREQUEST_TO_DEVICE, USB_REQUEST_GET_DESCRIPTOR);

-- setup->wLength = (unsigned short)req->TransferBufferLength;
++ setup->wLength = (unsigned short)len;
setup->wValue = (req->DescriptorType<<8) | req->Index;

switch(req->DescriptorType){
Index: busenum.h

Missing files

Hello,

i tried to install your driver, but windows tells me there is a file missing and it wont continue installing it.

Also i can not find a usbip.exe file, how do i use the driver? Should i use the one from the original project?

[request] pre built driver binaries

Hello,
I just found your usbip_windows fork and started to play with it.
Still struggling with the build of the drivers. Do you think there is the possibillity
to upload / release a current build to play with?
thanks, helmut

usbip-utils Compile error

I use vs2015 and VS2010 to compile usbip-utils, but I can't compile directly. There will be a lot of mistakes.

usbip.exe

Hi,

I am going through the readme in usbip-vhci and noticed the use of usbip.exe. Where can I find the executable?

I am using the executable from sourceforge's 0.2 zip and have the following error at the moment:
usbip -l 192.168.1.97

  • 192.168.1.97
    usbip err: usbip_network.c: 121 (usbip_recv_op_common) recv op_common, -1
    usbip err: usbip.c: 216 (query_exported_devices) recv op_common
    usbip err: usbip.c: 288 (show_exported_devices) query

Would you have any ideas as to what the issue may be? I believe I have built and installed the driver correctly.

Thank you,
James

usbip - windows - is this the client only?

I thin I'm using the old v0.2 version, and have installed the driver.

But am I correct that this is the client side only? and that windows cannot host the device? I have a windows that I would like to host the usb device for a linux machine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.