-
Notifications
You must be signed in to change notification settings - Fork 21
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
For XReal Air 1/Air 2 Pro on Windows, its IMU HID Device aways timeout on the first command to turn off IMU stream #13
Comments
I also have the same issue using the XReal Air 2 Pro. The same code works on Mac OS but not Windows. |
I have to admit, I never tried the code on windows. This seems like an issue with the |
Tried with |
@SimDoes thanks, just changed the title. hidapi-rs only has 1 unit test, which runs successfully but doesn't show much. That's my only attempt to fix it so far :-< Will try to compile & test the C library later |
there are 2 rust runtime in Windows: one built on MSVC (which I used for test) and the other on GCC @SimDoes are you also using the MSVC one? |
This fixed Rokid Max on windows for me. Can someone confirm Xreal: |
@kkota1 Which driver are you using? |
@badicsalex the error message was something like “that method does not exist” so libusb for windows doesn’t have it . I forked peng’s fusion code and made some changes in the repo linked above |
I'll test XReal Air 1 on Windows in the weekend, thanks a lot @kkota1 ! |
nope, got the same error:
The problem is always IMU, not the glasses itself. |
Just started testing it on Windows (x86 processor, running read_sensors example), both the glasses HID & IMU HID devices can be found. But on initialisation, read_timeout will return 0 bit of data (debugging screenshot attached)
this will lead to the following error:
I wonder if you have seen similar things on Windows? Is there a configuration I have to set before using it?
The text was updated successfully, but these errors were encountered: