Mac Ox Driver Development

Source: Internet
Author: User
1. Select any of the

2. Write code

3. Add library (corresponding version)


4. See if the entrance corresponds


5. Put the file into the system boot path or manually start
Boot auto-start path (/system/library/extensions)

Manual Start Here
6. Set permissions for driver files
sudo chown-r root:wheel/system/library/extensions/testkernel.kext
7. Running the drive
sudo kextload/system/library/extensions/testkernel.kext
8. If the error is due to the signature problem simple processing
9. View SIP error should be displayed as enable

10. Restart the computer Run command csrutil disable
11. Run the drive again
12. Display Driver Kextstat

13. Uninstalling the Drive

14. View Logs



Reference:
https://www.jianshu.com/p/f76bdfbc6779
Https://bbs.pediy.com/thread-197990.htm

Mac Ox Driver Development

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.