Please tell me how to make a usb wireless adapter device driver
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please tell me how to make a usb wireless adapter device driver
This means you want to implement a kernel driver. So first you need to know what is kernel, how to add a driver to it, how to build it.
Next you need to know the device (the hardware) and need to implement the driver itself - to handle the device.
What do you expect now? Do you think there is a way to make a device driver without being familiar with the kernel, modules, the concept, the usb and/or wifi standards ?
This means you want to implement a kernel driver. So first you need to know what is kernel, how to add a driver to it, how to build it.
Next you need to know the device (the hardware) and need to implement the driver itself - to handle the device.
What do you expect now? Do you think there is a way to make a device driver without being familiar with the kernel, modules, the concept, the usb and/or wifi standards ?
I know a little about commands like Insmod, rmmod, but how much should I learn about the kernel?
So, do you think I can understand at high school level by studying on this website?
This is not a matter of what "level" something is.
Writing a device driver involves writing Linux code.
It is a little more specialized than writing Linux application code.
If you've never written Linux code at all, then you should practice some of that and read up on the Linux kernel, as already told.
Since you've not written a Linux driver, then read up and try some code examples which are usually included with many Linux driver development references.
Web searching is your friend.
What you should look for are references which you find that help you. Meanwhile there are tons of references available as well as example code.
No one can help you to learn, or hand you perfect references for you, only you can decide what references work best for your level of experience and pace of learning.
You're going to have to decide for yourself if some search result isn't helpful for you.
I did it a long time ago. Took an existing driver and working on getting the new chipset to work. Look at all the sources for drivers you can. Many contain notes that you can use to make new driver. Then it's a lot of testing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.