Hello Greg, Thanks for your reply.
As I would be dealing with only 2 devices I was thinking that these two class drivers can be included as separate files and the probe functions in them can be probe_scanner() and probe_printer(). The USBD based on the device class can call either of these probe functions. Similarly it can call the disconnect function of the respective class driver. Is this OK or will it create any problem in other functionalities of the driver. Also what is the device number given to the root hub device. Is it given a number between 1-127 or -1. With Best Regards Manoj -----Original Message----- From: Greg KH [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 9:57 PM To: Manoj Naik Cc: [EMAIL PROTECTED] Subject: Re: [linux-usb-devel] USB in embedded Linux. On Fri, Jul 19, 2002 at 03:58:48PM +0530, Manoj Naik wrote: > Hello All, > > I want to put USB support in a embedded Linux. This system will support only > two USB devices. > What I want is not to go through the general class driver registration > sequence as done in Linux i.e./ registering the class driver to the system > in init/cleanup and calling usb_register/usb_deregister calls of USBD. > Can anybody suggest a method by which I can attach these class drivers with > the system so that the application can communicate with the USB system via > these class Drivers. There already is some code in the ARM tree to do this, and I have code at: bk://linuxusb.bkbits.net/usbd-2.5/ that provides such support for USB devices/gadgets within Linux. Hope this hekps, greg k-h ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
