Return-Path: Date: Mon, 4 Aug 2008 15:55:04 +0800 (CST) From: attaboyu To: "BlueZ users" Message-ID: <33494690.546031217836504913.JavaMail.coremail@bj163app19.163.com> In-Reply-To: <16515303.641251217832066401.JavaMail.coremail@bj163app113.163.com> References: <16515303.641251217832066401.JavaMail.coremail@bj163app113.163.com> MIME-Version: 1.0 Subject: Re: [Bluez-users] Bluetooth Headset (hstest, rfcomm and sco connected but no sound) Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0134512739==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============0134512739== Content-Type: multipart/alternative; boundary="----=_Part_144498_31300429.1217836504912" ------=_Part_144498_31300429.1217836504912 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: quoted-printable and SCO route below: [root@root bin]$../sbin/hciconfig hci0 revision go... hci0: Type: UART BD Address: 00:06:6E:05:05:05 ACL MTU: 310:10 SCO MTU: 64:8 Unified 21e Chip version: BlueCore4-ROM Max key size: 128 bit SCO mapping: PCM =20 =20 =20 -- Best Regards ------------ Tony =D4=DA2008-08-04=A3=ACattaboyu =D0=B4=B5=C0=A3=BA hi everyone I'm experimenting with the i-tech BlueBAND headset with bluez, this headse= t support HS,HF,A2DP and AVRCP profile, But for me, I only want to test the= MONO for telephoning. it doesnt work well now. toolchain: kernel 2.6.10, bluez-libs/utils-3.12, CSR BC4 UART interface (the version of the toolchain is old, but I must work on that) I will definitely test HeadSet profile, so btsco/snd-bt-sco are not include= d. and I use the hstest in bluez-utils. hcid,hciattach,sdpd are always work= well. when send audio to headset: [root@root bin]$hstest play 1.wav 00:0D:3C:E8:1A:AC 2 & Voice setting: 0x0060 RFCOMM channel connected SCO audio channel connected (handle 45, mtu 64) AT+VGS=3D11=20 AT+CKPD=3D200 AT+CKPD=3D200 AT+CKPD=3D200 AT+VGS=3D12 AT+VGS=3D11 AT+VGS=3D10 AT+VGS=3D11 AT+VGS=3D12 AT+CKPD=3D200 Here the headset beeps (it does that everytime a connection is initiated) a= nd I can hear only some noise through it. By pressing one of the buttons on= the headset I even see the AT-comands which are submitteted via the rfcomm= channel. But no audio. A hcidump during the connection procedure shows jus= t a normal looking bunch of hci and acl commands and events, but no sco pac= kets whatsoever. here the SCO is connected [root@root bin]$hcitool con Connections: < SCO 00:0D:3C:E8:1A:AC handle 45 state 1 lm SLAVE=20 < ACL 00:0D:3C:E8:1A:AC handle 43 state 1 lm MASTER ENCRYPT=20 Am I doing something wrong or missing a step?=20 Thanks for your help and best regards Tony ------=_Part_144498_31300429.1217836504912 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable and SCO route below:

[root@root bin]$../sbin/hciconfig hci0 revision=
go...
hci0:   Type: UART
     =    BD Address: 00:06:6E:05:05:05 ACL MTU: 310:10 SCO MTU: 64:8        Unified 21e
  &nbs= p;     Chip version: BlueCore4-ROM
   = ;     Max key size: 128 bit
    =     SCO mapping:  PCM
 
 
=
 

--
 Best Regards
 ------------
 Tony

=D4=DA2008-08-04=A3=ACattaboyu <attaboyu@163.com> =D0=B4=B5= =C0=A3=BA
 hi everyone

 I'm experimenting with the i-tech BlueBAND= headset with bluez, this headset support HS,HF,A2DP and AVRCP profile, But= for me, I only want to test the MONO for telephoning. it doesnt work well = now.

toolchain: kernel 2.6.10, bluez-libs/utils-3.12, CSR BC4 UART i= nterface
(the version of the toolchain is old, but I must work on that)<= br>
I will definitely test HeadSet profile, so btsco/snd-bt-sco are not = included. and I use the hstest in bluez-utils. hcid,hciattach,sdpd are alwa= ys work well.

when send audio to headset:

[root@root bin]$hst= est play 1.wav 00:0D:3C:E8:1A:AC 2 &
Voice setting: 0x0060
RFCOMM= channel connected
SCO audio channel connected (handle 45, mtu 64)
AT= +VGS=3D11
AT+CKPD=3D200
AT+CKPD=3D200
AT+CKPD=3D200
AT+VGS=3D1= 2
AT+VGS=3D11
AT+VGS=3D10
AT+VGS=3D11
AT+VGS=3D12
AT+CKPD=3D= 200

Here the headset beeps (it does that everytime a connection = is initiated) =20 and I can hear only some noise through it. By pressing one of= the buttons on the headset I even see the AT-comands which are submitt= eted via the rfcomm =20 channel. But no audio. A hcidump during the connection procedure s= hows just a normal looking =20 bunch of hci and acl commands and events, but no sco packets = whatsoever.

here the SCO is connected
[root@root bin]$hcitool con=
Connections:
        < SCO 00:= 0D:3C:E8:1A:AC handle 45 state 1 lm SLAVE
     = ;   < ACL 00:0D:3C:E8:1A:AC handle 43 state 1 lm MASTER ENCRYP= T

Am I doing something wrong or missing=
 a step? 


Thanks for your help and=
 best regards
Tony
------=_Part_144498_31300429.1217836504912-- --===============0134512739== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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=/ --===============0134512739== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============0134512739==--