summaryrefslogtreecommitdiff
path: root/recipes-core/udev/eudev/mtre/mtre.rules
blob: 041a763d989edf53e2d257a1bbe289b50fbc966e (plain)
1
2
3
4
5
6
7
8
9
10
11
ACTION=="remove", GOTO="mlinux_end"
SUBSYSTEM!="tty", GOTO="mlinux_end"
KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*|ttyXRUSB[0-9]*|ttyS*", GOTO="mlinux_end"

SUBSYSTEMS=="usb", ENV{ID_IFACE}="$attr{bInterfaceNumber}"
ENV{ID_IFACE}=="", GOTO="mlinux_end"

# mtre: external serial on exar chip
ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ext_serial"

LABEL="mlinux_end"