f



linux os

how do i implement device driver in linux?????????
0
3/11/2008 4:04:07 AM
comp.os.linux.advocacy 124139 articles. 3 followers. Post Follow

12 Replies
866 Views

Similar Articles

[PageSpeed] 46

On Mar 11, 5:04 pm, pri <velhalpr...@gmail.com> wrote:
> how do i implement device driver in linux?????????

Linux distributions include all the commonly required drivers.  For
example a modern distribution will install with complete success on a
common garden Dell or HP or Compaq etc P4 desktop without any bother
whereas trying to install Windows XP requires a hunt for drivers, even
one for the ethernet socket.

The main exceptions are where device makers have not provided
information to enable Linux drivers to be written.

Hardware compatibility needs to be checked.  For fear of treading on
"you know whose" toes, packaging does not always admit to Linux
capability or otherwise.

There is another problem in that different versions of the same
hardware may or may not be Linux compatible.  For example the Netgear
WG511 v2 wireless PC card (for laptops) can have one of two different
chipsets, one being Linux compatible, and the other one requiring
fluffing around with a 'wrapper' routine to make it work.

This is not merely a Linux problem.  There is a lot of hardware out
there for which there are Windows XP drivers, but not Vista drivers.

0
peterwn1 (458)
3/11/2008 4:59:08 AM
peterwn <peterwn@paradise.net.nz> writes:

> On Mar 11, 5:04 pm, pri <velhalpr...@gmail.com> wrote:
>> how do i implement device driver in linux?????????
>
> Linux distributions include all the commonly required drivers.  For
> example a modern distribution will install with complete success on a
> common garden Dell or HP or Compaq etc P4 desktop without any bother
> whereas trying to install Windows XP requires a hunt for drivers, even
> one for the ethernet socket.
>
> The main exceptions are where device makers have not provided
> information to enable Linux drivers to be written.

Err, did you read the question?
0
hadronquark2 (7213)
3/11/2008 5:49:23 AM
pri wrote:

> how do i implement device driver in linux?????????

You write them
-- 
If you're right 90% of the time, why quibble about the remaining 3%?

0
Peter.Koehlmann (13228)
3/11/2008 6:11:45 AM
On Mar 11, 6:49 pm, Hadron <hadronqu...@googlemail.com> wrote:

> Err, did you read the question?

Yes, and I think I interpreted it in the way that the OP meant.

0
peterwn1 (458)
3/11/2008 9:15:25 AM
____/ pri on Tuesday 11 March 2008 04:04 : \____

> how do i implement device driver in linux?????????

Step one: master the use of the SHIFT key. ;-)

You might need it for subsequent steps.

Have you put the question as is into the search bar of a search engine and
pressed ENTER? :-)

-- 
                ~~ Best of wishes

Roy S. Schestowitz      | "Web 2.0 is everything that can be spammed" --Unknown
http://Schestowitz.com  |  RHAT GNU/Linux   |     PGP-Key: 0x74572E8E
 10:00:02 up 46 days, 19:54,  4 users,  load average: 2.03, 1.91, 1.67
      http://iuron.com - help build a non-profit search engine
0
newsgroups3 (79677)
3/11/2008 10:03:13 AM
On Mar 11, 6:03=A0am, Roy Schestowitz <newsgro...@schestowitz.com>
wrote:
> ____/ pri on Tuesday 11 March 2008 04:04 : \____
>
> > how do i implement device driver in linux?????????
>
> Step one: master the use of the SHIFT key. ;-)
>
> You might need it for subsequent steps.
>
> Have you put the question as is into the search bar of a search engine and=

> pressed ENTER? :-)
>

He used iuron.
0
scatnubbs (5405)
3/11/2008 10:16:19 AM
In comp.os.linux.advocacy, pri
<velhalpriya@gmail.com>
 wrote
on Mon, 10 Mar 2008 21:04:07 -0700 (PDT)
<eb5f04cb-0617-4178-acbc-cc1d3eebdd28@i12g2000prf.googlegroups.com>:
> how do i implement device driver in linux?????????

[1] Download Linux code.  ftp.kernel.org or
    www.kernel.org is as good a place as any.
[2] Look at examples of similar hardware already extant.
[3] Look at specs for the hardware for which you want
    to write the driver.
[4] Implement, test, debug.  Repeat as necessary.

If you want a more specific answer you'll need to ask
a more specific question.  ;-)  I can't tell if you're
writing a driver for a network interface card, lab data
acquisition card (the most likely scenario, AFAICT), hard
drive, UART or USART, or just want to breadboard something
which blinks prettily. ;-)

-- 
#191, ewill3@earthlink.net
Linux.  Because it's not the desktop that's
important, it's the ability to DO something
with it.

-- 
Posted via a free Usenet account from http://www.teranews.com

0
ewill5 (11075)
3/11/2008 1:37:53 PM
peterwn <peterwn@paradise.net.nz> writes:

> On Mar 11, 6:49 pm, Hadron <hadronqu...@googlemail.com> wrote:
>
>> Err, did you read the question?
>
> Yes, and I think I interpreted it in the way that the OP meant.
>

Well you think wrong I think :-;

He asked how to implement a device driver. Not a lecture on how some HW
manufacturers do not provide info for doing so.
0
hadronquark2 (7213)
3/11/2008 3:32:45 PM
On Mon, 10 Mar 2008 21:04:07 -0700, pri wrote:

> how do i implement device driver in linux?????????

How about the book on writing device drivers from O'Reilly.
0
ray65 (5421)
3/11/2008 3:43:04 PM
On Tue, 11 Mar 2008 03:16:19 -0700 (PDT), cc wrote:

> On Mar 11, 6:03�am, Roy Schestowitz <newsgro...@schestowitz.com>
> wrote:
>> ____/ pri on Tuesday 11 March 2008 04:04 : \____
>>
>>> how do i implement device driver in linux?????????
>>
>> Step one: master the use of the SHIFT key. ;-)
>>
>> You might need it for subsequent steps.
>>
>> Have you put the question as is into the search bar of a search engine and
>> pressed ENTER? :-)
>>
> 
> He used iuron.

Hahaha!
That's funny....


-- 
Moshe Goldfarb
Collector of soaps from around the globe.
Please visit The Hall of Linux Idiots:
http://linuxidiots.blogspot.com/
0
brick.n.straw (6130)
3/11/2008 4:27:14 PM
Hadron wrote:

> peterwn <peterwn@paradise.net.nz> writes:
> 
>> On Mar 11, 6:49 pm, Hadron <hadronqu...@googlemail.com> wrote:
>>
>>> Err, did you read the question?
>>
>> Yes, and I think I interpreted it in the way that the OP meant.
>>
> 
> Well you think wrong I think :-;
> 
> He asked how to implement a device driver. Not a lecture on how some HW
> manufacturers do not provide info for doing so.

If he has to ask such basic questions, he is exactly the person *not* to do
device driver programming, "true linux advocate", "kernel hacker", "emacs
user", "swapfile expert", "X specialist", "CUPS guru", "USB-disk server
admin", "defragger professional", "newsreader magician", "hardware
maven", "time coordinator", "email sage" and "OSS culling committee
chairman" Hadron Quark, aka Hans Schneider, aka Richard, aka Damian O'Leary

-- 
All parts should go together without forcing. You must remember that the
parts you are reassembling were disassembled by you. Therefore, if you
can't get them together again,  there must be a reason. By all means,
do not use a hammer. <from an IBM-Manual>

0
Peter.Koehlmann (13228)
3/11/2008 5:37:40 PM
http://colatrolls.blogspot.com/2008/01/moshe-goldfarb-troll.html
http://colatrolls.blogspot.com/2007/01/flatfish-troll.html
0
3/11/2008 9:04:03 PM
Reply:

Similar Artilces:

[News] Making Linux More Like OS X and OS X More Like Linux
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mac OS X - Highly Customized Linux ,----[ Quote ] | Few players in the Linux arena creates their Linux distro to look like Mac OS | X or Windows.... | | Here I'm going to list some distro which looks like Mac OS. `---- http://linuxtreat.blogspot.com/2008/07/mac-os-x-highly-customized-linux.html A Linux User's Guide to Mac ,----[ Quote ] | Take a deep breath and repeat after me: A computer is just a tool. It is only | so good as it serves to make life better for users. A "better" life is | obviously not the same thing fo...

Linux, Linux, Linux
Hi, Interested in trying Linux? Well you came to comp.os.linux.advocacy for some reason, and you probably won't stay long. Here's a list of Linux distributions to choose from. Ubuntu http://www.ubuntu.com Newbie friendly and good support forums. SuSE http://www.novell.com/linux Pay for some support if you're not opposed to spending a little money. Fedora Core http://fedoraproject.org If you're more comfortable with your computer, try this one out. If you get frustrated, don't give up so easy. There is a wealth of information online for whichever distro you choose....

os.linux.advocacy
Dear Friend, I have found some great articles at: http://www.familyandtwist.com/ http:www.articlestwist.com/ http://www.downloadstwist.com/ http://www.wallpaperstwist.com/ Read them all. Thanks mahmar07@gmail.com came up with this when s/he headbutted the keyboard a moment ago in comp.os.linux.advocacy: > Dear Friend, > > I have found some great articles at: > <URLs snipped> > Read them all. > > Thanks Not without a summary, I ain't. -- Spanking brand new high end desktop computer: £1700 Spanking brand new colour laser printer/scanner/copier/fax...

