OSError: open failed
See original GitHub issueI just built a new system with a Wraith Prism cooler and stumbled across this fantastic tool in searching for a way to change the colour scheme under Linux. However, I’m getting an OSError: open failed
error when trying to send commands.
OS is Ubuntu 20.04 Processor AMD Ryzen 7 3800x MoBo: Gigabyte Aorus x570 Elite
user@system:~$ lsusb | grep 2516:0051
Bus 003 Device 003: ID 2516:0051 Cooler Master Co., Ltd.
Command resulting in error:
user@system:~$ cm-rgb-cli set logo --mode=static --color=#ff4f00 --brightness=3 fan --mode=static --color=#ff4f00 --brightness=3 ring --mode=static --color=#ff4f00 --brightness=3
Traceback (most recent call last):
File "/home/user/.local/bin/cm-rgb-cli", line 175, in <module>
main_group()
File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/jeff/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 1268, in invoke
Command.invoke(self, ctx)
File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/user/.local/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/user/.local/bin/cm-rgb-cli", line 13, in setup_group
'ctrl': CMRGBController(),
File "/home/user/.local/lib/python3.8/site-packages/cm_rgb/ctrl.py", line 54, in __init__
self.__init_hid_device()
File "/home/user/.local/lib/python3.8/site-packages/cm_rgb/ctrl.py", line 64, in __init_hid_device
self.device.open_path(device_list[0]["path"])
File "hid.pyx", line 72, in hid.device.open_path
OSError: open failed
Please let me know what else I can provide to help debug this issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Python HIDAPI troubleshooting: open() failures - Stack Overflow
The python statement that attempts to open the HID device: ... line 66, in hid.device.open IOError: open failed.
Read more >IOError: open failed #21 - LedgerHQ/blue-loader-python
Hi there. I have the ledger nano s and I'm trying to verify the Secure Element by following the steps given on Ledgers...
Read more >Using Python and the hidapi library with ADU USB Data ...
The sample source code outlines the basics of communicating directly with an ADU device on Linux and OS X using Python and libhidapi....
Read more >IOError: open failed - Google Groups
I noticed last week that my weather station seemed to have dropped down to only updating Weather Underground and WOW hourly and had...
Read more >Copy to a UNIX file fails with XCPR010I FDBK=13 (SCI28207)
Symptom. XCPR010I Copy file to a UNIX system fails with OS error. XCPR010I FDBK=13. Error: Open failed for copy in &FUNCTION. Errno=&FDBK.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Had the same problem. Creating it manually works.
I’ve released new version which I hope should fix the issue. Please verify if possible as it has been impossible for me to recreate this issue.