Misc subsystem and linuxmisc subsystem in linux
Misc Subsystem
Reprinted please indicate the source: http://blog.csdn.net/wang_zheng_kai
Optical source device and System Research Institute
Personal Learning Summary
1. What is misc in linux?
When
1, what is misc equipment?Misc is the abbreviation of English, the Chinese name is generally called miscellaneous equipment/stray equipment.We know that most of the equipment has a clear classification class, some equipment to classify the not very
Misc SubsystemReprint Please specify source: Http://blog.csdn.net/wang_zheng_kaiInstitute of Light source devices and systemsSummary of individual Learning1. What is misc in the Linux system?When researching the camera driver, we found that the path
The MISC miscellaneous device in Linux is a driver with the master device Number 10. It is easy to register and use, so it is suitable for devices with simple functions.
It has its own device structure:
Struct miscdevice {Int minor;Const char *
This is a function that I have never used. Most people do not need to use this function, so few people know its usefulness. Today, I read some related knowledge on stackoverflow and share it with you. Let's take a look at the official explanation:
Miscellaneous devices, which are special in the character device, it's main device number, is 10, different miscellaneous devices, which are differentiated by the secondary device number.1. Registration and cancellation
int misc_register (struct
Refer:
Http://longer.spaces.eepw.com.cn/articles/article/item/60415
Http://imganquan.org/blog? P = 350
I found it online and summarized it as follows:
Miscellaneous device (Misc device)Miscellaneous devices are also a device driver used in
Tag: member function by character command height file nod avoid member.1 introduction of miscellaneous device driversA character device is a device that must be sequentially accessed in serial order, without a system-fast buffer, to understand the
This article is written by xhz1234 (Xu Hongzhi). For more information, see the source.
Http://blog.csdn.net/xhz1234/article/details/38750091
In the previous blog, a character device driver is created. To use the features provided by the driver, you
Tag:linux kernel module linux_kernel 3.0 want to start black out? There's no clue how to start? Let us show you how to do ... Kernel programming is often considered black magic. In the sense of Arthur C Clarke, it may be. The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.