-
Notifications
You must be signed in to change notification settings - Fork 4
Changing udev rules
Pavan Vemuri edited this page Dec 26, 2018
·
1 revision
Reference: https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
-
lsusb
gives the info of USB device as XXXX:YYYY where XXXX is vendor_id and YYYY is product_id -
Edit
/etc/udev/rules.d/10-local.rules
asACTION=="add", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="YYYY", SYMLINK+="drive_arduino"
-
lsusb -v -d XXXX:YYYY
or udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0)