Results 1 to 4 of 4
Hi ,
I want to write a USB host side driver.
To start with I want to know the flow of what an USB Host will do when
it detects ...
- 09-06-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 6
USB Host driver
Hi ,
I want to write a USB host side driver.
To start with I want to know the flow of what an USB Host will do when
it detects a device?
Also I want to know whether I can use the usb_skeleton.c as my base code to develop usb host driver!!!
Looking for all your help
T.Senthil
- 09-07-2007 #2
Hi,
Yes it would be a good start, if you start writing USB driver with usb skeleton.c.
It also depends for which USB device you are writing a driver.
please go through the below link it may help you,
How to Write a Linux USB Device Driver | Linux Journal
Writing a Simple USB Driver | Linux Journal
Usb Device Drivers
Programming Guide for Linux USB Device Drivers
And go through the book Linux device drivers by Corbet and Rubini.
- 09-07-2007 #3Just Joined!
- Join Date
- Apr 2007
- Posts
- 6
USB Host driver
Hello
Thanks for ur reply.
Well I compiled usb-skeleton.c and usb-skeleton.ko got created.
But when i give insmod and rmrmod it gives the below error
insmod usb-skeleton.ko
insmod: error inserting 'usb-skeleton.ko': -1 File exists
rmmod usb-skeleton
ERROR: Removing 'usb_skeleton': Device or resource busy
Looking for help to remove this error.
- 09-12-2007 #4
Hi Senthil,
Can you pelase paste your code here, so that it will be very easy for me to fix it.


Reply With Quote
