summaryrefslogtreecommitdiff
path: root/recipes-core/udev/eudev/mtrv1/mtrv1.rules
blob: 5d528e68f5a4e95244a3d8141f83b258af2f0716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ACTION=="remove", GOTO="mlinux_end"
SUBSYSTEM!="tty", GOTO="mlinux_end"
KERNEL!="ttyXRUSB[0-9]*", GOTO="mlinux_end"

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

# Accessory Ports
ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", SYMLINK+="ttyAP1"
ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="00", SYMLINK+="ttyAP1"
ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ttyAP2"
ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="02", SYMLINK+="ttyAP2"

LABEL="mlinux_end"