Serial Port Problem with Slackware 10.1/Kernel 2.6... Rare
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Iīm new on this forum, Iīm Jonathan and I hope you can help me.
This is the situation:
I have a PC with slackware 10.1 with kernel 2.4 running without problems.
I connect to the serial port (/dev/ttyS1) a device and I can use it without any problem... (I use a C program that use LibSerial).
Now, I have another PC with slackware 10.1 too, but kernel 2.6 (the last release).
I connect the same device, use the same C app but the port here is /dev/ttyS0 (or /dev/tts/0) but it doesnīt work.
I tried with setserial and put the right information... I check the bios.. all possible, but it doesnīt work.
setserial return me the right information and if I do a dmesg | grep tty I see the line where the kernel detect the serial port...
Iīm logged as root too, so it isnīt a permission issue...
maybe itīs "blocked" ? or down?
NOTE1: I connect a device that have leds, etc... it isnīt a modem
NOTE2: When I compile the kernel 2.6, I select to built-in all config about the serial port, because I will use it... maybe I should select them as modules?
Could you help me? I donīt know what I can do and need it ASAP.
So you say it finds the serial port, but you can't establish a connection to the device? Have you tried the other serial device files (i.e. ttyS1, ttyS2, etc), If you have more than two, this might get mixed up. I also encountered on my pc that if you connect the serial port from back to a front panel, it gets another number.
hi ppr:kut, I tried all you said... I have only one serial port on my motherboard, so I have only one chance.
About establish the connection... As I said, I'm using libserial with a C++ app... this app doesn't report any error, so I think it's connecting fine to the serial port.
As you can see, it says that can't install the moxa driver... I google it and found that the driver is mxser.c, but I tried to modprobe it and doesnt' work, I don't know how to compile it... or where it is on the make menuconfig...
heeeeeeeeeeeeeeeeeeeeeeeeeeelp
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.