LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-14-2014, 12:44 PM   #1
ganesh8977
LQ Newbie
 
Registered: May 2014
Posts: 11

Rep: Reputation: Disabled
Question how to write usb mouse device driver?


Hi Guys,
I am working on usb devices i want to write usb device driver i have some question from kernel side.

1-> Which module is call whenever USB is plugged-in & where can i find USB source code of that module.
 
Old 11-20-2014, 12:21 AM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Hi,
just install the linux source code (which you can find at kernel.org) and you have all the source code you need.

Then start looking at the usb-core and usb-hid files.

Also search for the book Linux Device Drivers 3th edition by Greg Kroah-Hartman, Jon Corbet and Alessandro Rubini .

Cheers
 
  


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
How hard is it to write a USB device driver? Daravon Programming 2 10-12-2010 04:38 AM
How to write an USB device driver? boidi Linux - Kernel 9 07-24-2010 01:39 PM
writing usb and mouse device driver. shinde_amit001 Fedora 1 03-25-2010 05:55 AM
writing usb and mouse device driver. shinde_amit001 SUSE / openSUSE 1 03-25-2010 05:55 AM
Write a simple driver for a usb device abhinit Linux - Hardware 5 07-17-2009 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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