LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2009, 01:47 PM   #1
rci
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
how toconfigure rs232 - moxa device driver using minicom


i am using rs232 - moxa device driver and i want to (congiure) to check the ports, can i do this with minicom & what are the steps to do ??????

thanks in advance
 
Old 07-24-2009, 02:52 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,684

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by rci View Post
i am using rs232 - moxa device driver and i want to (congiure) to check the ports, can i do this with minicom & what are the steps to do ??????

thanks in advance
You don't give alot of information, and you'll have to tell us what a "moxa" is, too.

You should just have to run minicom, and configure it to use the appropriate serial port/speed/etc. Run minicom, and follow the on-screen instructions (like "ctrl-A Z" for setup. Since you don't say anything about your hardware (USB to serial device? Which serial port, if not?), it'll either be something like /dev/ttyUSB0, /dev/ttyS0, etc....speed depends on what you're talking to.
 
Old 07-25-2009, 12:17 AM   #3
rci
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
/dev/ttyM1 -moxa driver

I am using linux kernel - 2.6.24.4
and rt - 4

the device driver is moxa - /dev/ttyM1 for rs232 i am using 2 ports -(external cable) /dev/ttyM1 and /dev/ttyM2 but not able to connect from minicom ( serial communication) the com1 and com2 are working fine

the baurates and parity bit are same but still not working pls helpme out

thank u @advnce
 
Old 07-25-2009, 03:12 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,684

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by rci View Post
I am using linux kernel - 2.6.24.4
and rt - 4

the device driver is moxa - /dev/ttyM1 for rs232 i am using 2 ports -(external cable) /dev/ttyM1 and /dev/ttyM2 but not able to connect from minicom ( serial communication) the com1 and com2 are working fine

the baurates and parity bit are same but still not working pls helpme out

thank u @advnce
Ok, what version and distro of Linux?? 2.6.24 is the kernel...are you using RedHat EL4? OpenSuSE 11.1??? Ubuntu? And you still haven't said what a "moxa" is. From Google, Moxa appears to make lots of different devices...which one are you using? It also appears that they have drivers and installation instructions on their site...have you gone through them?

And this is confusing:

Quote:
i am using 2 ports -(external cable) /dev/ttyM1 and /dev/ttyM2 but not able to connect from minicom ( serial communication) the com1 and com2 are working fine
Huh?? What external cable? And linux doesn't have com1 and com2 devices...are you talking about the /dev/ttyMx devices? As I said in my first post, fire up minicom, and point it to the right device....if you need ttyM1, set it to be so. You say the baud rates and parity are "the same", but don't say the same as WHAT.....

And please spell out your words....
 
Old 07-27-2009, 06:17 AM   #5
casper_yang
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
Moxa support can help you

Hi,

I guess you are using Moxa 2 Ports Card, right? Are you using the kernel built-in version Moxa driver? My suggestion is to try the latest driver. You can get it from Moxa web site.

http://www.moxa.com/support/download.aspx?d_id=1662

In the latest driver, it also includes some good utilities such as msdiag and msterm to help you figure out the problem.

Anyway, if you still need help please contact Moxa support team. They can give you great support. But again, please provide:

Model Name (CP-102U, CP-132EL.., get it from PCB)
Driver Version (Ver 1.16 or ..., get it from system log)
Distribution (RedHat ES 4 or ...)
Are you using real time patch?
What is you minicom setting?

Good luck.

Casper
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
minicom@rs232 kingraja84 Programming 7 03-10-2012 09:05 AM
Control of device names of USB to RS232 serial adapters hakelm Linux - Hardware 1 02-11-2008 07:49 PM
Help Writing rs232 driver ( where to start ?) qwijibow Programming 9 09-17-2006 08:05 PM
moxa multiport driver for 2.6.x?! silvercloud Linux - Hardware 0 09-24-2005 02:04 AM
looking for simple RS232 driver & sniffer fbarre Linux - Software 2 04-19-2004 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration