Code: Select all
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666", GROUP="adminpete"
Code: Select all
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666", GROUP="adminpete"
Code: Select all
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666"
Code: Select all
# f055:9800, 9801, 9802 MicroPython pyboard
ATTRS{idVendor}=="f055", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="f055", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="f055", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="f055", MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666"
# Add lines like the following to create custom named device nodes based on the
# serial number.
# KERNEL=="ttyACM*", ATTRS{idVendor}=="f055", ATTRS{serial}=="385435603432", SYMLINK+="pyboard", MODE:="0666"
Code: Select all
# 0483:df11 - STM32F4 Discovery in DFU mode (CN5)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666"
Code: Select all
940 >lsusb
...
Bus 005 Device 072: ID 0483:df11 STMicroelectronics STM Device in DFU Mode
...
Code: Select all
941 >find /dev -name 072 -ls
696 0 crw-rw-rw- 1 root root 189, 583 Nov 29 09:44 /dev/bus/usb/005/072
I'd keep the GROUP="plugdev" or GROUP="users" if I were you. But if you're not OCD like I am, not having one is also fine :)pythoncoder wrote:Thanks! The key was getting rid of the GROUP clause altogether.
The user and group of the desired usb device.ls -la /dev/tty*
3. reboot (that's one of the very few cases a linux machine needs a reboot, you can do it without (logout and in) but usually on a desktop machine a reboot is the most painless and successful way)usermod -a -G <group> <user>
Code: Select all
id