LinuxQuestions.org
Visit Jeremy's Blog.
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 07-13-2005, 10:49 AM   #1
coolblue
Member
 
Registered: Feb 2005
Posts: 126

Rep: Reputation: 15
What are drivers?


I just hope no one laughs at me.
But exactly what are drivers?
Why are they needed?

And why is it that in Windows there are drivers for practically
all hardware but in Linux u don't need drivers for
monitor, processor, mouse, printer etc.?
But why is it that in Linux u often need
drivers for certain modems and other unusual hardware?

Thanks and plz understand that I'm a newbie.
 
Old 07-13-2005, 10:54 AM   #2
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Rep: Reputation: 30
Hmm.. let's see.. I've never had to give the definition of a driver before. A driver is kind of like a small program to help the hardware function correctly. Linux does use drivers just like Windows.

The only reason you thought that there are no drivers in Linux, is because it usually installs all of the necessary drivers at installation. The same applies to Windows.

Hope I helped.
 
Old 07-13-2005, 11:01 AM   #3
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Rep: Reputation: 15
My best definition of a driver I have ever gave was. Your hardware speaks one language, and your OS another. A driver is the translator between them
 
Old 07-13-2005, 11:04 AM   #4
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
let me try on this

drivers are just programs, which "drives" a specific hardware. They are usually integrated/loaded into the kernel(the core part of the OS, like linux kernel) to handle the hardware on behalf of the kernel.

You see. No one knows how a hardware works(what signals it understands, what can it do, etc.), unless it is compatible with a standard. When it is compatible with a standard(like mouses, monitors, keyboards, etc), then everybody can developes drivers for them. In this case, you don't need a specific driver from the vendor to get it working.

On the other hand, when the hardware doesnt comply to a standard(like those winmodems, graphics boards with advanced features, etc), and the specifications of the hardware are closed, nobody can develope the driver except the designers of the hardware. So you will need to find a driver to make it work.

This is actually same for both Windows and Linux. Since windows has a much bigger market share, hardware vendors tend to develope drivers ONLY for windows and ignore the world of Linux.

I hope this helps you understand better.
Anyway, I myself is still a newbie. If any of the above statements are not quite right, please correct me.

Thanks.
 
Old 07-13-2005, 04:34 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
an OOP analogy

the kernel is the engine
the hardware is the wheels
the driver is the differential

the kernel "runs" and provides a standard interface for everything
the hardware is all wack and proprietary and the kernel can't communicate with the hardware at all.
the "driver" translates the kernels simple spinning into some spinning in a direction the hardware can understand and gets the hardware spinning too.
 
Old 07-13-2005, 04:53 PM   #6
Waerner
Member
 
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Rep: Reputation: 15
Short and nice: It's a translator between the software and the hardware
 
Old 07-13-2005, 08:58 PM   #7
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Rep: Reputation: 15
Quote:
Originally posted by Waerner
Short and nice: It's a translator between the software and the hardware
I said that first!!! just kidding
 
Old 07-14-2005, 07:00 AM   #8
Waerner
Member
 
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Rep: Reputation: 15
Damn, you're right :P


*Hiding himself in the closet*
 
Old 07-14-2005, 10:31 AM   #9
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
One of the major reason you don't need as many drivers for Linux as you do for windows is that many of the drivers(and support for various devices) are built right into the kernel, it's part if why it's a monolithic kernel, and windows is a micro kernel.
 
Old 07-16-2005, 09:56 PM   #10
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Rep: Reputation: 30
Perhaps it would help to add here that Linux uses the word 'module' a lot. And that often kinda means 'driver'.

Or at least that's what I learned.
 
Old 07-16-2005, 10:04 PM   #11
AresXP
Member
 
Registered: Jun 2005
Location: New Brunswick, Canada
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by DeusExLinux
One of the major reason you don't need as many drivers for Linux as you do for windows is that many of the drivers(and support for various devices) are built right into the kernel, it's part if why it's a monolithic kernel, and windows is a micro kernel.
At first I thought you said neolithic kernel... I was like, wtf is he talking about? most drivers are built into the kernel itself, so you don't need to download them from the web Drivers that are not built into the kernel are called kernel modules, or simply modules As someone said above, the OS speaks a language your hardware can't always understand so it uses drivers and modules to translate

Note: a normal Linux kernel is below 1.5mb of size... thats awesome compared to the 100mbs of drivers you need for Windows!

Last edited by AresXP; 07-16-2005 at 10:06 PM.
 
Old 07-17-2005, 02:15 AM   #12
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
hahaha.
This is our new stone age kernel, it's got all the advantages. Combined with the latest technology of stone chipsets, it can outperform the fastest pointy stick.
 
  


Reply



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
open boot drivers vs operating system drivers ravikumarG Solaris / OpenSolaris 1 06-12-2005 04:48 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 05:27 AM
KDE 3.2 and changing video card drivers and monitor drivers citrus Linux - Newbie 4 02-25-2004 05:11 AM
Red Hat9 + ATi Drivers + nForce2 Drivers sturreal Linux - Newbie 2 10-07-2003 07:17 AM

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

All times are GMT -5. The time now is 04:19 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