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
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
Follow these steps to set up proper permissions and resolve the issue:
1. Create a user group for Binho devices
sudo groupadd binho
sudo usermod -a -G binho $USER2. Refresh your session
su - $USER3. Verify your user belongs to the binho group
binho groupgroups4. 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
udev rulessudo udevadm control --reload
sudo udevadm trigger6. Reboot if necessary
If the issue persists, try rebooting your system.
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.
Last updated