From krtkl wiki
Jump to navigation Jump to search

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