Linux should disown elementary OS Linux for the Scam that it is.
No Problem'o, DooFuS. I can blame it all on the Linux Mint TEXT size being = too small on my 19 inch monitor. As Moi was saying... I tried two more additional downloads of elementary OS Linux. Both of them= likewise failed. While they could have been discriminating against Moi for his ZERO contribu= tion, I will be damned if I am going to PAY GOOD money for something when t= here is no guarantee that the stupid DOWNLOAD wont fail, JUST TO FIND OUT t= hat it WONT work at all on my computer hardware, let alone whether OR NOT i= t will actually do what is being claimed. Mo...

[News] Mobile Linux Runs Palm OS Applications; New 3G Linux Phones; Open Linux Phone Made More Attractive
Mobile Linux running Palm OS apps demoed ,----[ Quote ] | Access hopes ALP and its Eclipse-based Developer Suite will | provide a long-awaited forward migration path for the many | thousands of "Garnet OS" (recently renamed from "Palm OS") | applications developed throughout the decades since "Palm-Pilot" | first became a household word, in the 1980s. `---- http://www.linuxdevices.com/news/NS2968683379.html Linux powers pair of 3G dual-mode phones ,----[ Quote ] | MontaVista says its device-oriented Linux operating system was | used in two new 3G business sma...

[News] [Linux] Linux Has Advantage in the Mobile OS World
How Linux morphed from a server to a mobile OS ,----[ Quote ] | When evaluating Linux as a possible OS candidate, it is important to | remember that the Linux "model" for mobile devices is horizontal. That | is, Linux is not presented as a vertically integrated top to bottom | solution for a mobile device supplied by one vendor. | | It's a sharp contrast to the other OS suppliers such as Microsoft | with Windows Mobile, Symbian and PalmSource. These suppliers | support a highly integrated software stack, incorporating not | only an OS but also extensive middleware and applicati...

ROX Linux and ROX on OS X and arm linux
Hi I've just just done some searches on Google for ROX linux, and ROX on other platforms. I've not managed to find anything. Is ROX available for OS X? Is ROX available for Acorn\Iyonix Arm linux? Did ROX Linux ever come to anything? I was a member of the mailing list a while ago, it started off interesting and then seemed to go off on a tangent then it all went quiet. It seemed like an excellent idea, a linux distro structured like RISC OS. It would have been an ideal compliment to a RISC OS system, same UI but different set of applications (probably not quite so consiste...

OT: linux, FC5 (having trouble with alt.os.linux)
I apologize profusely for posting this topic to this newsgroup but either I'm having trouble with alt.os.linux (going on a few days now) or it's having trouble and I don't know which it is (maybe some one else knows). I figured someone here would be knowledgeable enough to help me and/or let me know if my posting problems are mine or the newsgroups (BTW, I've posted from my work and home without luck but they may both use the same ISP). Well, if you've read this far...here's my (attempted?) post to the other group: Topic: shutdown broadcast not showing up for us...

[News] [Linux] Walkthroughs of Sidux (Linux) and Nexenta OS
Nexenta OS Alpha 7 Screenshot Tour ,----[ Quote ] | Nexenta OS (elatte) Alpha 7 is now available. Release Highlights: | OpenSolaris & NWS build 61 (non-debug); installer - new | partitioning wizard, installer log (via F3), usabilityf | ixes, built-in driver availability detection... `---- http://osdir.com/Article9845.phtml sidux 2007-02 Preview 1 Screenshot Tour ,----[ Quote ] | What's on the menu: Debian sid, up to date as of 2007-05-13; kernel | 2.6.21.1 (SMP, voluntary preemption, mac80211); minimal, but fully | functional KDE 3.5.6 (en + de); completely overhauled early boot | ...

Linux!! Linux!!
From http://groups.google.ca/group/comp.os.linux.misc/about This month 16 t...@invalid.invalid 15 ahlstr...@launchmodem.com 14 goldee_loxnbag...@gmail.com 10 jhas...@newsguy.com 9 mil...@yoyo.org 9 hel...@deepsoft.com 9 hadronqu...@gmail.com 8 ronb02nos...@gmail.com 7 secret...@lxny.org 7 ignoramus8...@nospam.8345.invalid All time 5421 p...@oboe.it.uc3m.es 4508 michael+use...@www.heiming.de 3530 j...@dhh.gt.org 3066 hel...@deepsoft.com 2991 nike_jordan_...@yahoo.com.cn 2651 jdbe...@exit109.com 2474 gra...@visi.com 2216 nikejordangoo...@hotmail.com 1890 rkiesl...@mainmatte...

