diff options
author | John Klug <john.klug@multitech.com> | 2019-01-28 15:33:02 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-07-03 17:08:20 -0500 |
commit | e9817daf1aa670a6a6bd497d4095b5ecdec8a286 (patch) | |
tree | b7e8e0eac3b4433fdcf650d7a7633900593b937e /recipes-core/udev | |
parent | 9eb7fed63ce596c537e0bae0b3bd771480c3fdff (diff) | |
download | meta-mlinux-e9817daf1aa670a6a6bd497d4095b5ecdec8a286.tar.gz meta-mlinux-e9817daf1aa670a6a6bd497d4095b5ecdec8a286.tar.bz2 meta-mlinux-e9817daf1aa670a6a6bd497d4095b5ecdec8a286.zip |
Restore the mtrv1 /dev/bt link, and add old mtr to udev.
Diffstat (limited to 'recipes-core/udev')
-rw-r--r-- | recipes-core/udev/eudev/mtr/mtr.rules | 13 | ||||
-rw-r--r-- | recipes-core/udev/eudev/mtrv1/mtrv1.rules | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/recipes-core/udev/eudev/mtr/mtr.rules b/recipes-core/udev/eudev/mtr/mtr.rules new file mode 100644 index 0000000..239a846 --- /dev/null +++ b/recipes-core/udev/eudev/mtr/mtr.rules @@ -0,0 +1,13 @@ +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" + +# mtr revA: bluetooth on exar chip (ACM0, iface 0) +ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", SYMLINK+="bt" +# mtr revA: external serial on exar chip (ACM1, iface 2) +ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ext_serial" + +LABEL="mlinux_end" diff --git a/recipes-core/udev/eudev/mtrv1/mtrv1.rules b/recipes-core/udev/eudev/mtrv1/mtrv1.rules index c280402..239a846 100644 --- a/recipes-core/udev/eudev/mtrv1/mtrv1.rules +++ b/recipes-core/udev/eudev/mtrv1/mtrv1.rules @@ -6,7 +6,7 @@ SUBSYSTEMS=="usb", ENV{ID_IFACE}="$attr{bInterfaceNumber}" ENV{ID_IFACE}=="", GOTO="mlinux_end" # mtr revA: bluetooth on exar chip (ACM0, iface 0) -# ttyXRUSB is Vizzini driver name, for compatiblity. +ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", SYMLINK+="bt" # mtr revA: external serial on exar chip (ACM1, iface 2) ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ext_serial" |