-
Notifications
You must be signed in to change notification settings - Fork 66
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
libhidapi-hidraw0 disturbing connection.... #17
Comments
Having the same, if not, very similar issue with libhidapi-hidraw.so.0; reinstalling the shared library did not help nor rebooting the PC. Seems it's something either in the setup that went funky or somewhere along the lines there's a corrupt file. Maybe try the no-pair (changes are different in the ExecStart) mode. It is experimental however, so do be warned. Here's my crash log:
Wonder what could be the issue with this specific shared library file that we're both having... |
Have you find out how to solve this? I have the same issue with Raspbian 4B. |
Just for First Aid. pip install hid==1.0.4 But it is not a fundamental solution... |
It seems that this is a problem with libhidapi-hidraw0 specifically. When I try to import it in python, it throws this error: |
Hi, it's possible that you have an old libhidapi-hidraw version installed. I think Ubuntu 20.04 has versoin 0.8.0..., while 22.04 has a newer libhidapi version that doesn't cause this issue with My solution to this problem is to compile my own Here is how I did it:
|
I have the same problem, the error code is exactly the same, how did you solve it, please? |
hid 1.0.5 introduced the new symbol that is not yet supported by the old dynamic library.
|
@Cryspia This did not solve the problem and I am getting the same error |
None of these solutions seem to work for me |
Might make sense relying on (Just went through the whole hurdle with this as well, for another library. One issue is that both hid & hidapi packages have the same |
Traceback (most recent call last):
File "/usr/local/bin/joycontrol-pluginloader", line 5, in
from JoycontrolPlugin.loader import main
File "/usr/local/lib/python3.8/dist-packages/JoycontrolPlugin/init.py", line 1, in
from JoycontrolPlugin.commands import JoycontrolCommands
File "/usr/local/lib/python3.8/dist-packages/JoycontrolPlugin/commands.py", line 5, in
from joycontrol.controller_state import button_push, button_press, button_release
File "/usr/local/lib/python3.8/dist-packages/joycontrol/controller_state.py", line 3, in
from joycontrol import utils
File "/usr/local/lib/python3.8/dist-packages/joycontrol/utils.py", line 5, in
import hid
File "/usr/local/lib/python3.8/dist-packages/hid/init.py", line 83, in
hidapi.hid_get_input_report.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_size_t]
File "/usr/lib/python3.8/ctypes/init.py", line 386, in getattr
func = self.getitem(name)
File "/usr/lib/python3.8/ctypes/init.py", line 391, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib/x86_64-linux-gnu/libhidapi-hidraw.so.0: undefined symbol: hid_get_input_report
Can anyone solve this problem plz??
The text was updated successfully, but these errors were encountered: