LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-05-2009, 01:55 AM   #1
rvckumar
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
How do I write a USB host driver..


Kindly guide me to write a USB host driver..

any online documentation/tutorials for Linux Host controller driver?.
 
Old 05-08-2009, 12:23 PM   #2
mk27
Member
 
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Rep: Reputation: 23
I would not even bother trying to do this via a web tutorial, but YMMV. Try google. Unfortunately, for some reason the GNU on-line documentation for the kernel (http://www.gnugeneration.com/books/l...20/kernel-api/) does not include any of the numerous usb_ functions!

However, there are at least 2-3 books in print on linux device drivers. Which I guarantee that this is going to take you some time, so you might as well dish for a book.

Not sure why you would want to do this either, since the host controller driver is already there.
 
Old 05-09-2009, 12:09 AM   #3
rvckumar
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mk27 View Post
I would not even bother trying to do this via a web tutorial, but YMMV. Try google. Unfortunately, for some reason the GNU on-line documentation for the kernel (http://www.gnugeneration.com/books/l...20/kernel-api/) does not include any of the numerous usb_ functions!

However, there are at least 2-3 books in print on linux device drivers. Which I guarantee that this is going to take you some time, so you might as well dish for a book.

Not sure why you would want to do this either, since the host controller driver is already there.
Thanks. But I need to debug a host driver that is already supplied by the vendor and I want to have idea of the host driver execution flow.

I have searched google / books, but I found the lot of docs for USB device driver writing only. Thats why I seek the help from linux community.
 
Old 05-09-2009, 11:46 AM   #4
mk27
Member
 
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Rep: Reputation: 23
Quote:
Originally Posted by rvckumar View Post
Thanks. But I need to debug a host driver that is already supplied by the vendor and I want to have idea of the host driver execution flow.

I have searched google / books, but I found the lot of docs for USB device driver writing only. Thats why I seek the help from linux community.
If you mean the linux USB host driver (singular, since there is only one of each flavour), that is part of the official kernel source and you should contact the official maintainers named in the code.

If you are using something else I think you are gonna have a tough time; the documentation for (linux specific) USB driver programming is not even that extensive, beyond a few books, and the books I have do not bother with the host controller since it already exists. However, there is much interaction with the host controller, so depending on how extensive this debugging task is, you may need to get a grasp on that first.
 
Old 05-21-2009, 08:36 PM   #5
seesai
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Guide me..How to develop usb host

Quote:
Originally Posted by rvckumar View Post
Kindly guide me to write a USB host driver..

any online documentation/tutorials for Linux Host controller driver?.
Hello,

I have to develop an USB host..could you please guide me how to proceed..

thanks
SAI
 
  


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
Linux USB Host controller driver cmrnaidu Linux - Software 4 12-18-2008 12:09 AM
USB Re-direction. Will I have to write a USB driver? ritalinkid Programming 1 08-22-2008 10:06 PM
USB host side driver ttsenthil Linux - Software 0 09-06-2007 01:13 AM
USB 2.0 enhanced host controller driver satimis General 1 10-07-2006 11:15 AM
How can i write driver for my usb ADSL modem? ceng_er Linux - Hardware 1 09-15-2004 10:44 PM

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

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