I have a udev rules [courtesy of Analog Devices] to give group rw permission to /dev/ttyACM0.
The rules are as follows:
/etc/udev/rules.d/53-adi-m2k-usb.rules# allow “dialout” group read/write access to ADI M2K devices
SUBSYSTEM==“usb”, ATTRS{idVendor}==“0456”, ATTRS{idProduct}==“b672”, MODE=“0664”, GROUP=“dialout”
SUBSYSTEM==“usb”, ATTRS{idVendor}==“0456”, ATTRS{idProduct}==“b675”, MODE=“0664”, GROUP=“dialout”
tell the ModemManager (part of the NetworkManager suite) that the device is not a modem,
and don’t send AT commands to it
SUBSYSTEM==“usb”, ATTRS{idVendor}==“0456”, ATTRS{idProduct}==“b672”, ENV{ID_MM_DEVICE_IGNORE}="1
From lsusb I get :
Bus 001 Device 002: ID 0456:b672 Analog Devices, Inc.
When I plug in the MK2 device I get
crw-rw----+ 1 root root 166, 0 May 23 09:22 /dev/ttyACM0
After running the following command it works:
udevadm test -a add $(udevadm info -q path -n /dev/ttyACM0)
crw-rw----+ 1 root dialout 166, 0 May 23 09:24 /dev/ttyACM0
I need non root users who are in the group dialout to be have rw access to /dev/ttyACM0
My system is :
Rocky Linux 8.8 4.18.0-477.10.1.el8_8.x86_64
udev rules
Any help is welcome.