From: Maciej S. Szmigiero Date: Mon, 30 Oct 2017 08:59:31 +0000 (+0100) Subject: rules: add Freescale IMX serial ports name to serial port udev rule (#7203) X-Git-Tag: v236~284 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27b8198e132b3763d8a18ddf4ef2ef0713e849f6;p=platform%2Fupstream%2Fsystemd.git rules: add Freescale IMX serial ports name to serial port udev rule (#7203) Freescale IMX SoCs serial ports driven by kernel "imx-uart" driver have names of "ttymxcN", let's add this pattern to an udev rule for serial ports so they will have proper ownership applied. --- diff --git a/rules/50-udev-default.rules.in b/rules/50-udev-default.rules.in index 898148c..d3d1c9a 100644 --- a/rules/50-udev-default.rules.in +++ b/rules/50-udev-default.rules.in @@ -22,7 +22,7 @@ SUBSYSTEM=="tty", KERNEL=="sclp_line[0-9]*", GROUP="tty", MODE="0620" SUBSYSTEM=="tty", KERNEL=="ttysclp[0-9]*", GROUP="tty", MODE="0620" SUBSYSTEM=="tty", KERNEL=="3270/tty[0-9]*", GROUP="tty", MODE="0620" SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty" -KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout" +KERNEL=="tty[A-Z]*[0-9]|ttymxc[0-9]*|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout" SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"