Thank you...

I am using usb_sndbulkpipe in usb_bulg_msg
the return value of the usb_bulk_msg is also a positive number. But there is no response from the device.. Can suggest some free tools to monitor the data on USB in Linux.

Thanks in advance....


From: Alan Stern <[EMAIL PROTECTED]>
To: Kiran Jammula <[EMAIL PROTECTED]>
CC: USB development list <linux-usb-devel@lists.sourceforge.net>1
Subject: Re: [linux-usb-devel] negative pipe value.....
Date: Tue, 22 Nov 2005 10:33:47 -0500 (EST)

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


_________________________________________________________________
Getting a personal loan is so easy. A salary slip is all it takes. http://192.220.126.149/icicibank/diwali/index.html?c_id=icicibank_001&site_id=68&b_id=12



-------------------------------------------------------
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