Skip to content
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

Error installing driver #73

Closed
danielkucera opened this issue Oct 15, 2019 · 7 comments
Closed

Error installing driver #73

danielkucera opened this issue Oct 15, 2019 · 7 comments

Comments

@danielkucera
Copy link

I'm getting following error when trying to install the driver in Win 7 Enterprise x64:
Screenshot from 2019-10-15 14-01-40

The folder with driver contains following files:

usbip.exe       usbip_test.pfx  usbip_vhci.inf
usbip_stub.sys  usbip_vhci.cat  usbip_vhci.sys

Am I doing something wrong?

@danielkucera
Copy link
Author

I also tried to install it manually but it is still not shown in device manager:

C:\usbip>pnputil -i -a usbip_vhci.inf
Microsoft PnP Utility

Processing inf :            usbip_vhci.inf
Successfully installed the driver on a device on the system.
Driver package added successfully.
Published name :            oem267.inf


Total attempted:              1
Number successfully imported: 1


C:\usbip>usbip.exe attach -r 10.11.1.31 -b 1-13
usbip: error: walker_devpath: invalid hw id: root\vbdenum

usbip: error: open vhci driver
usbip: error: read_devbuf: failed to read: err: 0x6

@danielkucera
Copy link
Author

I was able to install this one https://github.com/barbalion/usbip-win-client/tree/master/old_signed
and the error message changed to:

usbip: error: walker_devpath: invalid hw id: root\vbdenum

usbip: error: walker_devpath: invalid hw id: root\usbipenum

usbip: error: open vhci driver
usbip: error: read_devbuf: failed to read: err: 0x6

@zhLoser01
Copy link

I also reported this error.

@cezanne
Copy link
Owner

cezanne commented Oct 31, 2019

@danielkucera :

usbip: error: walker_devpath: invalid hw id: root\vbdenum

This kind of an upper error message is due to that usbip windows implementations(including our usbip-win) have the same device interfaces GUID. You can ignore the error message. usbip-win should another device interface GUID to remove a misleading message.

usbip: error: open vhci driver
usbip: error: read_devbuf: failed to read: err: 0x6

This error means that your system have no VHCI legacy device even though you had installed the usbip-win driver via pnputil. You should install a legacy VHCI device according to README. I can't figure out why you did not install the device through "Add Hardware Device" menu in device manager.

@danielkucera
Copy link
Author

@cezanne you can see in my first post that I tried to install it via dev manager but it shows: folder doesn't contain compatible software driver.
Is it tested with win 7 x64?

@cezanne
Copy link
Owner

cezanne commented Oct 31, 2019

@danielkucera :

Is it tested with win 7 x64?

No. The most or all vhci drivers were built against win 10. You should build it against win7. Refer #12.
Or you can try a pre-built vhci driver. (a little bit old version) In #57, I had uploaded vhci for win7 .

@danielkucera
Copy link
Author

This has worked but sometimes freezes my PC. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants