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.
Issue Description
Section titled “Issue Description”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.Solution
Section titled “Solution”Follow these steps to set up proper permissions and resolve the issue:
1. Create a user group for Binho devices
Section titled “1. Create a user group for Binho devices”sudo groupadd binhosudo usermod -a -G binho $USER2. Refresh your session
Section titled “2. Refresh your session”su - $USER3. Verify your user belongs to the binho group
Section titled “3. Verify your user belongs to the binho group”groups4. 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:
sudo nano /etc/udev/rules.d/99-binho.rulesAdd the following rules:
SUBSYSTEM=="usb", MODE="0666", GROUP="binho"SUBSYSTEM=="hidraw", MODE="0664", GROUP="binho"5. Reload udev rules
Section titled “5. Reload udev rules”sudo udevadm control --reloadsudo udevadm trigger6. Reboot if necessary
Section titled “6. Reboot if necessary”If the issue persists, try rebooting your system.
Verifying Device Connection
Section titled “Verifying Device Connection”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.

