Sponsored by Amazon.com
Kindle(TM) - Amazon's #1 most gifted product view!
amazon.com - Order Kindle now and receive it in time for Christmas. Free Expedited shipping. Click to learn more.
30 Comments
- hello2usir, on 10/12/2007, -1/+24More like "This is Digg, we're wannabe tech nerds who think CSS is a programming language."
- sishgupta, on 10/12/2007, -2/+21A 9 page tutorial requiring in-depth C and Microprocessor programming knowledge...
hardly quick or easy, pretty informative though. - schestowitz, on 10/12/2007, -4/+23Just ask this guy ( http://www.theinquirer.net/default.aspx?article=39291 ). He knows.
- trippinlikegod, on 10/12/2007, -4/+22There is no such thing as "quick" and "easy" when it comes to writing drivers.
- swicklund, on 10/12/2007, -2/+17Bit of a chicken and egg there. If you have to learn how, you can't do it. How would you suggest anyone learn?
- cantormath, on 10/12/2007, -2/+13And for next week, "How to do brain surgery in 10 easy steps"...
- rip747, on 10/12/2007, -1/+11@hockey
Your comment would funnier and more accurate if you posted it to SlashDot
http://www.slashdot.org - phishinphree, on 10/12/2007, -1/+9the only thing quick and easy about this link is the speed at which it went down
- Red5, on 10/12/2007, -1/+7Writing a non-trivial device driver for a significantly sophisticated device is, agreed, not quick or easy. However, writing the correct boilerplate code to make a loadable linux module is. Hence a quick and easy tutorial.
- BaadPete, on 10/12/2007, -3/+9http://duggmirror.com/linux_unix/Writing_device_drivers_in_Linux_A_brief_tutorial
- GMorgan, on 10/12/2007, -1/+7You can write a simple memory device quick and easy. Won't get excepted into mainline ever of course but it can be done.
I think this is the best place to go though
http://lwn.net/Kernel/LDD3/ - Latka, on 10/12/2007, -0/+6In fact, writting a device driver for Linux is far easier than writting one for Windows.
- emblemparade, on 10/12/2007, -0/+5From too much experience in this field, I can tell you that the problem with device drivers is not running them, but debugging them. In monolithic kernels like Linux, a driver bug can easily crash the kernel. Depending on the what the driver does, it may require a separate terminal or computer to get debugging outputs and basic debugging console commands. It's far more complex than writing user-mode code. There's a reason why the kernel was left as one of the last things to be added to the GNU operating system: it took far longer to debug! (Richard Stallman is still apologizing for incorrectly assessing how long it would take to complete GNU HURD.)
It would be useful, then, to link this tutorial to another tutorial, which would be far longer and more complex, about Linux kernel debugging. That would give a more realistic idea of the work involved.
That said, writing device drivers is exceptionally rewarding, especially in an open source environment. Not only are you making countless operating systems and appliances which depend on this kernel more useful, but you'll also get a really good understanding of how operating systems work. And, of course, you have so much code out there for similar drivers, and many people who would be happy to help!
I recommend any developer take the plunge! - Informativo, on 10/12/2007, -0/+3A great article with ample scope of learning the skeleton of linux device drivers and the commonly used functions in them.........so simple and presented in quite an interesting way, so never lets u feel bored.
Great work!! - oringo, on 10/12/2007, -0/+3GMorgan: ditto. Hands-down the best book for kernel driver development
- brickbat, on 10/12/2007, -2/+4That is an awesome article!
- BlackAdderIII, on 10/12/2007, -1/+3When you can get a job doing it.
- hockey, on 10/12/2007, -3/+5Yeah but this is digg. We absorb stuff like this in our sleep :)
- schestowitz, on 10/12/2007, -1/+2http://www.oreillynet.com/linux/blog/2007/02/performing_brain_surgery_on_yo.html?CMP=OTC-0O724Z062301&ATT=Performing+Brain+Surgery+On+Yourself
'Some years ago Linux creator Linux Torvalds famously compared changing operating systems to “performing brain surgery on yourself”.' - soso33, on 11/17/2008, -0/+0
Thank you for the useful information
افلام
, توبيكات
,
منتديات
,
دردشه
,
برامج
,
فساتين
,
اناشيد اطفال
,
دليل مواقع
,
مسلسل الاجنحه المنكسره ,
مسجات - inactive, on 10/12/2007, -2/+1Oh no! I though that is was a "Writing device, aka wacom or tablet pc, driver" I was all excited at the prospect of running Ubuntu on my ultra light tablet PC...
oh well... - Burmask, on 10/12/2007, -3/+2When do I get paid?
- tenderstorm, on 10/12/2007, -6/+31. Steal OpenBSD BSD Licensed code.
2. Rebrand it as GPL.
3. PROFIT! Instant new driver!
Yahhoooo! - 1021, on 10/12/2007, -5/+2may be not for every single device but for the large majority there is enough documentation out there to get drivers right close to being right even for beginners (with a good base of knowledge in assembly programming and C).
- cabazorro, on 10/12/2007, -6/+1Oh the irony! The site is down. Yet, from the device driver perspective it was meant to go down by design.
- inactive, on 10/12/2007, -5/+0Nice 404.
- underthelinux, on 10/12/2007, -8/+2edit-whocares
- nyx210, on 10/12/2007, -10/+2That's one flaw in Linux...and the whole monolithic design in general. Since the drivers pretty much have kernel level control, it can easily touch things that don't belong to it...
- BigSlacker, on 10/12/2007, -15/+2If you have to read a tutorial on how to write device drivers, you're not experienced enough to do it. Poor device drivers = system crashes.
- ostracize, on 10/12/2007, -19/+3Changed my comment. Please bury me.
What is Digg?