summaryrefslogtreecommitdiff
path: root/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules')
-rw-r--r--recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules21
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules b/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules
deleted file mode 100644
index 376486b..0000000
--- a/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules
+++ /dev/null
@@ -1,21 +0,0 @@
-#To add new rule for new device you have to run (in case if you want to add eth1 interface)
-#admin@mtcdt:~# udevadm info --attribute-walk --path=/sys/class/net/eth1
-# looking at device '/devices/ahb.0/700000.ehci/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.0/net/eth1':
-# KERNEL=="eth1"
-# SUBSYSTEM=="net"
-# DRIVER==""
-# ATTR{mtu}=="1500"
-# ATTR{type}=="1"
-# ...........
-# ...........
-
-# looking at parent device '/devices/ahb.0/700000.ehci/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.0':
-# KERNELS=="1-2.1.1:1.0" <------------------- extract this record to add to the rule
-# SUBSYSTEMS=="usb"
-# DRIVERS=="smsc75xx"
-# ATTRS{bInterfaceClass}=="ff"
-# ATTRS{bInterfaceSubClass}=="00"
-# ...........
-
-KERNELS=="1-2.1.1:1.0", SUBSYSTEMS=="usb", DRIVERS=="smsc75xx", NAME="eth1"
-KERNELS=="1-2.1.2:1.0", SUBSYSTEMS=="usb", DRIVERS=="smsc75xx", NAME="eth2"