LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2010, 05:30 AM   #1
shayori
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Rep: Reputation: 0
How to find the driver module name using MAJOR NUMBER?


Hi

Can anybody tell how to find the driver module name using MAJOR NUMBER.
In general major number list is available in Documentation/devices.txt but if i want to find out the driver module name specific for a given MAJOR NUMBER, what can be done?
 
Old 08-16-2010, 09:57 AM   #2
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
If udev is used on your installation, look the 'udevadm info' maybe with option '--attribute-walk' or some other.
Read 'man udevadm'.
Search the major number in the output and the driver associated, some lines above in the output.
 
1 members found this post helpful.
Old 08-17-2010, 12:45 AM   #3
shayori
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your help but I dont have udev installed in my system

Thank you very much for your help.
But I do not have udev installed.
So is there any other solution to get the driver module name from MAJOR NUMBER of a device?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
major number vs. driver code deardron Linux - Kernel 5 02-18-2007 01:00 PM
Marvell Yukon 88E8036 pci-e fast ethernet controller driver _ major nightmare to find ozzie_penguin Fedora 0 08-16-2005 11:48 PM
Major number for device driver... Elric of Grans Programming 2 07-12-2005 05:06 PM
what is a major number and a minor number ? Menestrel Linux - Newbie 2 10-11-2004 08:53 AM
why there is a need for minor number and major number for monitor/keyboard in pc? tripathi Solaris / OpenSolaris 1 11-07-2003 10:36 AM


All times are GMT -5. The time now is 02:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration