Anyone experienced in Linux Device Drivers?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Anyone experienced in Linux Device Drivers?

Postby AronE. on Mon Aug 08, 2016 11:06 am

Alright, I thought of doing C++/SDL/OpenGL for long time (idk for what reason), but I don't want to be a game developer. I've never wanted to. I started game dev because I knew I needed experience with "the tools". But to be honest, I've got everything I needed, I'm not going to progress with OpenGL(atleast for now), having a decent experience with SDL for game development is fine for me. I've learned couple of things along the way, but I've been wanting to make something system-related for a little more than half a year. As for game development, I've never wanted to. That's why I'm making this topic.

The way into getting to Linux Kernel Development is starting with writing C Linux Device Drivers, it's the gateway to getting more hardcore. However, this is where I'm stuck at. It seems like I have to learn couple of things beforehand until I start writing drivers. Anyone with experience in Operating Systems or Linux Device Drivers, where should I start from, like, the very bottom? Should I know more about Operating Systems or anything else before getting into practice?

Edit : My knowledge on this topic so far is very limited, I know these things :
Kernel vs User space
Unloading, loading modules
Making a very basic module
Kernel Modules vs an application
Character vs Block vs Internet device drivers (Pretty much the basic difference between device drivers)
and there are probably several other basic things I haven't mentioned
Last edited by AronE. on Mon Aug 08, 2016 11:21 am, edited 1 time in total.
AronE.
Chaos Rift Newbie
Chaos Rift Newbie
 
Posts: 31
Joined: Mon Sep 14, 2015 9:04 am

Re: Anyone experienced in Linux Device Drivers?

Postby bbguimaraes on Mon Aug 08, 2016 11:21 am

No experience myself, but I know this.

Knowing the author, I'm pretty sure this is a good book. *And* it has a Creative Commons license.
User avatar
bbguimaraes
Chaos Rift Junior
Chaos Rift Junior
 
Posts: 324
Joined: Wed Apr 11, 2012 5:34 pm
Location: Brazil

Re: Anyone experienced in Linux Device Drivers?

Postby Accy on Fri Aug 19, 2016 10:38 am

Read this:

https://www.linux.com/blog/learn-how-co ... -challenge

Don't get to concerned with the imaginary prerequisites people on the internet set, especially for programming. Hell, in game dev, people make it sound like you need be adding new C++ language features before you can even THINK about downloading SDL. Take the challenges, learn about the kernel, then deal with device drivers as they come up.
User avatar
Accy
Chaos Rift Newbie
Chaos Rift Newbie
 
Posts: 29
Joined: Tue Jan 28, 2014 1:10 pm
Location: USA

Re: Anyone experienced in Linux Device Drivers?

Postby AronE. on Sat Aug 27, 2016 5:24 am

Accy wrote:Read this:

https://www.linux.com/blog/learn-how-co ... -challenge

Don't get to concerned with the imaginary prerequisites people on the internet set, especially for programming. Hell, in game dev, people make it sound like you need be adding new C++ language features before you can even THINK about downloading SDL. Take the challenges, learn about the kernel, then deal with device drivers as they come up.


This challenge seems to be too busy recently, some tasks take from a week to couple of months until being sent. In that time, I can learn it all by myself, so I'm not really sure about it. I have already started with Linux Kernel Development and Linux Device Drivers and seems like I will have to learn it on my own. I still would love to do these challenges, from articles made about it, it seems like they give great understanding of the available subsystems and their capabilities.

Oh, and thanks for the advices, but I needed sources to learn device drivers, not motivation about programming(I have previous experience), but thanks anyway!
AronE.
Chaos Rift Newbie
Chaos Rift Newbie
 
Posts: 31
Joined: Mon Sep 14, 2015 9:04 am


Return to Programming Discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron