LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how toconfigure rs232 - moxa device driver using minicom (https://www.linuxquestions.org/questions/linux-networking-3/how-toconfigure-rs232-moxa-device-driver-using-minicom-742543/)

rci 07-24-2009 01:47 PM

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

TB0ne 07-24-2009 02:52 PM

Quote:

Originally Posted by rci (Post 3619198)
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.

rci 07-25-2009 12:17 AM

/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

TB0ne 07-25-2009 03:12 PM

Quote:

Originally Posted by rci (Post 3619543)
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....

casper_yang 07-27-2009 06:17 AM

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


All times are GMT -5. The time now is 02:42 AM.