etc udev rules 71-bluetooth-rfcomm rules ACTION add SUBSYSTEM tty KERN

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
==> /etc/udev/rules.d/71-bluetooth-rfcomm.rules <==
ACTION=="add", SUBSYSTEM=="tty", KERNEL=="rfcomm*", \
SYSFS{address}=="00:12:D2:30:EC:C2", \
GROUP="uucp"
ACTION=="add", SUBSYSTEM=="tty", KERNEL=="rfcomm*", \
SYSFS{address}=="00:17:4B:D6:53:D6", \
GROUP="uucp"
==> /sys/class/tty/rfcomm0/address <==
00:12:D2:30:EC:C2
==> /sys/class/tty/rfcomm1/address <==
00:17:4B:D6:53:D6
При этом
crw-rw---- 1 root root 216, 0 8 16:43 /dev/rfcomm0
crw-rw---- 1 root uucp 216, 1 8 16:43 /dev/rfcomm1