LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-24-2014, 04:00 AM   #1
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Rep: Reputation: Disabled
Smile Need suggestions for the learning new things of device driver programming


Dear all,

I have been working with Linux for last two years. and have written USB driver for vendor specific devices n done some small stuff related with the Linux kernel.
But I thing need to improve myself a lot. I decided to do some real time practices on my own. I would like to developing some kernel code like network driver, storage drivers or anything which will give me more knowledge.
1. I have bought one BeagleBone Black, Ethernet cable, HDMI cable, USB cable.

I want to write the driver. please give me suggestion according to my experience and available hardware.
please do give ideas and related documentation, material. All are welcome and thanks in advance. and if need more info. then just let me know.

Thanks & regards,
Rohaan
 
Old 04-24-2014, 09:21 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by rohaanembedded View Post
Dear all,
I have been working with Linux for last two years. and have written USB driver for vendor specific devices n done some small stuff related with the Linux kernel. But I thing need to improve myself a lot. I decided to do some real time practices on my own. I would like to developing some kernel code like network driver, storage drivers or anything which will give me more knowledge.

I have bought one BeagleBone Black, Ethernet cable, HDMI cable, USB cable. I want to write the driver. please give me suggestion according to my experience and available hardware.
please do give ideas and related documentation, material. All are welcome and thanks in advance. and if need more info. then just let me know.
Your question doesn't make any sense. If you have ALREADY been writing kernel code and device drivers for the last two years, why do you suddenly need help doing what you have already DONE? You also say that you have a Beaglebone black...but what do you want to write a driver FOR?? Add to that the fact that Ubuntu and Debian already runs on that platform, it seems there's little to do.

Their support forums are loaded with information, along with complete specs and information. Did you start there???
 
Old 04-24-2014, 12:38 PM   #3
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Original Poster
Rep: Reputation: Disabled
Question

Dear sir
Thanks for reply I am doing this for time but I haven't done any of the Linux storage drivers or network drivers n let me admit even don't have that much knowledge. So just ordered beagle bone to start with n wanting to get help related with topics for assignment which will help me in above areas of Linux. I know everything is right there in source code that's why I was expecting some inputs which can be implemented and will be good learning curve

Regards
Rohaan
 
Old 04-24-2014, 01:26 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by rohaanembedded View Post
Dear sir
Thanks for reply I am doing this for time but I haven't done any of the Linux storage drivers or network drivers n let me admit even don't have that much knowledge. So just ordered beagle bone to start with n wanting to get help related with topics for assignment which will help me in above areas of Linux.
Read the LQ Rules, and please stop using text-speak. It's "and", not "n".

If you've been working for two YEARS writing USB drivers and kernel code, I find it VERY hard to believe that you can't easily open the existing Linux storage modules and figure them out. Did you do that?
Quote:
I know everything is right there in source code that's why I was expecting some inputs which can be implemented and will be good learning curve
No one here is going to look things up for you, or write you sample code. The code is available on their website, and if you tried to look through their forums, you'd also find lots of help and samples.
 
Old 04-24-2014, 10:41 PM   #5
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Original Poster
Rep: Reputation: Disabled
Question

Dear sir,

sorry for my single wrong word 'n'. and I am not at all expecting someone to write sample code for me. Its just i want suggestion like hey you can do this or why dont you try and write this. a simple problem statement will help me to get going. I am asking here because I ahve good experience of this forum perticularly. Its any how good to get problem statement from experts or more experience people like you and all here. lot of people would have worked on storage drivers and kernel networking projects so i wanted to get suggestions, I am not at all expecting any kind of code.
its my kind and simple request for suggestions and if it doesnt fit into your rules then I am extremely sorry from bottum of heart, really!


Regards,
Rohaan
 
Old 04-28-2014, 01:14 AM   #6
ramzi.kahil
LQ Newbie
 
Registered: Apr 2014
Posts: 28

Rep: Reputation: 1
Maybe this will help you: http://kernelnewbies.org/KernelProjects
 
1 members found this post helpful.
Old 04-28-2014, 05:55 AM   #7
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by ramzi.kahil View Post
Maybe this will help you: http://kernelnewbies.org/KernelProjects
Thanks for the link. I will definately look into it.


Regards,
Rohaan
 
Old 04-28-2014, 07:10 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938
The way to approach this sort of thing is to start with an existing driver ... for your particular distribution or at least your major-version of Linux, which is as close as possible to what you want ... and then "play whack-a-mole with it" until you have adjusted it to do what exactly you need it to do.

You never start these things "from scratch." And, although there are good online and printed references on how the various kernel releases work, the definitive source is always the kernel source-code itself. With Linux you can not only examine a particular driver at your leisure, but you can also examine all of the other kernel source-code that it calls. "Priceless.™"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
About device driver programming abhikohokade Linux - Kernel 1 09-13-2011 07:40 AM
Device driver Programming SmithNeo Linux - Newbie 3 08-24-2011 12:22 AM
Which linux distro to use for learning linux device drivers programming ? avd122 Linux - Newbie 5 01-15-2011 12:19 AM
Device driver programming shariefbe Programming 6 09-01-2008 01:07 PM
device driver programming rebel_angel Linux - Hardware 5 11-30-2006 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration