-
Notifications
You must be signed in to change notification settings - Fork 901
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
Not able to open device (in dynamic mode) #445
Comments
Sorry, not correct.
The outpus are:
vs
I compiled the hidtest app and I had similar result about the enumeration: it is able to open the device. Any idea? |
What platform is it? (Linux?) In any case, I think you should already have a solution: you have a working application - simply check what is the difference. |
Yes, the platform is ASUS Tinkerboard with Linaro (Debian for ARM).
is the return code. |
BTW: consider updating to a new version. |
Discovered the problem! |
That is a general UNIX question, e.g.: https://unix.stackexchange.com/questions/172197/give-group-permissions-to-specific-device |
Hi all,
I wrote a simple app to send data to LED strip device.
Using the library statically linked there are no problems.
Then I wrote another program with the library dynamically linked.
The device is not opened.
This is my code:
`
`
This is the output:
`
Pointers ok. Open device ..
hid_init: 0
Lista devices:
20A0:41E5 '0001:0027:00' '(null)' '(null)'
14C8:0005 '0001:0003:00' '(null)' '(null)'
0BDA:481A '0003:0002:ff' '(null)' '(null)'
fnOpen=0xb5dcda39 sn=''
.. Device not found
closeLedStrip handle=0 hLibrary=80848690
`
The device is enumerated but not opened.
Any idea?
Thanks, regards
The text was updated successfully, but these errors were encountered: