On Thu, Sep 23, 2004 at 04:41:42AM -0700, kailash wrote:
> Hi,
>    We are writing a USB Bluetooth driver with SCO
> support using a sample hardware that we have.

First off, what kernel version?  And do you have a pointer to your code?

And what's wrong with the SCO support that's already in the main
kernel.org tree?

> o The read_isoc_callback gets called as soon as we
> finish usb_submit_urb call. Is this normal ?

Sure, depends on the hardware.

> o  Whenever the read_isoc_callback gets called the
> urb->dev field is set to NULL and we have to reassign
> urb->dev = pdrvobj->dev 
> Why does happen ?

Just the way it works :)

> Do we need to reassign any of the fields other than urb->dev ?

Nope, that should be it.

> o  The callback gets called even before any ISOC
> transfer starts and we get urb->actual_length = 0 in
> every iteration of the read_isoc_callback. Also
> urb->iso_frame_desc[i].actual_length = 0 for all
> frames.
> What might be wrong ?

Did you check the status value returned in the urb?  What does it say is
wrong?

good luck,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to