Libusb example modified