Find the answer to your Linux question:
Results 1 to 2 of 2
Code: ~$ uname -a Linux localhost 3.4.0 #1 SMP Tue Aug 27 20:51:28 PDT 2013 i686 i686 i386 GNU/Linux ~$ head -n1 /etc/issue Ubuntu 12.04.3 LTS \n \l I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2013
    Posts
    1

    Trouble connecting to device through PuTTY


    Code:
    ~$ uname -a
    Linux localhost 3.4.0 #1 SMP Tue Aug 27 20:51:28 PDT 2013 i686 i686 i386 GNU/Linux
    ~$ head -n1 /etc/issue
    Ubuntu 12.04.3 LTS \n \l
    I have installed XFCE on my Acer Chromebook using Crouton. I am trying to connect to a Computer-on-Module via a usb-serial converter. I run the dmseg | grep tty command looking for my serial port, and get this output.
    Code:
    ~$ dmesg | grep tty
    [ 7963.257037] usb 2-1.2: pl2303 converter now attached to ttyUSB0
    [11052.098612] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
    [11320.611524] usb 2-1.2: pl2303 converter now attached to ttyUSB0
    [13865.856333] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
    [22547.104224] usb 2-1.2: pl2303 converter now attached to ttyUSB0
    I then run putty and try to make a serial connection. I know for a fact that my baud rate/bit information is correct. In the "Serial Line" text box, I have put /dev/ttyUSB0, /dev/ttyS0, ttyUSB0, ttyS0, and COM0. All of those attempts left me with the error message:
    Unable to open connection to:
    Unable to open serial port.


    I have successfully made this connecting using a Windows machine, so I know that it's not a hardware issue with either the Computer-on-Module or the cable.

    What steps do I need to take to get my computer to connect?

  2. #2
    Linux Newbie arespi's Avatar
    Join Date
    May 2011
    Location
    Monterrey , Mexico
    Posts
    156
    Hi, you still need a driver for the usb-to-serial converter wich may or may not exist for linux.
    What you see at dmesg is that linux is detecting when you plug in the converter in the usb port, it is just that it doesnt know what to do with it, that is what the driver is for. Once you get a proper driver a /dev/ttySxx should be available.

    Good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •