Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137879035
D13961.id38151.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D13961.id38151.diff
View Options
Index: book.xml.withusb
===================================================================
--- book.xml.withusb
+++ book.xml.withusb
@@ -6328,47 +6328,6 @@
always have a modem attached to the
port.</para>
- <para>If you are using USB to UART converter cables,
- then it will show up as a different device. An easy way to
- find out what it will show up in &man.dmesg.8; is to run
- &man.dmesg.8; without having your device connected, then
- running &man.dmesg.8; again to see what your device is
- listed as: </para>
-
- <screen>&prompt.user;<userinput> dmesg | tail -5</userinput>
-ums0: 3 buttons and [XYZ] coordinates ID=0
-ugen1.5: <Logitech USB Keyboard> at usbus1
-ukbd0 on uhub3
-ukbd0: <USB Keyboard> on usbus1
-kbd2 at ukbd0
-&prompt.user;<userinput>dmesg | tail -5</userinput>
-ukbd0: <USB Keyboard> on usbus1
-kbd2 at ukbd0
-ugen1.4: <Silicon Labs CP2102 USB to UART Bridge Controller>at usbus1
-uslcom0 on uhub3
-uslcom0: <CP2102 USB to UART Bridge Controller> on usbus1</screen>
-
- <para>In the commands above, the first &man.dmesg.8;
- happened before the device was connected. Then we
- connected the usb and the second &man.dmesg.8; was used
- to show the device detected. The <command> | tail -5 </command>
- pipe was used to do limit the output to 5 lines. This is
- only a way to ensure that our device is detected, but it
- will not show up in <filename>/dev/</filename> as
- <filename>uslcom0.</filename> USB to UART devices usually
- show up as <filename>ttyUX</filename> where X is the
- number of device.</para>
-
- <para>To establish a connection through USB to UART, use the
- <command>cu</command> command. For example if the
- device is shown up in <filename>/dev/ttyU0</filename>:</para>
-
- <screen>&prompt.user;<userinput>cu -l /dev/ttyU0 -s [speed]</userinput></screen>
-
- <para>Where <command>speed</command> is the baud-rate of
- your device which you can find on your device's website.
- For BeagleBone Black, as an example, this is 115,200.</para>
-
<para>The <filename>GENERIC</filename> kernel includes
support for two serial ports using the same IRQ and port
address settings in the above example. If these settings
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 27, 7:17 PM (13 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26261092
Default Alt Text
D13961.id38151.diff (2 KB)
Attached To
Mode
D13961: Updated the FAQ book's Chapter 15 about serial communicators
Attached
Detach File
Event Timeline
Log In to Comment