Index: head/en_US.ISO8859-1/books/handbook/usb-device-mode/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/handbook/usb-device-mode/chapter.xml
+++ head/en_US.ISO8859-1/books/handbook/usb-device-mode/chapter.xml
@@ -127,19 +127,19 @@
To enable USB device mode serial ports, add those lines
to /etc/ttys:
- ttyU0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
-ttyU1 "/usr/libexec/getty 3wire" vt100 onifconsole secure
+ ttyU0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
+ttyU1 "/usr/libexec/getty 3wire" vt100 onifconsole secure
Then add these lines to
/etc/devd.conf:
- notify 100 {
+ notify 100 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "CREATE";
match "cdev" "ttyU[0-9]+";
action "/sbin/init q";
-};
+};
Reload the configuration if
&man.devd.8; is already running:
@@ -175,13 +175,13 @@
&prompt.root; cu -l /dev/ttyU0
- After pressing the Enter key a few times you will see
+ After pressing the Enter key a few times you will see
a login prompt.
Connecting to USB Device Mode Serial Ports from
- macOS
+ &macos;
To connect to a board configured to provide USB device
mode serial ports, connect the USB host, such as a laptop,
@@ -238,8 +238,8 @@
those lines to /boot/loader.conf, creating
it if it does not already exist:
- if_cdce_load="YES"
-hw.usb.template=1
+ if_cdce_load="YES"
+hw.usb.template=1
To load the module and set the template without rebooting
use: