I've been working on my kernel module and everything have been coming
along nicely.  There is one issue with my device.  If I send two urbs
to the device without enough wait between the calls then the device
doesn't respond with status messages anymore.  Is there a kernel
mechinism available to handle this sort of issue? Note,  I cannot
always predict two sequential calls. For example, the user may ioctl()
two times without enough delay.

What would be ideal to to place all these requests on a queue where
they will be executed in order with no less then TIME_INTERVAL between
calls.  It would be great if identical requests could be collapsed
into one.

I am new to kernel hacking so I don't know if I should be looking into
waitqueues, workqueues, if I need to make my own data structure, or if
there is a better way around this problem.

Thank you,
Paul

On 5/21/06, Greg KH <[EMAIL PROTECTED]> wrote:
On Sun, May 21, 2006 at 11:55:37AM -0400, Alan Stern wrote:
> The patch you posted is larger than it needs to be.  In
> include/linux/usb.h, you could simply do:
>
> #define usb_intr_msg usb_bulk_msg     /* One function works for both */

Yes, but then we do not get any documentation, which is important.

thanks,

greg k-h



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to