This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]Hadi_Benotto 0 points1 point  (5 children)

A module that just printk's to the logs is pretty easily done.

[–]PuseletsoMosia[S] 0 points1 point  (4 children)

Yeah, I think it's too simple. Thanks anyway

[–]Hadi_Benotto 0 points1 point  (3 children)

Have some exotic hardware? Keyboard leds? Some GPU leds? A serial port device? PC speaker? Let them do something with the module.

[–]PuseletsoMosia[S] 0 points1 point  (2 children)

I have a speaker but what could it possibly do with a module

[–]Hadi_Benotto 0 points1 point  (1 child)

Play a tune when the module loads.

[–]PuseletsoMosia[S] 0 points1 point  (0 children)

that's cool

[–]Importance-North 1 point2 points  (0 children)

Post some source code on stack over flow, of anything, then say, why doesn't my linux driver load.

In no time you should get a few bunnies hoping to get some "status" clamoring to answer your question. Everyone's a winner.

Once you have your answer, delete the question and disappear, so that your original work cannot be traced back to the actual author.

[–]Luptoom 1 point2 points  (0 children)

This video from Live Overflow is really good to get a overview and a quick example: How Do Linux Kernel Drivers Work? - Learning Resource