freelanceprogrammers.org Forum Index » C
Device Driver DYNAMIC MAJOR NUMBER ASSIGNMENT
Joined: 27 Dec 2004
Posts: 14
Device Driver DYNAMIC MAJOR NUMBER ASSIGNMENT
Hi all,
I am a begniner in Linux Device Driver.
I am registering major number for device driver...
Problem is that while inserting the module and
removing the module from the linux kernel.
Each & Every time I am getting dynamic major numbers
like 253,252,251,249 etc...
I want to build one device file using
mknod <device name> c <major number> <minor number>
But as you know I dont know the major number as it is
a dynamic one...
So Is there any solution for this problem?????
Regards,
Ashwin Mittal.
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







