LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2014, 06:12 PM   #1
ferite
Member
 
Registered: Jul 2014
Posts: 30

Rep: Reputation: Disabled
Determine if Linux will recognize serial ports.


I want to purchase this board. But I need to make use of serial ports. So I need to know if Linux or some distros of Linux would recognized the serial ports onboard. The manufacturer only offers drivers for Windows. As the board is not open source, I don't know what is the UART Controller chip. However if I open the .inf file of Windows drivers it is said:

;Installation Notes:
; Using Devcon: Type "devcon update iaiouart.inf ACPI\INT33C4" to install on FPGA platforms
; Using Devcon: Type "devcon update iaiouart.inf ACPI\INT33C5" to install on FPGA platforms

After that I think the controller chip must be ACPI\INT33C4.

Thanks.
 
Old 08-06-2014, 07:28 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
You need to look for uart name and type.
 
Old 08-06-2014, 07:44 PM   #3
ferite
Member
 
Registered: Jul 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
You need to look for uart name and type.
Jefro. Is it possible to do this without having the board yet?
 
Old 08-07-2014, 12:07 PM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,139

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
My computers have serial ports, but it's a long time since I used them. I certainly never installed a driver: I think a driver is only needed for a plug-in serial card. Here's a good place to start:
http://tldp.org/HOWTO/Serial-HOWTO.html
 
Old 08-07-2014, 12:44 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
With its ultra-small form factor design and support for Linux* and Windows* embedded operating systems
http://linuxgizmos.com/intel-nuc-use...as-kit-or-sbc/

Basically a small form factor PC so I would also conclude that the serial ports should work and no drivers required.
 
Old 08-07-2014, 12:57 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I use serial ports all the time, on everything from Windows PCs to Linux PCs to Linux embedded systems, and I've never had to go out of my way to install any drivers for them.

Actually I take that back, I did have to go out of my way once when I was trying to use a USB to serial adapter on a Mac. Why does Apple have to make everything so difficult?
 
Old 08-07-2014, 02:05 PM   #7
ferite
Member
 
Registered: Jul 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Hi. to tell the truth, according with my experience, when a computer has serial ports, it was always a matter of start an OS, and the serial ports were there. What worried me about this, is that at the download page there is a driver for Windows, so I assumed that from some reason this serial controller was hard to be recognized.
 
Old 08-07-2014, 02:38 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
It is almost a 100% chance this board will support some form of serial. Some of these nuc cards (not this one) have a fancy dual 485/232 port in them. I doubt that would even be an issue. Serial has been around for so long and so much an embedded part of boards that we don't see issues anymore except forgetting how to set them up.

For the most part the serial uart chip is one of the original parts of an x86. It is not an add on part. If for some reason your distro doesn't support the uart chip then you should be able to get it added.

Again, Intel is of the most well supported boards I've known. They offer excellent documentation.

http://downloadmirror.intel.com/2374...ProdSpec04.pdf

Show that the cpu has morphed into basically a single device. The only thing is has is a driver for the serial.

The only time I ever saw any issue was with a new type very high speed serial chip. Not sure anyone even uses it anymore.

Last edited by jefro; 08-07-2014 at 03:01 PM.
 
Old 08-08-2014, 11:27 AM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,139

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by ferite View Post
What worried me about this, is that at the download page there is a driver for Windows, so I assumed that from some reason this serial controller was hard to be recognized.
I don't know Windows, but doesn't it need a separate driver for everything? My monitor came with a Windows installation disk, but it must be 10 years since Linux had to be told a monitor's parameters.
 
Old 08-08-2014, 04:31 PM   #10
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It LOOKS like it is supported by Linux (I found driver references for INT33C4 for setting a serial clock). It appears to be a "Intel Lynxpoint". But from the product images, it may be a bit tricky to use as there are no visible plugs for the serial ports on the board. It is only identified as "serial ports header" and is covered up by the reference number, so some additional circuitry may be needed to turn them into two serial ports (it doesn't look large enough for a full set of pins...).

Last edited by jpollard; 08-08-2014 at 04:35 PM.
 
Old 08-08-2014, 04:34 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
It has two headers for serial.
 
Old 08-08-2014, 05:47 PM   #12
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by jefro View Post
It has two headers for serial.
Could be - the image I see in the document is too low a resolution to be sure. I can only find one "18" (serial ports header) referenced, implying both are in the same place, but no sockets, and perhaps the pins are covered up by the reference number.
 
Old 08-28-2014, 05:52 PM   #13
ferite
Member
 
Registered: Jul 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
I just received the board. After booting Ubuntu (Live) 10.04 LTS, I run some commands to check if the ports are recognized:

Code:
root@ubuntu:/home/ubuntu# setserial -g /dev/ttyS[0123]

/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
Code:
root@ubuntu:/home/ubuntu# dmesg | grep tty

[    0.000000] console [tty0] enabled
[    4.355709] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Does it mean that there is just one port being recognized?. By the record, according to the manual, the board has 2 serial ports, via a 10 pin header.
 
Old 08-28-2014, 06:28 PM   #14
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
That is what it looks like. On my system (only two ports):
Code:
# setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
so it is also possible the "unknown" is used to also mean "nonexistent".
 
Old 08-29-2014, 10:26 AM   #15
ferite
Member
 
Registered: Jul 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
This is not good for me. I was needing both ports.
 
  


Reply

Tags
driver, serial port



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 ports, USB-Serial adapters, and Linux Daravon Linux - Newbie 3 09-09-2010 06:53 AM
How do I connect Linux to VM's Windows via serial ports ? mrguo Linux - Hardware 0 01-17-2009 09:11 PM
Programming serial ports on Linux cgabs8 Programming 3 09-24-2008 02:49 AM
How to Connect 2 Linux Server using serial ports only? SebTECH Linux - Enterprise 14 01-20-2007 09:36 AM
Monitoring Serial Ports under Linux fcAL Linux - General 0 09-17-2002 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration