On Tue, 22 Nov 2005, Kiran Jammula wrote:

> Hi,
> I am developing Linux Host  driver for a Device. The device has suppiled 
> Windows based driver. After connecting the device to PC the probe function 
> in my driver is being called. But pipe opened by using 
> usb_sndbulkpipe,usb_rcvbulkpipe ,usb_sndctrlpipe,usb_rcvctrlpipe is showing 
> negative value.

Those are macros; they don't open anything.  They are _supposed_ to return 
negative values.

> For the out end point device which function to be used..

What OUT endpoint?  For an OUT bulk endpoint, use usb_sndbulkpipe.  For an 
OUT control endpoint (i.e., endpoint 0), use usb_sndctrlpipe.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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