Git Product home page Git Product logo

usbip-device's People

Contributors

ia0 avatar robin-nitrokey avatar sawchord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

usbip-device's Issues

Release 0.1.6 contains breaking change

Hi,

In release 0.1.6 you updated the version of usb-device to 0.3.0. However this is a breaking change because usb-device is part of the public API (since UsbIpBus implements usb_device::UsbBus).

This means that someone depending on usbip-device = "0.1.5" and usb-device = "0.2.9" will end up with incompatible implementations since cargo will download version0.1.6 of usbip-device.

The path to fixing this issue would be to:

  1. Yank the release 0.1.6
  2. Release the current 0.1.6 as 0.2.0, reflecting the breaking change into the version number

Thanks.

Simulating two devices

Hi, i really like your project! But can't figure out by myself, is how to simulate two different devices (like in example), but it could be like simulating keyboard + mouse from single ip/port? I've been able to do this in similar usbip project in python using 2 different buses. So client can connect first to 127.0.0.1 3240 1-1 and than to 127.0.0.1 3240 1-2.
As i saw now - bus number is hardcoded in handle op, second problem - when i just to duplicate 2 twitching mouse examples - i got exception about single socket usage "Result::unwrap() on an Err value: Os { code: 10048, kind: AddrInUse".
I'm really new to Rust, and usbip/hid area, so any help or examples would be much appreciated.

Only one packet can be sent per URB

I believe this commit should be reverted. Otherwise it is not possible to respond with multiple packets in the same URB, because is_rts will be true as soon as there is a packet available. Or is there something I'm missing to be able to send multiple packets as a response to an URB?

Migration to usb-device 0.3

Now that usb-device 0.3 has been released, is there a plan to release a new version of usbip-device based on it?

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.