dcuddeback / libusb-rs

A safe Rust wrapper for libusb.
MIT License
199 stars 64 forks source link

read_device example returns error on ArchLinux #22

Closed mrcbax closed 6 years ago

mrcbax commented 6 years ago

libusb version: libusb-1.0.21-2-x86_64 Linux Kernel: x86_64 Linux 4.13.11-1-ARCH 2006 Motherboard USB2.0 Compatible Intel chipset

Fails finding device.

lsusb info:

Bus 001 Device 010: ID 045e:02e6 Microsoft Corp. Wireless XBox Controller Dongle

read_device error:

./target/debug/read_device 1118 742
could not find device 045e:02e6
mrcbax commented 6 years ago

Also recompiled to release version. Same error.

dcuddeback commented 6 years ago

I don't really see how this is actionable. The example just calls functions provided by libusb, so you would get the same error if you use libusb directly. Closing since this doesn't suggest an issue in this library.