Emerging Member
Posts: 58
Registered: ‎04-18-2014
Kudos: 41
Solutions: 1

Serial console - Linux minicom settings

I have bought a "Cisco" serial cable and a DB9 to USB adapter cable. I use my Debian box and minicom to connect to the ERL with these settings:

 cat /etc/minicom/minirc.dfl 
# Machine-generated file - use "minicom -s" to change parameters.
pu baudrate         115200
pu bits             8
pu parity           N
pu stopbits         1

 When I launch a session, the ERL is responding but that's what I got.

Capture du 2014-05-06 17:49:24.png

I tried to change the character encoding to no avail. Can someone share a working minicom config file?

In my next life I will try to be a native speaker of English, in the meantime please forgive my typos.
Member
Posts: 296
Registered: ‎05-09-2013
Kudos: 178
Solutions: 27

Re: Serial console - Linux minicom settings

Is by any chance your USB-RS232 adapter Prolific? They are making alot of problems and it might be your problem too. Get FTDI or ST lab next time. It's more expensive but they work well out of the box.

Emerging Member
Posts: 58
Registered: ‎04-18-2014
Kudos: 41
Solutions: 1

Re: Serial console - Linux minicom settings

[ Edited ]

I don't kwow what's the product name. I bought it from Ebay from a chinese company. lsusb sees it as QinHeng Electronics HL-340 USB-Serial adapter.

Ebay junk?

In my next life I will try to be a native speaker of English, in the meantime please forgive my typos.
Member
Posts: 296
Registered: ‎05-09-2013
Kudos: 178
Solutions: 27

Re: Serial console - Linux minicom settings

Some people reported to have pl2303 from Prolific so i guess yes, junk. Try another one if you have.

Member
Posts: 159
Registered: ‎12-07-2013
Kudos: 86
Solutions: 3

Re: Serial console - Linux minicom settings

Your settings match mine, I suspect it is the USB converter causing the problem. I gave up on them after a couple failures and am using a real serial port now. Just booting PiTux Linux to get a copy of minicom 2.1 up on my old laptop.

One of these PC Cards might do the trick cheaply if you are using a laptop, lots of PCI and PCIe card options under $20 for desktops too:

http://www.ebay.com/bhp/pcmcia-serial-port

 

 

Emerging Member
Posts: 58
Registered: ‎04-18-2014
Kudos: 41
Solutions: 1

Re: Serial console - Linux minicom settings

Thanks for your replies. I will stay on the USB adapter as I might one day have a laptop with no pcmcia interface.

Just ordered this STLab dongle:

http://r.ebay.com/hsgeYb

Hopefully with beter luck.

In my next life I will try to be a native speaker of English, in the meantime please forgive my typos.
Emerging Member
Posts: 58
Registered: ‎04-18-2014
Kudos: 41
Solutions: 1

Re: Serial console - Linux minicom settings

[ Edited ]

Update.

I received the STLab dongle and I there is a slight improvement. I can see message coming from the console port but now it's my keyboard that is unresponsive.

I am using Debian stable and its minicom package version 2.6.1.

Any idea? Driver? Minicom config (same as posted above)?

In my next life I will try to be a native speaker of English, in the meantime please forgive my typos.
Member
Posts: 296
Registered: ‎05-09-2013
Kudos: 178
Solutions: 27

Re: Serial console - Linux minicom settings

Use minicom -s and type "F" until flow control is "No" and the same with "G".

Emerging Member
Posts: 58
Registered: ‎04-18-2014
Kudos: 41
Solutions: 1

Re: Serial console - Linux minicom settings

[ Edited ]

That did it. Thanks.

For further reference, here is the minicom config file that works:

# cat /etc/minicom/minirc.dfl 
# Fichier généré automatiquement - utilisez « minicom -s »
# pour changer les paramètres
pu port             /dev/ttyUSB0
pu baudrate         115200
pu bits             8
pu parity           N
pu stopbits         1
pu rtscts           No
pu xonxoff          No

 

In my next life I will try to be a native speaker of English, in the meantime please forgive my typos.