[News] [Linux] Linux More Secure Than Mac OS X, Windows
How secure are Linux, Window and Mac OS? ,----[ Quote ] | Overall it looks like the Linux kernel turns out to be the most | secure system. Not only does it have virtually no security holes | that lead to system access, it's also very resilient to remote | attacks, two areas where both Windows and Mac OS X aren't doing | very well. `---- http://www.masuran.org/node/29 Lots of nice charts on the page. Good summary. Related: Linux hacks rare as hens' teeth, says survey ,----[ Quote ] | Adding more fuel to the Linux versus Windows fire, a US research firm | this week released a ...

Why linux is linux
We don't destroy, we create. We don't imitate, we build. We are not a network, we are a personal OS. -- http://www.texeme.com Hi John, Attempting to Speak for Linux, You wrote: << We don't destroy, we create. We don't imitate, we build. We are not a network, we are a personal OS. >> Linux is more like this: << Like everything else, we consume and are consumed. We exchange ideas with everyone, to the point where it's almost impossible to track. We are artisans, not mass producers. >> Jeff Relf wrote: > Linux is mo...

My Linux is not your Linux
To the denizens of comp.os.linux.advocacy! So many people demonstrate in this newsgroup that they know only a Linux of Hatred and Greed, of paranoia, and of a selfish sense of entitlement. They seem always to be behaving like monkeys in reaction to human dissenters, throwing feces at one another and beating their chests pretending to know something. My Linux is not that Linux. My Linux is the Linux of Love, of sharing, friendship, community. It is a uniquely human Linux and not one for monkeys. When I speak with fellow Linux users in real life (i.e. not in the monkeyhouse of COLA) they remin...

I have Linux! I have Linux!
Ok, after two days of trying to get Windos 1900 installed and working , I sat down an hour ago and installed Linux. In an hour. Smirk. Ok, I will be honest. I did have some problems, but I believe they were of my own ignorance. 0) I started with trying to install Suse. However, I couldn't get it to install. Why? Because I didn't read the menu. There is a startup menu and the first entry is boot to harddisk. I thought that was the thing to do so I did it about 4 times. Then I gave up. However, I went back to it and subsequently realized that I should have chosen the 2nd men...

How were u introduce to Linux & what was ur 1st Linux OS???
my experience is available at http://groups.google.co.in/group/comp.os.linux.advocacy/browse_thread/thread/6fb0ed2888acab2e?hl=en# v cube wrote: > my experience is available at > http://groups.google.co.in/group/comp.os.linux.advocacy/browse_thread thread/6fb0ed2888acab2e?hl=en# You should try all the livecds. They are free to copy and boot up without having to install - saves you days of work when evaluating different distros. http://www.livecdlist.com free to copy and install on as many machines as you wish. PCs a heck of a lot cheap these days too. At least 3 different Linux PCs ...

Web resources about - linux os - comp.os.linux.advocacy

Linux - Wikipedia, the free encyclopedia
This article is about the operating system. For the kernel, see Linux kernel . For other uses, see Linux (disambiguation) . and video game consoles ...

Linux - Wikipedia, the free encyclopedia
This article is about the operating system. For the kernel, see Linux kernel . For other uses, see Linux (disambiguation) . The development of ...

Linux - Wikipedia, the free encyclopedia
This article is about the operating system. For the kernel, see Linux kernel . For other uses, see Linux (disambiguation) . and video game consoles ...

Linux - Wikipedia, the free encyclopedia
This article is about the operating system. For the kernel, see Linux kernel . For GNU package based on Linux kernel, see GNU Linux-libre . For ...

Google insists Linux bug is not a major threat
Earlier this week, news broke that an exploitable bug in the Linux kernel made vulnerable tens of millions of Linux machines and up to 66% of ...

Linux bug imperils tens of millions of PCs, servers, and Android phones
(credit: amalthya ) For almost three years, millions of servers and smaller devices running Linux have been vulnerable to attacks that allow ...

Linux vulnerability puts millions of people at risk Android users should panic
There are so many reasons to use a Linux-based operating system. Most often, people tell me that they switched because of a dissatisfaction with ...

IDG Contributor Network: Digging into your Linux system's hardware
... It's an API that allows you to gather information about the your system's underlying hardware. The command is designed to work on any Linux ...

There’s never been a better time to learn Linux
As more people learn the importance of open software and operating systems, Linux is more relevant than ever. Learning Linux can seem imposing, ...

Ubuntu Linux tablet will turn into a makeshift desktop
Want to use your mobile device as a desktop, but would rather not go the Windows route? BQ might have just what you're looking for. The Spanish ...

Resources last updated: 1/29/2016 8:41:02 AM