Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Serial ports not working under Linux
DaveOz
post Sep 18 2011, 10:47 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 18-September 11
Member No.: 15,584



Seems like a linux kernel or driver issue. We have a industrial type motherboard with 4 serial ports that will not work when running arch linux; and this problem has us stumped. The ports work with windows embedded, so we know the hardware is good. The super IO chip on the MB is old enough that drivers should not be a problem. And the flow control pins work (indicate the correct voltage) when set manually through a comms tool (coolterm). However we cannot get the ports to communicate with known good serial devices (that work with other computers and with the same MB running windows embedded). Also worth noting is the same harddrive with this linux OS can be booted on a different industrial board and those serial ports work fine. Also this problem occurs under both Arch Linux and Ubuntu.
The kernel is updated and auto compiled following update. setserial returns expected IRQ and address settings for the ports (matching up with bios settings), and running setserial with autoconfigure returns the same settings.
Only odd thing noticed is that dmesg shows two different IRQs for ttyS0 in two different lines, but the other ports do not shows up this way. All ports indicate connected when tested with coolterm, but again no data is ever transmitted or received successfully!!
Any ideas on the cause of this problem, or suggestions on how to better test are appreciated!!
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
DaveOz
post Sep 20 2011, 09:13 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 18-September 11
Member No.: 15,584



Turns out all that was needed was to add pnpacpi=off to the kernel command line in /boot/grub/menu.lst. this turns off pnp management of the serial ports, which was disabling IRQ sharing that turns out to be required for the Super IO chip providing those ports.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd November 2017 - 03:30 PM