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
  Search this Thread
Old 01-16-2020, 10:33 AM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
Controller Card example: What do they specifically do?


Other then being in between the main board and a peripheral device, how does a Controller work? Are they a buffer, change analog to digital etcetera?

Thank you for your expertise!
 
Old 01-16-2020, 10:51 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,432

Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
Quote:
Originally Posted by theKbStockpiler View Post
Other then being in between the main board and a peripheral device, how does a Controller work? Are they a buffer, change analog to digital etcetera?

Thank you for your expertise!
Theoretically and usually, what that controller card is designed to do.
 
Old 01-16-2020, 11:12 AM   #3
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
What' the difference between the input to the card and the output?
 
Old 01-16-2020, 11:14 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,647

Rep: Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280
If we go back a few years to the early PC days and pick a serial port card. A PCI card typically has an address/IRQ. Very simply the operating system/program via the serial driver sends data to the serial port's card address (default ttys0 3F8/IRQ4 ). The card reads the data off the bus and converts it to RS-232 signal levels which then appears on the 9 or 25 pin connector.
 
1 members found this post helpful.
Old 01-16-2020, 11:26 AM   #5
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
Thank you for the info. Could you please direct me to what is the 'standard' that a Bus can accept? Is it just what defines digital data and speed like about .03V for zero and .42 for one?
 
Old 01-16-2020, 12:00 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,647

Rep: Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280
It depends on the bus design and its architecture.

Is this for general knowledge or something more specific?

This might help.
https://en.wikipedia.org/wiki/PCI_Express
 
Old 01-16-2020, 12:36 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,432

Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
@Moderators: Isn't this guy trolling?


@theKbStockpiler: stop asking general questions. If you have a specific problem or question, outline it, along with the equipment you're having the problem on. If you want general information, do general reading.
 
Old 01-16-2020, 12:54 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,647

Rep: Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280
I will give theKbStockpiler the benefit of the doubt...
 
Old 01-16-2020, 02:50 PM   #9
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
I'm studying the main board of a IBM 5150. I think it' my best bet to see the interaction of software and hardware with out a million layers in between. I found a decent amount of literature on line to study how DOS interacts with the 5010 to use as a base to reference to a Linux From Scratch build.

A more direct question would be "what environment does the bus of a 5150 operate in"? I would actually assume that if the hardware did not output and receive just 1's and 0's the hardware was incomplete.

I did a search on 'card controllers' and you can't do much with the definitions given. I found some info on keyboard controllers which do actually describe how they transduce the motion of the key to data put on the bus.
 
Old 01-16-2020, 04:29 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,647

Rep: Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280
Did you read this?
https://en.wikipedia.org/wiki/Indust...d_Architecture

The only thing built into the motherboard was the keyboard controller at the time. The 5150 only had floppies so the serial,parallel and video cards all plugged into the bus.
 
1 members found this post helpful.
Old 01-16-2020, 06:04 PM   #11
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
Thank you for the link!That link led to this one.
http://www.interfacebus.com/Design_PCAT_Card.html
 
Old 01-19-2020, 04:42 PM   #12
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,708

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
Controller card is a very general term. When you buy a computer it does not come with every possible communication interface supplied so you generally have specific cards connected to the computer by a PCI bus or similar. I'm old enough to remember other propitiatory connections like Sun Microsystem's S-bus, DEC's Unibus, SCSI buses, etc.

The computer only needs to have the ability to communicate to this level as the controller card handles the communication between the connected device(s) and the computer.

A RAID controller is used to configure and control RAIDed disks; initialise the RAID volumes, handle disk failures and rebuild volumes. Plus handle the data flow between the RAID virtual disks. All without CPU intervention.

Fibre HBAs handle communications between the computer bus and the LED or laser diodes which link to disk arrays, tape or other storage devices and networks.

Nics do the same between the computer and hubs, switches, routers, etc.

Comms protocols between the various devices tend to follow standards so controller cards are used to, er... control this data irrespective of what computer or OS is being used.

My

Play Bonny!

 
Old 01-20-2020, 04:44 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,432

Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
The IBM 5150 was an overrated POS in hardware terms foisted on a non savvy public. It aimed to be the computer of the future, but the design was so myopic, it's a wonder it survived. In it's defence, the hardware at the time was pathetic.

It's designed-in errors took the computer industry over 20 years to rid itself of. IMO, you can't learn much from a 5150 to base lfs on. LFS is software; you're studying Computer Hardware Archaeology. Most of the interface is handled by glibc libs. Once you've built glibc, you're done with hardware until the graphics. The 5150 uses an 8088 - a 16 bit cpu with an 8 bit data bus, (giving 16 bits in 2 chunks of 8). It has an ISA bus for controller cards. The buses have gone ISA --> EISA -->VLB --> PCI --> AGP --> PCIE, and the buses are used less and less as things are integrated. The 5150 had 182K of ram, whereas some boxes today have 64G!
 
Old 01-20-2020, 07:38 AM   #14
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by theKbStockpiler View Post
I'm studying the main board of a IBM 5150.
That's still an ISA bus, which actually isn't - in THAT form - used anymore (it only had an 8-bits dataline, because the 8088 couldn't handle more then that anyway).
It got extended for the 80286 (PC/AT) and even the 80386.
Nowadays the PCI bus is the more standard one, although the faster PCI-X (eXpress) one is taking over.
 
Old 01-20-2020, 07:44 AM   #15
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by business_kid View Post
In it's defence, the hardware at the time was pathetic.
AND expensive, it was geared to business, home users couldn't afford it.
Quote:
With 16KB of RAM and a single floppy drive, the machine had a suggested price of $1,565; loaded, it could reach $6,000
.

BTW: the maximum memory of a 808x (86 OR 88) is 1 MB, of which in the design of IBM only 640 KB could be filled by RAM. Rest was reserved for I/O boards (and BIOS).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SCSI controller - Add extra controller & add a disc to the extra controller raj100 Linux - Hardware 1 11-01-2015 11:30 AM
How to Rewrite www.example.com to example.com jayakumar01 Linux - Server 2 06-22-2012 09:28 AM
LXer: Linux Pipes – what are they and example of use LXer Syndicated Linux News 0 09-25-2011 07:30 PM
bind9: example.com works, www.example.com doesnt, and how to block urls Shwick Linux - Server 6 09-12-2011 12:26 AM
example of RMI, Observer & Factory Patterns, TransferObject, Model View Controller manolakis Programming 3 10-27-2007 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:47 PM.

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