On Fri, May 19, 2006 at 07:58:00PM -0400, Paul Giblock wrote:
> Sorry Greg, but your patch does not work, I tried using usb_bulk_msg()
> in the first place but it returns -22 (-EINVAL) this is because the
> pipe is not an interrupt pipe.

If it's not an interrupt or a bulk, what is it?

> Using usb_bulk_msg() does work on
> another one of my machines, however.
> 
> A properly written solution would be a modified version of
> usb_bulk_msg, not just a wrapper.

usb_bulk_msg() should work just fine for interrupt endpoints and bulk
endpoints.  What are you trying to connect to here?

> >No {} needed for 1 line for statements (or if statements).
> >
> >>        printk("\n");
> 
> I guess I didn't make myself clear. I'm not looking for syntax advice,
> this is only a rapid prototype. I'm looking for obvious faults that
> may cause deadlock or a kernel panic.

I know, sorry, I couldn't help myself.  It hurts my brain and eyes to
see stuff like this... :)

thanks,

greg k-h


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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