LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 10-26-2009, 05:08 AM   #1
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.1, OpenSuse 11.2
Posts: 4,202
Blog Entries: 14

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
serial port RS232


Is the serial port RS232 known as "amiga builtin port" ?
 
Old 10-26-2009, 08:30 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Squeeze (Fluxbox WM)
Posts: 1,324
Blog Entries: 43

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
The Amiga had both a Centronics parallel port (with a 25 pin female connector) and an RS232 serial port (with a 25 pin male connector). Both could be called a 'builtin port'.

Neither of these originated with the Amiga (ie, they were around before the Amiga). The RS232 port standard goes back to the teletype days.

The term 'Amiga builtin port' is ambiguous (it might even refer to the bus expansion port).

Last edited by neonsignal; 10-26-2009 at 08:33 AM.
 
Old 10-26-2009, 09:53 AM   #3
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.1, OpenSuse 11.2
Posts: 4,202
Blog Entries: 14

Original Poster
Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Thanks for the reply !

actually i wanted to have a look at the default ISR routine of the linux kernel for the 9 pin serial port found at the back of the cpu. I looked at the folder "/usr/src/linux-2.6.22.5-31/drivers/serial/" as well as the folder "/usr/src/linux-2.6.22.5-31/drivers/char/" to find the driver-cum ISR file for the above mentioned port ! There are so many files, I could'nt locate the one for the 9 pin serial port of the pc !

The file serial.c does'nt contain any ISR call i.e. (request_irq) !!

Kindly help !
 
Old 10-26-2009, 06:55 PM   #4
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Squeeze (Fluxbox WM)
Posts: 1,324
Blog Entries: 43

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
The RS232 standard is a hardware standard (electrical characteristics, connectors, etc). There are many devices/ICs that implement variations of it, and each require different drivers.

The IBM PC XT originally used an 8250 UART (and a standard 25 pin connector), which was changed in the PC AT to the 16450 UART (and the familiar but non-standard 9 pin connector). Of course, this functionality is now embedded in motherboard chipsets, but the basic 8250/16450/16550 interface remains.

So if you are looking for linux serial port code for a PC, you would look in 8250.c and related files. These files cover several variations (for example, the 16550 chip implemented a 16 character buffer).
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ RS232/serial port - problem with signals or interrupts muzic Programming 14 08-12-2008 02:56 AM
USB to RS232 (serial port)? - no I need to configure anything? Ultrus Linux - Hardware 12 08-16-2007 07:00 PM
console login through RS232/serial port ? Yalla-One Linux - Software 3 02-24-2005 05:12 PM
RS232 serial port programing blackzone Programming 2 08-11-2004 01:54 AM
serial port: RS232 RS574? blackzone Linux - Hardware 1 08-10-2004 05:15 AM


All times are GMT -5. The time now is 12:17 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
Open Source Consulting | Domain Registration