Hi,
I’m using Rust and the example code is working on Mac and giving a valid serial number and turn on the LED, but when connected to Linux the get_serials() or the open_first() fails and when executing HidApi example, I see the SN is “None”.
uname -a
Linux debian 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
I also installed:
sudo apt-get install libusb-1.0
sudo apt-get install libhidapi-hidraw0
And in Rust I’m using:
blinkstick = “0.1.2”
hidapi = “0.5.0”
$ lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 007: ID 20a0:41e5 Clay Logic
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub