udev rules #5

Open
opened 2024-04-29 15:31:29 +00:00 by kumitterer · 0 comments
kumitterer commented 2024-04-29 15:31:29 +00:00 (Migrated from github.com)

This probably affects more than just RPi OS, but I encountered the issue while testing there: Users don't usually have write access to USB devices.

I fixed this by adding the following udev rules as /etc/udev/rules.d/99-limesdr.rules:

# LimeSDR Mini
SUBSYSTEM=="usb", ATTRS{idProduct}=="601f", ATTRS{idVendor}=="0403", MODE="0660", GROUP="plugdev"

# LimeSDR
SUBSYSTEM=="usb", ATTRS{idProduct}=="6108", ATTRS{idVendor}=="1d50", MODE="0660", GROUP="plugdev"

The default user in Raspberry Pi OS is in the plugdev group, among others, and that one seemed to sound reasonable.

Then, sudo udevadm control --reload (and re-plug the device if it was plugged in). Et voilà.

This probably affects more than just RPi OS, but I encountered the issue while testing there: Users don't usually have write access to USB devices. I fixed this by adding the following udev rules as `/etc/udev/rules.d/99-limesdr.rules`: ``` # LimeSDR Mini SUBSYSTEM=="usb", ATTRS{idProduct}=="601f", ATTRS{idVendor}=="0403", MODE="0660", GROUP="plugdev" # LimeSDR SUBSYSTEM=="usb", ATTRS{idProduct}=="6108", ATTRS{idVendor}=="1d50", MODE="0660", GROUP="plugdev" ``` The default user in Raspberry Pi OS is in the `plugdev` group, among others, and that one seemed to sound reasonable. Then, `sudo udevadm control --reload` (and re-plug the device if it was plugged in). Et voilà.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: nqrduck/LimeDriverBindings#5
No description provided.