You are not logged in.

#1 2011-04-18 18:55:20

skwid
Member
Registered: 2009-09-20
Posts: 105

[SOLVED] Serial Port Help

So I've got a few switches to configure and I figured I'd try it with my Arch box.  I loaded gtkterm (not sure if there is a better alternative), and connected up the switch, but nothing. 

At first it said I didn't have permissions, but I did a chmod to /dev/ttyS0 and now no error.

I also added myself to the uucp group.

Anything I'm missing?

thanks ahead.

J

Last edited by skwid (2011-04-19 12:18:34)

Offline

#2 2011-04-18 20:23:31

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: [SOLVED] Serial Port Help

Find out the serial port

dmesg | grep tty

You can use minicom from a terminal (probably as root)

minicom -s 

Go to Serial Port Setup to configure baud rate and other stuff

Offline

#3 2011-04-18 21:11:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,784

Re: [SOLVED] Serial Port Help

Well, there is the usual litany of Baud, Parity and Handshake.  What you are doing should work just fine.

Try this:  Take your serial output connector and just strap pin 2 to pin 3, and see if you can echo back to yourself (ignoring the 'switch' for now)
If you can get it to work in loop, you are most of the way there.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2011-04-19 11:30:06

skwid
Member
Registered: 2009-09-20
Posts: 105

Re: [SOLVED] Serial Port Help

Thanks for the input.

dmesg output

console tty0 enabled
ttys0 at I/O 0xecb8 (irq = 17) is a 16550A

Minicom just kinda hangs after I get it configured.  CTRL-A doesn't do anything.


Let me try the pin trick ewaller suggested.  I do know I have baud and all the settings correct.

Thanks!

Offline

#5 2011-04-19 12:18:25

skwid
Member
Registered: 2009-09-20
Posts: 105

Re: [SOLVED] Serial Port Help

Ok, I figured it out.

This Dell I'm using had the serial port setup to AUTO and was acting all weird.  I hard set it in the BIOS and I'm good to go.

setserial reported it correctly.   

I know better... I should have checked that first thing.


Thanks!

Offline

Board footer

Powered by FluxBB