depending on the ownership of the dev file
You could install a udev rule to change the permissions or owner of the device, and avoid running your daemon as root.
You could install a udev rule to change the permissions or owner of the device, and avoid running your daemon as root.