新建规则文件,GROUP表示用户组.
id 查看用户
$ id
uid=1000(huanhe) gid=1000(huanhe) 组=1000(huanhe)
$ cat /etc/udev/rules.d/xxx_printer.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0016", MODE="0666"
SUBSYSTEM=="usb_device", ATTRS{idVendor}=="0016", MODE="0666"
标签:idVendor,USB,0016,linux,huanhe,普通用户,1000
From: https://www.cnblogs.com/jiftle/p/17671955.html