| Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-05-2009, 01:55 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2008
Posts: 4
Rep:
|
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?.
|
|
|
|
05-08-2009, 12:23 PM
|
#2
|
|
Member
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 147
Rep:
|
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.
|
|
|
|
05-09-2009, 12:09 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2008
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by mk27
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.
|
|
|
|
05-09-2009, 11:46 AM
|
#4
|
|
Member
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 147
Rep:
|
Quote:
Originally Posted by rvckumar
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.
|
|
|
|
05-21-2009, 08:36 PM
|
#5
|
|
LQ Newbie
Registered: May 2009
Posts: 1
Rep:
|
Guide me..How to develop usb host
Quote:
Originally Posted by rvckumar
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:52 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|