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

win11 run error #2

Open
m986883511 opened this issue Aug 28, 2023 · 1 comment
Open

win11 run error #2

m986883511 opened this issue Aug 28, 2023 · 1 comment

Comments

@m986883511
Copy link

env: win11 python env and run it in administrator

(test) PS C:\Users\zero\Desktop\pyusbip> python .\pyusbip.py
Traceback (most recent call last):
  File ".\pyusbip.py", line 418, in <module>
    for fd, events in usbctx.getPollFDList():
  File "C:\Users\zero\miniconda3\envs\test\lib\site-packages\usb1\__init__.py", line 2123, in wrapper
    return func(self, *args, **kw)
  File "C:\Users\zero\miniconda3\envs\test\lib\site-packages\usb1\__init__.py", line 2344, in getPollFDList
    raise OSError(errno)
OSError: 1060
(test) PS C:\Users\zero\Desktop\pyusbip> python --version
Python 3.8.16
(test) PS C:\Users\zero\Desktop\pyusbip> pip list
Package    Version
---------- -------
libusb1    3.0.0
pip        23.0.1
setuptools 66.0.0
wheel      0.38.4

microsoft say this from link

ERROR_SERVICE_DOES_NOT_EXIST

1060 (0x424)

The specified service does not exist as an installed service.

I dont known what error?

a question, other usbip in win need install a testing driver, does it need?

@jwise
Copy link
Owner

jwise commented Aug 28, 2023

Oo, very interesting. I think it probably won't work on Windows because "the use of libusb file descriptors with poll() on cygwin is NOT supported"?

But maybe you could rewrite it to put the libusb stuff in a thread instead and communicate through a channel, instead? You'd also have to install the libusb driver (see the above linked wiki page), of course.

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

2 participants