how toconfigure rs232 - moxa device driver using minicom
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.....
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.