LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-01-2017, 02:42 PM   #1
Ach Shah
LQ Newbie
 
Registered: Nov 2016
Posts: 17

Rep: Reputation: Disabled
Writing a Linux device driver.


I want to write a USB device driver for Linux. Where shall I start from?
 
Old 02-01-2017, 03:01 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,920

Rep: Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017
Quote:
Originally Posted by Ach Shah View Post
I want to write a USB device driver for Linux. Where shall I start from?
Did you try looking at the source code for the existing USB drivers??? Do you know how to program?? Your previous threads don't indicate much of a background.

Look at the existing source code, which you should easily be able to download from the Red Hat site, if you're still using RHEL 7 (after being told repeatedly not to).
 
1 members found this post helpful.
Old 02-01-2017, 03:11 PM   #3
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Start from a web-search of:
Quote:
allintitle: write linux usb driver

Also try LQ's Advanced search, choosing: Search Titles Only, Show Results as Threads, for:
Quote:
writ* usb driver
You should find several; do you see them? (note: on LQ, that * matches {e,ing,ten} )


After reading thru the results for at least a fraction of an hour, post your choice of best 2.

Please post that device's info from: lsusb

Tell us a bit more about your: distro, experience, any other necessary details.

Thank you. Best wishes in this project. Awaiting your reply.

['ninja'ed...sorry, I'm sloooow]

Last edited by Jjanel; 02-01-2017 at 03:25 PM.
 
Old 02-01-2017, 06:48 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,893

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by Ach Shah View Post
I want to write a USB device driver for Linux. Where shall I start from?
I suggest that you start with the O'Reilly book on writing Linux device drivers.

http://www.oreilly.com/openbook/linuxdrive3/book/

--------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Writing device driver and Linux Kernel MarkoSan Linux - General 17 02-23-2012 12:25 AM
Writing Linux driver - choosing a device mjm Programming 2 05-03-2011 03:35 AM
Writing Simple Device Driver In Linux i_love_linux Linux - Kernel 6 09-04-2007 07:16 PM
writing printer device driver in linux sidbash Programming 3 07-04-2004 11:16 PM

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

All times are GMT -5. The time now is 01:42 PM.

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