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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-16-2020, 10:33 AM
|
#1
|
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:
|
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!
|
|
|
01-16-2020, 10:51 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,432
|
Quote:
Originally Posted by theKbStockpiler
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.
|
|
|
01-16-2020, 11:12 AM
|
#3
|
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:
|
What' the difference between the input to the card and the output?
|
|
|
01-16-2020, 11:14 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,647
|
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.
|
01-16-2020, 11:26 AM
|
#5
|
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:
|
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?
|
|
|
01-16-2020, 12:00 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,647
|
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
|
|
|
01-16-2020, 12:36 PM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,432
|
@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.
|
|
|
01-16-2020, 12:54 PM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,647
|
I will give theKbStockpiler the benefit of the doubt...
|
|
|
01-16-2020, 02:50 PM
|
#9
|
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:
|
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.
|
|
|
01-16-2020, 04:29 PM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,647
|
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.
|
01-16-2020, 06:04 PM
|
#11
|
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:
|
Thank you for the link!  That link led to this one.
http://www.interfacebus.com/Design_PCAT_Card.html
|
|
|
01-19-2020, 04:42 PM
|
#12
|
Senior Member
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,708
|
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!

|
|
|
01-20-2020, 04:44 AM
|
#13
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,432
|
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!
|
|
|
01-20-2020, 07:38 AM
|
#14
|
Senior Member
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674
|
Quote:
Originally Posted by theKbStockpiler
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.
|
|
|
01-20-2020, 07:44 AM
|
#15
|
Senior Member
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674
|
Quote:
Originally Posted by business_kid
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).
|
|
|
All times are GMT -5. The time now is 08:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|