-
Notifications
You must be signed in to change notification settings - Fork 88
Ubuntu usb serial ports
akaJes edited this page Sep 29, 2017
·
1 revision
- create the file
/etc/udev/rules.d/99-arduino.ruleswith roor:root owner, if not exists - remove your usb device
- run script
lsusb >/tmp/lsusb.1 ; read -p "Insert usb device and press enter" ; lsusb >/tmp/lsusb.2 ; diff /tmp/lsusb.1 /tmp/lsusb.2 - press eneter and use XXXX:YYYY pair for next step
- add
SUBSYSTEMS=="usb", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="YYYY", MODE="0660", GROUP="dialout" - repeat for all other devices
- then reload rules
udevadm control -R - check if user exists in dialout group
grep dialout /etc/group - if not add to it
usermod -a -G dialout <yourUserName>- AFTER ADD IT NEEDS REBOOT or change to GROUP="your name"