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 - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-05-2011, 10:01 AM   #1
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Rep: Reputation: 29
question about drivers that depend on each other


I am trying to learn how to develop drivers for linux. I have been programming in user space for some time, but I have wanted to get into kernel land for awhile.
However, right now it looks to me as if there is no documentation whatsoever on this subject. So, everything I am learning is from drivers developed by others. (So, if anybody has any helpful links to documentation, that would be great)
Anyway, I'll get to the point.
when I run the command "lsmod" I get a list of all the modules loaded by the OS, and I notice that some modules are "used by" other modules ('usbhid' uses 'hid'). How does this work? How do these modules communicate with each other?
 
Old 04-05-2011, 10:13 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You may wanto to have a look at this.
 
Old 04-05-2011, 10:59 AM   #3
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Original Poster
Rep: Reputation: 29
Cool, thanks. That looks very helpful.
I looked for a book before, but everything I found seemed to be way out of date (like for 2.4 kernels).
 
  


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
Makefile and make depend Meaculpa Programming 4 03-06-2009 11:24 AM
One cron should depend on the other koobi Linux - Server 2 07-20-2007 03:44 PM
How depend are application to Desktop environments? paulsiu Linux - Newbie 3 12-29-2006 04:47 PM
what did the linux depend on when it setup? Barq Linux - General 2 12-17-2004 04:00 PM
Very wierd problem, two libs depend on each other Ephracis Linux - Software 5 11-07-2004 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:57 PM.

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