# Libusb library not working

**URL:** <https://forums.blinkstick.com/t/libusb-library-not-working/1646>\
**Category:** Support\
**Created:** [August 4, 2023, 2:40pm UTC](https://forums.blinkstick.com/t/libusb-library-not-working/1646 "2023-08-04T14:40:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andres](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/a/a4c791/32.png) [@andres](https://forums.blinkstick.com/u/andres)\
**Post date:** [August 4, 2023, 2:40pm UTC](https://forums.blinkstick.com/t/libusb-library-not-working/1646/1 "2023-08-04T14:40:30Z")

</div>

Hello,  
I am trying to implement the Blinkstick API on a FreeBSD machine using Ruby. Everything installed correctly and the code examples compile with no errors. I wanted to reach out because it looks like it does not seem to read or interact with the usb. I figured it was the libusb dependency I tried to download it using pkg installer and then using ruby.

```
pkg install devel/linux_libusb 
pkg install linux_libusb
gem install libusb

```

While the downloads worked, it does not to seem to communicate with the usb device. If anyone has insight to this I would appreciate it a lot.  
Thanks,

---

<div class="post-metadata">

**Author:** ![olafrv](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@olafrv](https://forums.blinkstick.com/u/olafrv)\
**Post date:** [November 1, 2023, 12:43am UTC](https://forums.blinkstick.com/t/libusb-library-not-working/1646/2 "2023-11-01T00:43:40Z")

</div>

Try the WSL2 Linux Instructions (Only the Linux Part):

> **[GitHub - olafrv/blinkstick\_square: BlinkStick Square RESTful API server and test...](https://github.com/olafrv/blinkstick_square#microsoft-wsl2-tips)**
>
> BlinkStick Square RESTful API server and test Python3 scripts (Unofficial) - GitHub - olafrv/blinkstick\_square: BlinkStick Square RESTful API server and test Python3 scripts (Unofficial)
