LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 03: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, 04:01 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,278

Rep: Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897
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, 04: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 04:25 PM.
 
Old 02-01-2017, 07:48 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,307

Rep: Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537
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 01:25 AM
Writing Linux driver - choosing a device mjm Programming 2 05-03-2011 04:35 AM
Writing Simple Device Driver In Linux i_love_linux Linux - Kernel 6 09-04-2007 08:16 PM
writing printer device driver in linux sidbash Programming 3 07-05-2004 12:16 AM

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

All times are GMT -5. The time now is 06:24 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