svn commit: r330547 - head/etc
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Mar 6 21:05:35 UTC 2018
Author: trasz
Date: Tue Mar 6 21:05:34 2018
New Revision: 330547
URL: https://svnweb.freebsd.org/changeset/base/330547
Log:
Add example devd.conf(5) entry for notifying init(8) about new USB ttys.
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/etc/devd.conf
Modified: head/etc/devd.conf
==============================================================================
--- head/etc/devd.conf Tue Mar 6 20:31:14 2018 (r330546)
+++ head/etc/devd.conf Tue Mar 6 21:05:34 2018 (r330547)
@@ -339,4 +339,15 @@ notify 10 {
action "logger $comm $core";
};
+# Let the init(8) know there's a new USB serial interface it might
+# want to run getty(8) for. This includes device-side tty created
+# by usb_template(4).
+notify 100 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "CREATE";
+ match "cdev" "ttyU[0-9]+";
+ action "/sbin/init q";
+};
+
*/
More information about the svn-src-all
mailing list