From: Jui-Hao Chiang <windtracekimo@gmail.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Questions when tracing the hci_usb
Date: Mon, 21 Jul 2008 03:05:26 +0000 (UTC) [thread overview]
Message-ID: <loom.20080721T023453-583@post.gmane.org> (raw)
In-Reply-To: loom.20080714T020902-534@post.gmane.org
> (1) In hci_usb_isoc_rx_submit, I saw the usb_rcvisocpipe are
> initializing settings for Host-side.
> But why is it necessary to call usb_submit_urb() to send
> the urb, and then repeat infinitely in hci_usb_rx_complete
> when the returned count is 0?
> Is that mandatory to do this to permit the usb device to send data
> up to Host?
Answering to myself
The USB host controls the transactions on the USB bus.
If host wants to retrieve the data from the USB device,
it needs to initiate the transaction by submitting a request
packet down to the USB bus (using the IN pipe).
Correct me if I am wrong.
> (2) Why the isoc is set to 2 in the beginning?
> What will happen when we set it to something like "5" in the beginning?
> (Alok's patches seems to dynamically
> adjust it depending on hdev->conn_hash.sco_num)
>>From the HCI USB Transport Layer spec.,
interface 1 has the following requirement:
* alternative setting 0 is for "No active voice channels"
* alternative setting 1 is for "One voice channel with 8-bit encoding"
* alternative setting 2 is for "Two voice channels with 8-bit encoding
& One voice channel with 16-bit encoding"
I have tried to setup three PCs, each with a bluetooth usb adapter.
http://www.cyber-blue.com/products_info.asp?id=19&code=AC
PC1 is configured as Master role, and PC2 is Slave.
The scotest can be used to send one SCO voice traffic from PC2 to PC1.
But when I use another PC3 to connect to PC1,
there is no connection request event found in PC1.
(tried alternative settings from 2 to 5)
I am wandering it's the adapter problem or the hci_usb problem?
since so many people are using CSR adapter
(which product are you guys using?)
The following page is my tracing to the hci_usb, just for sharing.
http://docs.google.com/
View?docID=ajgdxrgpktxt_149gqvt45cw&revision=_latest
It's not a beautiful document.
But I really hope to find some comments from
someone who is working on multiple SCO.
Bests, Jui-Hao
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2008-07-21 3:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-14 2:30 [Bluez-devel] Questions when tracing the hci_usb Jui-Hao Chiang
2008-07-21 3:05 ` Jui-Hao Chiang [this message]
2008-07-22 3:21 ` Jui-Hao Chiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20080721T023453-583@post.gmane.org \
--to=windtracekimo@gmail.com \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox