Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
191 views
in Technique[技术] by (71.8m points)

c - Is there any way that i can implement a premade USBHID driver into my kernel that im building?

this is my first time posting on SE i believe. I would like to know wether or not it would be theoretically possible to implement a already existing usb-kbd driver in a kernel written in c, or would i have to reinvent the wheel and make a custom usb hub/ controller/ kbd driver to input a string? What im trying to do is i am trying to make a CLI for the beforementioned kernel, so i can get input from the user and not only output to the screen. I have all the code published on https://github.com/devbrones/milk (yes its called milk.....) (also the majority of the scripts are based upon the linux journals tutorial on how to make a simple kernel, i thought i wanted to build upon it.)

question from:https://stackoverflow.com/questions/65946212/is-there-any-way-that-i-can-implement-a-premade-usbhid-driver-into-my-kernel-tha

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...