Skip to content

Udev Rules

Bryan Hunt edited this page Jun 22, 2021 · 2 revisions

Using HID Kits with Linux

By default when using the Cryptoauthentication kits that communicate via USB-HID they will be unavailable to cryptoauthlib when not run with sudo. To resolve this it is recommended to update the udev rules by adding the 90-cryptohid.rules file to the /etc/udev/rules.d folder

For example if udev rules are stored in /etc/udev/rules.d

$ sudo cp cryptoauthlib/lib/hal/90-cryptohid.rules /etc/udev/rules.d

To reload the rules so the device becomes available without the use of sudo

sudo udevadm control --reload-rules