{"id":498,"date":"2010-02-11T21:53:11","date_gmt":"2010-02-12T02:53:11","guid":{"rendered":"http:\/\/www.yourlinuxguy.com\/?p=498"},"modified":"2010-02-11T21:53:11","modified_gmt":"2010-02-12T02:53:11","slug":"how-to-configure-a-usb-attached-serial-port-on-linux","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=498","title":{"rendered":"How to configure a USB attached serial port on Linux"},"content":{"rendered":"<p>Recently I came out of the 1990&#8217;s, and moved to an IBM laptop that <em>does not have a serial port<\/em>&#8230;  Gasp!<\/p>\n<p>Of course, this is not a big deal to alot of people, but I&#8217;m a server guy.\u00a0 I do terminal sessions to Sun\/Solaris servers and Cisco routers and such;\u00a0 I really can&#8217;t live without a serial port.\u00a0 So I basically had 2 options:<\/p>\n<ol>\n<li>Go back to my old latop (nope, no way, nahgahdah)<\/li>\n<li>Get a USB attached serial port<\/li>\n<\/ol>\n<p>&#8230;so after reading a ton of reviews at NewEgg.com, I finally settled on the <a title=\"http:\/\/www.newegg.com\/Product\/Product.aspx?Item=N82E16812339013\" href=\"http:\/\/www.newegg.com\/Product\/Product.aspx?Item=N82E16812339013\" target=\"_blank\">CABLES UNLIMITED USB-2920 USB 2.0 to Serial DB9 Adapter<\/a>.\u00a0 At the time I bought it, it was on sale and had a shipping special.\u00a0 But at the time of this writing it is $16.99.\u00a0 &#8230;Still not bad, really.<\/p>\n<h3>First, Windows<\/h3>\n<p>As it happens, when I first bought it, I connected it to my laptop, and I fired up a Windows XP guest in VMWare Server 2 on my Opensuse 11.2, and &#8220;virtually&#8221; connected the USB to the XP guest (can&#8217;t do *that* in ESX&#8230; nyah, nyah).\u00a0 The driver installation in Windows was a little weird,\u00a0 since the driver installation was a little language-challenged&#8230;\u00a0 But if you know what you&#8217;re doing, you can get it done.\u00a0 Once it was all set up in Windows, it was easy to use in Hyper Terminal and Putty, and it really worked perfectly.<\/p>\n<h3>Then, Linux<\/h3>\n<p>A few days later, I needed to do a serial connection again.\u00a0 This time I didn&#8217;t feel like firing up my VM guest, so decided to stop playing around, and configure it natively in Linux for use in minicom.\u00a0 Here&#8217;s where it gets good&#8230;\u00a0 It is sooooo easy to setup in Opensuse, and I hope\/assume it is nearly as easy in other distros, though I&#8217;ve not tested it.\u00a0 Here&#8217;s basically what I did:<\/p>\n<p>Step 1:\u00a0 Plug into adapter into USB port<\/p>\n<p>Step 2:\u00a0 Launch <code>minicom -s<\/code> (to enter configuration)<\/p>\n<p>Step 3:\u00a0 Configure the port as \/dev\/ttyUSB0\u00a0 (that&#8217;s a zero, though it could be a 1 on yours if you have multiple), and save as &#8220;dfl&#8221; (default)<\/p>\n<p>Step 4:\u00a0 Enjoy!<\/p>\n<p>I hope this helps&#8230;<\/p>\n<p>\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I came out of the 1990&#8217;s, and moved to an IBM laptop that does not have a serial port&#8230; Gasp! Of course, this is not a big deal to alot of people, but I&#8217;m a server guy.\u00a0 I do&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=498\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10,89,80],"tags":[],"class_list":["post-498","post","type-post","status-publish","format-standard","hentry","category-introductory","category-minicom","category-opensuse11-2"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-82","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=498"}],"version-history":[{"count":10,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/498\/revisions"}],"predecessor-version":[{"id":508,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/498\/revisions\/508"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}