-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vhci - multiple interfaces, "usbip install" feature #90
vhci - multiple interfaces, "usbip install" feature #90
Conversation
Improve readability
Further improvements
Point the user to *.cer file
Rename "Local Machine" as "Local Computer"
usbip install
feature
@koudis : sorry for my long silence. I'll investigate your great work and try to merge. |
@koudis : koudis_install branch is created from your commits(02cef87 .. 45d3f1d). I slightly modified your commit to remove multiple blank lines and usbip_install_usage typo error. I know that the typo error was resolved by your recent commit. Please check a merged commit ( cefbf94 ) Now, I would like to merge remaining your work related to a multiple interfaces issue. NOTE: I have amended the old commit (55c8591) in order to apply your improvement for README.md, usbip.c and usbip_install.c. |
Just warning: commits between f974e8e and the HEAD of my branch is not many useful :). Just for sure - there are also some changes for Install feature which is not between 02cef87 .. 45d3f1d But it seems that you already merged these commits into koudis_instal :). I will test it tomorrow. (2. 2. or 3. 2.) |
@koudis : I've just closed by mistake and reopened.
|
@cezuni I thought that we merge both features together. So I did not bother about "nice" commits. If the problem with messy history occurred let me know and I will try it repair shortly :) . |
The inconsitent vhci lock_urbr release routine is fixed. Spin lock acquired by KeAcquireSpinLockAtDpcLevel() can be safely released by KeReleaseSpinLockFromDpcLevel(). This commit got hint from #90.
@cezuni Yes, I've read documentation once again and the doc explicitly says Your commit looks more correct according to doc. |
@koudis : I created abort_pipe branch and PR #101 in order to reviewing vhci_ioctl_abort_pipe and store_urb_reset_pipe. How about moving on #101? |
@cezuni ok :). Are you going to merge "URB_FUNCTION_CONTROL_TRANSFER_EX" into master? If not I suggest to test master branch agains multiple inteface devices like Logitech Unyfing device. I had problem with interface initialization without this call (but for real I am not sure if TRANFER_EX it's really necessary). |
Maybe we can consider to check URB_FUNCTION_CONTROL_TRANSFER too due to #102 |
Yes, sure. But after #101.
I'll keep in mind. 😄 |
PR which repair some bug and improve support for composite interfaces. Support for
usbip install
featureI had problems with usb devices which has many (>10) interfaces.
There were several problems in HUB implementation:
Problems in usbip.exe userspace program:
usbip_forward
routine --> no deadlock, segfaults or BSOD is now possible (I tested it for vhci not for stub driver)attach
commandI also merge StoyanDimitrov changes to my brach (due to small update in README.md).
After the PR test and approve I will merge all commits into one.