-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Requested device or endpoint not found: 1038:183a:03 on MacOS Ventura #200
Comments
I do not know why the mouse is listed bu is not found when trying to open it... I do not have macOS to help debuging this :( |
Hi Fabien :) I tried to put my mousse on usb, then bluetooth and then wifi but it's every time the same error. |
I think I do not know macOS enough to be really helpful here... :( What is strange here is that you have 6 endpoints for the device but all are displayed as being the "endpoint 0"... Maybe an other software or a kernel diver is already attached to the device and makes some interference? |
I don't have steelseries driver installed. I could try to make it work myself by cloning the repo and try in local. |
I have this issue as well. here's what a full dump of my enumerated devices looks like:
As you can see, |
I put up a PR for this, #202, since I was having this issue with my mouse too. I don't know when it started occurring, but "when upgrading to Ventura" seems plausible. |
on my rival 100 it seems to be 0:
I will check with all my other SteelSeries mice to see if it is specific to Aerox and Rival 650 / or if it may be specific to macOS Ventura... |
Ok I made some test on Linux with my Rival 650. When I enumerate interfaces I have:
With Wireshark I can capture this: So the problem is:
I do not know what is going on on macOS Ventura, but there is clearly an issue somewhere. We will have to find a way to know which interface is the right one without using the usage page and the interface_number :/ |
I had an idea to fix the issue on macOS Ventura (without breaking Linux). I pushed it on the
See changes: 57756e9 |
UP I really need someone on macOS Ventura to test it work :) |
I am on Ventura, experiencing the issue. I will test by end of week. Thanks! |
I just checked out the |
Sadly Traceback (most recent call last):
File "/Users/glyph/.local/bin/rivalcfg", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/glyph/Projects/rivalcfg/rivalcfg/__main__.py", line 81, in main
raise error
File "/Users/glyph/Projects/rivalcfg/rivalcfg/__main__.py", line 78, in main
mouse = get_first_mouse()
^^^^^^^^^^^^^^^^^
File "/Users/glyph/Projects/rivalcfg/rivalcfg/__init__.py", line 29, in get_first_mouse
return mouse.get_mouse(
^^^^^^^^^^^^^^^^
File "/Users/glyph/Projects/rivalcfg/rivalcfg/mouse.py", line 36, in get_mouse
hid_device = usbhid.open_device(vendor_id, product_id, profile["endpoint"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/Projects/rivalcfg/rivalcfg/usbhid.py", line 101, in open_device
device.open_path(path)
File "hid.pyx", line 154, in hid.device.open_path
OSError: open failed |
I also still get |
I also double checked to make sure it wasn't a wired/wireless issue; I tried while wired, while on wireless, and wired with the wireless entirely disconnected. |
@johnelliott Thank you for the feedback! @glyph Your issue seems de be different from the previous one:
The endpoint seems to be found but hidapi is not able to open it (an other software or driver is attached to the device? or a permission issue?). We will have to find why it cannot be opened ^^" |
@glyph I turned your comment as a new issue as it is not the same problem. I close this issue as the initial problem is solved. The fix will be released soon :) |
Sounds good. Looking forward to a fix for that one :) |
I should ask, is there anything diagnostic you'd like me to do? I'm sure it's not permissions, but I don't know what else it might be. |
I do also notice some intermittent issues with Ventura. Before the Now when I wake my mac from sleep and the mouse and usb adapter seem to have disassociated I need to run the script again, and it seems to work within 30 seconds or so after a few tries. Perhaps I'm seeing the same issues as @glyph. |
I reopened the issue because I think my fix work for some devices (the ones that use an endpoint != 0, like Aerox) but not for devices that use endpoint 0... For those one, the first endpoint listed will be used and it can be the wrong one. I have to tweak the code a bit more... :) |
→ Someone on Twitter gave me the answer:
|
I pushed a new fix on the → Can you test if it work? :) |
Same here. |
Kind of. It's better now, but still not completely reliable: ★ for each in $(seq 20); do rivalcfg --battery-level; done
Unable to get the battery level
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Unable to get the battery level
Unable to get the battery level
Charging [======== ] 89 %
Charging [======== ] 89 %
Unable to get the battery level
Charging [======== ] 89 %
Charging [======== ] 89 %
Unable to get the battery level
Unable to get the battery level
Charging [======== ] 89 %
Unable to get the battery level
Unable to get the battery level
Charging [======== ] 89 %
Unable to get the battery level
Charging [======== ] 89 %
Unable to get the battery level |
Contrast my usage-page branch: ★ for each in $(seq 20); do rivalcfg --battery-level; done
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 %
Charging [======== ] 89 % |
As far as what hardware I'm using: "1038:172b | 00 | SteelSeries Rival 650 Wireless (firmware v0)" |
Ok... I need more info to figure what is happening... I pushed a new version of the code in a new branch : Can you run it multiple times like you did just before and then share results here? :) |
Ran my shell script invoking the program with my flags, this time I didn't see the lights on the mouse change:
|
Here's a log of me running it 20 times: https://gist.github.com/glyph/09d9b3db000e04634bc66dced662a3db |
Thank you for the feedbacks. It found the following issue on the HIDAPI lib that is used by Rivalcfg to access USB devices: libusb/hidapi#531 They released a fix 3 days ago! https://github.com/libusb/hidapi/releases/tag/hidapi-0.14.0 Once the Python binding of HIDAPI released we will be able to test if it fixes the issue for us, else we will hack in Rivalcfg. :) I will revert the change on |
I just logged back on to say I'd found a way to more reliably reproduce the bug: after the system goes to sleep and the usb mouse RF receiver is off, the bug happens until I switch the mouse off and back on again. Now as I read the above, it looks like the problem is upstream. |
This makes me feel a little less crazy — as I was hacking around the shifting USB endpoint attributes, I was thinking "this… can't be how it's supposed to work, right?" Glad that this is getting fixed in the right place! |
Went to go check whether |
Thanks so much all, I wish I was more of a help. :) |
hidapi was updated to v0.14! If someone can test on macOS with the |
I published the v4.9.0 where hidapi is updated to v0.14, so it should work on macOS Ventura. Please let me know if it is not the case. :) |
Hi :)
I installed rivalcfg 4.8 with pip3 and I'm running Python 3.9.9 on MacOS Ventura 13.3
When my mouse is plugged I have this error when I try to print help
I can see my mousse with the print-debug option
Any idea to makes it work ? :)
The text was updated successfully, but these errors were encountered: