Skip to content
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

Cannot list all devices (Ubuntu 15.04, ASUS) #244

Open
LuisDa opened this issue Nov 5, 2015 · 5 comments
Open

Cannot list all devices (Ubuntu 15.04, ASUS) #244

LuisDa opened this issue Nov 5, 2015 · 5 comments

Comments

@LuisDa
Copy link

LuisDa commented Nov 5, 2015

Hello.

I have downloaded and installed all hidapi libraries, my computer is an Asus laptop with Ubuntu 15.04. When I run the hidtest-hidraw and hidtest-libusb examples (also with root user), only the mouse is listed. I connect an Arduino UNO board, a pendrive, and the program does not recognize them at all.

How can I solve this problem? I would like to be able to develop C or C++ programs that can communicate with my Arduino or with other USB devices.

Thanks.

@signal11
Copy link
Owner

signal11 commented Nov 6, 2015

Permissions?

Also, many devices are blacklisted from hidraw.

@signal11
Copy link
Owner

signal11 commented Nov 7, 2015

BTW, arduino and USB thumb drives are not HID devices and won't show up in hidapi.

@LuisDa
Copy link
Author

LuisDa commented Nov 8, 2015

Hi!

Thanks for your reply :-) .

As you mentioned, I have discovered that Arduino boards are not HID devices, neither external storage disks and pendrives. I have discovered it later (I am kind newbie using HID API).

Regards,

Luisda.

@NicoHood
Copy link

NicoHood commented Nov 8, 2015

Arduino boards can act as HID device.
See RawHID and (on the dev tree) the feature report keyboard example.
https://github.com/NicoHood/HID

I am currently developing an ambilight via a keyboard feature request. Also see this:
arduino/Arduino#4105

@Sharofiddin
Copy link

Are POS printers HID devices also?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants