Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-24-2007, 06:04 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
Serial Port Problem with Slackware 10.1/Kernel 2.6... Rare


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.

Thanks in advance.

Best Wishes,

Old 07-24-2007, 06:23 AM   #2
Slackware Contributor
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 492

Rep: Reputation: 274Reputation: 274Reputation: 274
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.
Old 07-24-2007, 04:33 PM   #3
LQ Newbie
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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.

Thanks again,

Old 07-24-2007, 05:23 PM   #4
LQ Newbie
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
New Information...
Here you have the dmesg | grep tty return

[ 23.562827] Couldn't install MOXA Smartio/Industio family tty driver !
[ 23.625082] SyncLink serial driver $Revision: 4.38 $, tty major#254
[ 23.694525] SyncLink MultiPort driver $Revision: 4.38 $, tty major#253
[ 23.694677] SyncLink GT $Revision: 4.36 $, tty major#252
[ 23.757959] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

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...

Old 07-24-2007, 11:40 PM   #5
LQ Newbie
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, more news... I put a serial mouse and it works through /dev/ttyS0...
I'm totally lost... I don't know what happen...


kernel, port, serial, slackware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Serial Port issues and Kernel 2.6 derryp Linux - Newbie 1 07-24-2007 05:52 PM
Slackware kernel with Serial port support as module maartenvdbent Slackware 16 06-11-2006 11:54 AM
how to open a rare port in linux arnab_pal Linux - Networking 3 03-29-2006 04:32 PM
complie kernel for multi port serial card chai_itm Linux - Hardware 1 03-18-2005 08:05 AM
Installing Slackware over a serial port using ppp spyke555 Slackware - Installation 2 01-19-2004 09:56 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:08 AM.

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