LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-18-2021, 11:00 PM   #1
FUKUTAKA
LQ Newbie
 
Registered: Sep 2021
Posts: 12

Rep: Reputation: Disabled
Please tell me how to make a usb wireless adapter device driver


Nice to meet you all

My Name is FUKUTAKA

I want to know a site to learn usb wireless adapter from the basics.

Do you know a site that is easy to understand even at the high school level?

I know C language as it is

So, I want to know how to make a device driver from the basics.

please tel me
 
Old 09-18-2021, 11:14 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
https://lwn.net/Kernel/LDD3/
 
Old 09-18-2021, 11:17 PM   #3
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
https://git.kernel.org/pub/scm/linux.../usb?h=v5.14.6
 
Old 09-19-2021, 12:32 AM   #4
FUKUTAKA
LQ Newbie
 
Registered: Sep 2021
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dugan View Post
Thank you for me

but

Is there a site that is easier to understand?

Or is this the easiest to understand?

Last edited by FUKUTAKA; 09-19-2021 at 12:34 AM.
 
Old 09-19-2021, 02:44 AM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Originally Posted by FUKUTAKA View Post
Thank you for me

but

Is there a site that is easier to understand?

Or is this the easiest to understand?
I'm not a developer, but perhaps this will be more relatable to start with...
https://www.apriorit.com/dev-blog/64...iver-prototype
 
1 members found this post helpful.
Old 09-19-2021, 03:27 PM   #6
FUKUTAKA
LQ Newbie
 
Registered: Sep 2021
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
I'm not a developer, but perhaps this will be more relatable to start with...
https://www.apriorit.com/dev-blog/64...iver-prototype
ferrari,

Thank you

I was looking for such a place.

If there are others,thank you
 
Old 09-19-2021, 03:37 PM   #7
FUKUTAKA
LQ Newbie
 
Registered: Sep 2021
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dugan View Post
dugan,

The level was too high for me here.

Thank you.
 
Old 09-19-2021, 03:39 PM   #8
FUKUTAKA
LQ Newbie
 
Registered: Sep 2021
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GentleThotSeaMonkey View Post
GentleThotSeaMonkey alse

Thank you.
 
Old 09-20-2021, 02:29 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
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 ?
 
Old 09-20-2021, 03:35 AM   #10
FUKUTAKA
LQ Newbie
 
Registered: Sep 2021
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
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?

Please.
Please let me know.

Or is it reckless?

Also, I'm sorry I'm not good at English
 
Old 09-20-2021, 03:41 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by FUKUTAKA View Post
I know a little about commands like Insmod, rmmod, but how much should I learn about the kernel?
As much as you wish. It only depends on you. But first you need to know the basics (to be able to make your own driver).
 
1 members found this post helpful.
Old 09-21-2021, 04:37 AM   #12
FUKUTAKA
LQ Newbie
 
Registered: Sep 2021
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
As much as you wish. It only depends on you. But first you need to know the basics (to be able to make your own driver).
pan64,

Thank you for me

What you say is the best.

So, do you think I can understand at high school level by studying on this website?

https://www.apriorit.com/dev-blog/19...r-for-linux-os

please.
 
Old 09-21-2021, 04:57 AM   #13
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
yes, that could be a good start. Just remember (the first sentence on that page):
Quote:
Programming a device driver for Linux requires a deep understanding of the operating system and strong development skills.
 
1 members found this post helpful.
Old 09-21-2021, 08:00 AM   #14
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by FUKUTAKA View Post
Thank you for me

What you say is the best.

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.
 
2 members found this post helpful.
Old 09-21-2021, 03:37 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Supersede laptop's wireless adapter with usb wireless adapter rcdawson Linux - Networking 2 11-29-2015 04:03 AM
[SOLVED] Please tell me how to tell KDE to run plasma-desktop instead of plasma-netbook Kenny_Strawn Linux - Software 7 07-19-2010 07:32 PM
Wireless D-link DWL-G120 USB Adapter Prism54 Driver installation?? howto please!! geninblaze Linux - Wireless Networking 13 05-01-2006 12:11 AM
usb device driver for wireless network adapter lordofring Programming 1 06-30-2005 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration