Skip to content

Solving USB Connection Issues on Linux

If you’re experiencing issues accessing Binho host adapters on Linux, whether using our SDKs or desktop apps, follow these steps to resolve the problem.

You may encounter an error when trying to access a Binho device, which could look something like:

Open connection failed. Exception type: <class 'OSError'>. Exception message: open failed.

Follow these steps to set up proper permissions and resolve the issue:

Terminal window
sudo groupadd binho
sudo usermod -a -G binho $USER
Terminal window
su - $USER

3. Verify your user belongs to the binho group

Section titled “3. Verify your user belongs to the binho group”
Terminal window
groups

4. Set proper permissions for Binho devices

Section titled “4. Set proper permissions for Binho devices”

Create a new rules file for udev to handle the USB permissions:

Terminal window
sudo nano /etc/udev/rules.d/99-binho.rules

Add the following rules:

SUBSYSTEM=="usb", MODE="0666", GROUP="binho"
SUBSYSTEM=="hidraw", MODE="0664", GROUP="binho"
Terminal window
sudo udevadm control --reload
sudo udevadm trigger

If the issue persists, try rebooting your system.

To check if your device is properly connected and recognized by your system, run your preferred application or tool, verify the device is listed, and connect to the device. The output should indicate the device is succesfully connected.