r/linuxdev • u/BadKarma92 • Aug 18 '15
How to write a driver?
Hello I am a young software engineer (still in college) who is looking for some assistance in researching a school project. What I would like to do is write (attempt) a driver for linux, however I have run into several hurdles while researching this.
- Can any one point me in the direction of a reference materials for this sort of work I have found several books but I am curious to know what the consensus of the Reddit community is.
- What are some examples of Hardware that is only supported on windows?
- What are some examples of Hardware that is well documented?
Thank you for your time. I apologize if I broke redditquette in this post.
9
Upvotes
View all comments
2
u/netscape101 Aug 25 '15
Try reading this free O'Reily book: http://www.oreilly.com/openbook/linuxdrive3/book/
Very good to follow. Just use one of the example drivers that they write and modify it to your own need. Start with something small maybe a SPI driver or I2C driver.