Difference between revisions of "Console"

From krtkl wiki
Jump to navigation Jump to search
(Created page with "== Connecting to the Console == === Checking USB Device === From within a Linux (or OS X) terminal, <tt>dmesg</tt> can be used to show the connection information of the USB...")
 
Line 5: Line 5:
 
From within a Linux (or OS X) terminal, <tt>dmesg</tt> can be used to show the connection information of the USB device that is populated when the a connection to the snickerdoodle is made. <code>dmesg | tail</code> is used in the following example (<code> | tail</code> is used to truncate the system messages to only the most recent) to show the snickerdoodle connection and population as <tt>/dev/ttyACM0</tt>.
 
From within a Linux (or OS X) terminal, <tt>dmesg</tt> can be used to show the connection information of the USB device that is populated when the a connection to the snickerdoodle is made. <code>dmesg | tail</code> is used in the following example (<code> | tail</code> is used to truncate the system messages to only the most recent) to show the snickerdoodle connection and population as <tt>/dev/ttyACM0</tt>.
  
<pre>
+
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">$ dmesg | tail</pre>
$ dmesg | tail
+
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">
</pre>
 
<pre>
 
 
[102918.828571] usb 3-3.1: new full-speed USB device number 6 using xhci_hcd
 
[102918.828571] usb 3-3.1: new full-speed USB device number 6 using xhci_hcd
 
[102918.928776] usb 3-3.1: New USB device found, idVendor=0483, idProduct=5740
 
[102918.928776] usb 3-3.1: New USB device found, idVendor=0483, idProduct=5740
Line 20: Line 18:
 
[102919.160638] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
 
[102919.160638] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
 
</pre>
 
</pre>
 
  
 
=== Connecting Using <tt>screen</tt> ===
 
=== Connecting Using <tt>screen</tt> ===

Revision as of 22:05, 23 April 2016

Connecting to the Console

Checking USB Device

From within a Linux (or OS X) terminal, dmesg can be used to show the connection information of the USB device that is populated when the a connection to the snickerdoodle is made. dmesg | tail is used in the following example ( | tail is used to truncate the system messages to only the most recent) to show the snickerdoodle connection and population as /dev/ttyACM0.

$ dmesg | tail
[102918.828571] usb 3-3.1: new full-speed USB device number 6 using xhci_hcd
[102918.928776] usb 3-3.1: New USB device found, idVendor=0483, idProduct=5740
[102918.928779] usb 3-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[102918.928781] usb 3-3.1: Product: snickerdoodle
[102918.928782] usb 3-3.1: Manufacturer: krtkl inc.
[102918.928783] usb 3-3.1: SerialNumber: 00000000001A
[102919.139160] cdc_acm 3-3.1:1.0: This device cannot do calls on its own. It is not a modem.
[102919.139183] cdc_acm 3-3.1:1.0: ttyACM0: USB ACM device
[102919.160636] usbcore: registered new interface driver cdc_acm
[102919.160638] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

Connecting Using screen

$ screen /dev/ttyACM0 115200

Connecting Using minicom