LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-13-2009, 11:16 AM   #1
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Rep: Reputation: 15
Exclamation Questions regarding Drivers


Hi experts, good day.

This is what I always heard and read from the Linux experts. That I don't need to install the drivers because Linux have it all.

Could somebody explain this to me?

I'll be waiting for your answers guys.

Take care and God bless.
 
Old 01-13-2009, 11:24 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Well, most of the time you don't have to install drivers. Other times, there are no drivers available.

But it is true that out of the box, the linux kernel supports more hardware than any other OS out there right now. Things have greatly improved and it's been several years since I've run into problems installing a device. The typical trouble spots in the past have been certain brands of wireless card (tho there is a workaround called ndiswrapper), certain brands of printers, and winmodems (dial up modems designed specifically for Windows OS). But if you research a bit before you install or purchase, you can easily get hardware that works with linux.

Hope this helps.
 
Old 01-13-2009, 12:23 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
It is hard to imagine an operating system that would include all required drivers for all possible hardware and peripherals. Not even Linux is quite this advanced.....

The common things are included in most popular distros--especially if there is an open-source version. Some distros have different policies about including proprietary drivers.

Last edited by pixellany; 01-13-2009 at 03:01 PM. Reason: typo
 
Old 01-14-2009, 07:44 AM   #4
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks Sir pixellany and pljvaldez. Can you give me an article or a link which proves that a Linux Kernel has included some drivers.

Just to prove to my acquaintances that you don't have to install the drivers.

I'll wait Sir. Thanks and God bless.
 
Old 01-14-2009, 07:59 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by SHENGTON View Post
Thanks Sir pixellany and pljvaldez. Can you give me an article or a link which proves that a Linux Kernel has included some drivers.

Just to prove to my acquaintances that you don't have to install the drivers.

I'll wait Sir. Thanks and God bless.
Just have them watch you do an installation---or do one for themselves. More importantly, why do you need to prove anything to other people? If they are interested, they can find out on their own. I have told people all manner of things about Linux, and I am typically not challenged on basic facts like this. If people are interested, they will look into it on their own. If they are not interested, they won't look at your "proof".
 
Old 01-14-2009, 08:17 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,094

Rep: Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239
Dear Sir SHENGTON,

On your own Linux system, may I kindly request you to have a look into one of these directories: /lib/modules/<kernel_version>/kernel/drivers

All files which end in .ko in the sub-directories of that directory are drivers provided with Linux.

You should replace <kernel-version> by one of the actual kernel versions on your system.

Example:
Code:
bash-3.1$ ls -1 /lib/modules
2.6.27.7/
2.6.27.7-smp/
bash-3.1$
Now this command:
Code:
bash-3.1$ find /lib/modules/2.6.27.7-smp/kernel/drivers/ -name "*.ko"|wc -l
1494
bash-3.1$
shows you that there are 1494 drivers compiled as independent modules of the Linux kernel I am actually using and provided with it. This figure doesn't include many other drivers that are directly included in it. In fact this command:
Code:
bash-3.1$ find /usr/src/linux-2.6.27.7/drivers/ -name "*.c"|wc -l
4192
bash-3.1/
shows you that there are 4192 program files in the source of my Linux kernel with which you can make drivers.

You don't have to take why I say for granted though; feel free to issue similar commands on your own system and see what you get.

I hope you will consider this be an acceptable answer to your question. If not, let me know.

Cheers,

Last edited by Didier Spaier; 01-14-2009 at 08:30 AM. Reason: Post was not complete
 
Old 01-14-2009, 08:36 AM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,480

Rep: Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376
I heartily agree that you need not (and should not...) feel obligated to "prove" anything of this sort, to anyone at all.

Obviously, when hardware manufacturers prepare systems for retail sale, they equip them with Windows installations with standard configurations that they know will work. (Might not be the fastest or the best, but it won't generate expensive and useless tech-support calls...) But they prepare and ship Linux servers, too.

In fact, if you bought a straight-retail copy of Windows "off the shelf," that is designed for installation on a "bare machine," then you will find that it, too goes through a complex hardware detection process in order to construct its so-called "HAL," or "Hardware Abstraction Layer," which is (simplifying slightly...) its version of hardware drivers. On modern systems, that works well; on older ones or strange ones, it has problems.

You're really "comparing apples to oranges" when you compare (any installation that has been done for you, to (any) that has not...

And the time has long since passed, where Linux/Unix was thought to require any apologies at all.
 
  


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
Questions about modems-drivers-etc. mlaymance Mandriva 3 04-16-2007 11:31 PM
Questions On Linux Drivers/Software Nsignificant Mandriva 11 10-21-2006 05:50 AM
Questions about installing drivers. Garavix Linux - Newbie 7 05-01-2006 10:14 PM
Questions regarding NVidia Linux drivers spinner_0 Linux - Games 4 12-12-2005 04:36 PM
questions: kernels, drivers, and apps Sherlok Slackware 2 10-14-2004 03:53 PM


All times are GMT -5. The time now is 01:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration