LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

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


Hi!

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,

Jonathan
 
Old 07-24-2007, 05:23 AM   #2
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 353

Rep: Reputation: 89
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, 03:33 PM   #3
webi
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,

Jonathan
 
Old 07-24-2007, 04:23 PM   #4
webi
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...

heeeeeeeeeeeeeeeeeeeeeeeeeeelp
 
Old 07-24-2007, 10:40 PM   #5
webi
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...
 
  


Reply

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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration