Questions about SCO support hci_usb
Dear All:
Does the latest Bluez support 3 simultaneous SCO links from one USB dongle to
3 cell phones?
(According to the discussion thread
http://thread.gmane.org/gmane.linux.bluez.devel/12893/focus=12903, the hci_usb.c is not fully patched support well)
Bests regards,
Jui-Hao
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
I think Marcel has written a new usb driver(btusb) which does support multiple SCO connections(I am not sure).
Quoted 6 lines · Jui-Hao Chiang
Dear All:
Does the latest Bluez support 3 simultaneous SCO links from one USB dongle to
3 cell phones?
(According to the discussion thread
http://thread.gmane.org/gmane.linux.bluez.devel/12893/focus=12903, thehci_usb.cis not fully patched support well)
The patch was for hci_usb.c. Me and Whoopie had tested it for 2 simultaneous SCO connections. If your using hci_usb, you will need the alternate setting patch.
-Alok.
Quoted 5 lines
Bests regards,
Jui-Hao
Quoted 9 lines
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 7 lines
The patch was for
hci_usb.c. Me and Whoopie had tested it for 2 simultaneous SCO connections. If your usinghci_usb, you will need the alternate setting patch.-Alok.
Quoted 1 line
Thanks, Alok.
I have found it in 2.6.24 kernel source by setting BT_HCIBTUSB=m (BT_HCIUSB=n). One more question:
how do you test it for 2 simultaneous SCO?
If I use the multy_connect_mode() function in bluez-utils/test/scotest.c. it just fork() several process, and each of them do the following:
sk = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO);
bind(sk, ...)
connect(remote device...)
But it doesn't do anything with HandsFree Profile in my cell phone. If you have some other sample source code you are using, I would appreciate that you can share some with me.
Bests
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 8 lines · Jui-Hao Chiang
Quoted 7 lines
The patch was for
hci_usb.c. Me and Whoopie had tested it for 2 simultaneous SCO connections. If your usinghci_usb, you will need the alternate setting patch.-Alok.
Quoted 1 line
Quoted 9 lines
Thanks, Alok.
I have found it in 2.6.24 kernel source by setting BT_HCIBTUSB=m (BT_HCIUSB=n). One more question:
how do you test it for 2 simultaneous SCO?
If I use themulty_connect_mode()function inbluez-utils/test/scotest.c. it justfork()several process, and each of them do the following:
sk =socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO);
bind(sk, ...)
connect(remote device...)
IIRC i had just used scotest.
Quoted 1 line
But it doesn't do anything with HandsFree Profile in my cell phone.
I read your earlier post. I am a bit confused on what are u trying to achieve. BlueZ only supports AG(audio Gateway) role at the moment. Also most phones support only AG role, so in your case which device acts as the Hands Free device?
Quoted 2 lines
If you have some other sample source code you are using, I would appreciate that you can share some with me.
nope. I just used scotest.
-Alok.
Quoted 12 lines
Bests
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 5 lines
Quoted 1 line
But it doesn't do anything with HandsFree Profile in my cell phone.
I read your earlier post. I am a bit confused on what are u trying to achieve. BlueZ only supports AG(audio Gateway) role at the moment. Also most phones support only AG role, so in your case which device acts as the Hands Free device?
Sorry for let you misunderstand.
In my project, cell phone is used as Audio Gateway.
What I am trying to do is to run the Asterisk (Soft PBX) on my PC. As the following scenario shows, my goal is to let each dongle to support 3 phone calls via 3 cell phones.
Soft VoIP phone -- Asterisk (PC) ----bluetooth usb dongle-- cell phone1, cell phone 2, cell phone 3.
So, first I need to figure out how much concurrent SCO can one usb dongle support in bluez (as you suggested the btsco. I will try it right now) The second thing is to test the voice call via the cell phone, that's why I want to write some short program to test 2 voice connections to 2 cell phones.
Best,
Jui-Hao
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
Quoted 2 lines
I think Marcel has written a new usb driver(btusb) which does support multiple SCO connections(I am not sure).
I find out one tihing: when I try to build up the linux 2.6.24. The description of btusb itself says "no SCO support now". Thus, I guess I should abandon this solution.
Quoted 3 lines
The patch was for
hci_usb.c. Me and Whoopie had tested it for 2 simultaneous SCO connections. If your usinghci_usb, you will need the alternate setting patch.
Could someone give me some suggestions about the patch things? (which linux kernel and which version of patch)
I know there are two steps
(1) sco_flowcontrol:
It seems sco-flowcontrol-v4.3.diff is successful in 2.6.23 from this article
http://thread.gmane.org/gmane.linux.bluez.devel/13852
But why there are two revisions for that? and the latest one is "wrong patch from whoopie"
http://bluetooth-alsa.cvs.sourceforge.net/
bluetooth-alsa/plugz/patches/sco-flowcontrol-v4.3.diff?view=log
(2) alternate setting
there is a latest patch by Alok
http://thread.gmane.org/gmane.linux.bluez.devel/12893/focus=12903
But I don't know which kernel version it is against?
Appreciate any help
Bests regards,
Jui-Hao
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel