linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] btsco not working with 3Com 3CREB96 and SE HBH-602
@ 2006-03-23 11:23 Tom K
  2006-03-23 15:22 ` Mitja Pufic
  0 siblings, 1 reply; 5+ messages in thread
From: Tom K @ 2006-03-23 11:23 UTC (permalink / raw)
  To: bluez-devel

First post here, not a developer, but I'm posting here as advised on the 
bluetooth-alsa site.

I have a 3Com 3CREB96 USB dongle and a SonyEricsson HBH-602 headset. I 
have the following installed on the laptop:

kernel 2.6.15
bluez-libs 2.25
bluez-utils 2.25
bluez-hcidump 1.29
btsco 0.41

Bluetooth daemons are running, snd-bt-sco is loaded, hci0 is up, with 
the voice 0x0060 setting. The devices are paired successfully. I now run 
btsco -v A1:B2:C3:D4:E5:F6, and get the following response:

btsco v0.41
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
recieved AT*ECBP=?
recieved AT+CLIP=1
recieved AT+CSCS="UTF-8"
recieved AT+CLAN?

In another terminal, I try aplay -B 1000000 -D plughw:Headset test.wav, 
and the following is added in the btsco terminal:

i/o needed: connecting sco...
Can't connect SCO audio channel
: Connection refused

I shut down btsco, and after nearly 30 seconds, I hear a single beep in 
the headset. I run btsco again as above, with the same initial response, 
and run aplay again. This time, the sound file plays through the 
headset, and btsco shows the following:

i/o needed: connecting sco...
connected SCO channel
Done setting sco fd
recieved AT+VGS=12
Sending up speaker change 12
speaker volume: 12 mic volume: 11
driver is not in use
disconnected SCO channel
RFCOMM channel lost

btsco then shuts itself down.

All the above is consistently reproducable. Also, the same responses are 
seen if arecord is used instead of aplay, except of course that a file 
is recorded instead of played on the second attempt.

About a year ago, I had the same headset working correctly with btsco 
and a 3Com BT PCMCIA card, which I unfortunately can no longer use.

If more info is required - hcidump, logs, etc - let me know. I am aware 
that this is a dev list, so I will understand completely if nobody is 
interested.

All the best
Tom K.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] btsco not working with 3Com 3CREB96 and SE HBH-602
  2006-03-23 11:23 [Bluez-devel] btsco not working with 3Com 3CREB96 and SE HBH-602 Tom K
@ 2006-03-23 15:22 ` Mitja Pufic
  2006-03-23 17:25   ` Tom K
  0 siblings, 1 reply; 5+ messages in thread
From: Mitja Pufic @ 2006-03-23 15:22 UTC (permalink / raw)
  To: bluez-devel

Hello,

This is a very old dongle, with bluecore01 and confirms with bluetooth 
1.0b specification. And as far as I know it has SCO mapped to PCM and not 
HCI, so this is the reason, why your setup is not working. Check mail 
list archive how to change this, or if it is even possible on this old 
chip. PCMCIA version does not have this problem.

br, Mitja

On Thu, 23 Mar 2006, Tom K wrote:

> First post here, not a developer, but I'm posting here as advised on the
> bluetooth-alsa site.
> 
> I have a 3Com 3CREB96 USB dongle and a SonyEricsson HBH-602 headset. I have
> the following installed on the laptop:
> 
> kernel 2.6.15
> bluez-libs 2.25
> bluez-utils 2.25
> bluez-hcidump 1.29
> btsco 0.41
> 
> Bluetooth daemons are running, snd-bt-sco is loaded, hci0 is up, with the
> voice 0x0060 setting. The devices are paired successfully. I now run btsco -v
> A1:B2:C3:D4:E5:F6, and get the following response:
> 
> btsco v0.41
> Device is 1:0
> Voice setting: 0x0060
> RFCOMM channel 1 connected
> recieved AT*ECBP=?
> recieved AT+CLIP=1
> recieved AT+CSCS="UTF-8"
> recieved AT+CLAN?
> 
> In another terminal, I try aplay -B 1000000 -D plughw:Headset test.wav, and
> the following is added in the btsco terminal:
> 
> i/o needed: connecting sco...
> Can't connect SCO audio channel
> : Connection refused
> 
> I shut down btsco, and after nearly 30 seconds, I hear a single beep in the
> headset. I run btsco again as above, with the same initial response, and run
> aplay again. This time, the sound file plays through the headset, and btsco
> shows the following:
> 
> i/o needed: connecting sco...
> connected SCO channel
> Done setting sco fd
> recieved AT+VGS=12
> Sending up speaker change 12
> speaker volume: 12 mic volume: 11
> driver is not in use
> disconnected SCO channel
> RFCOMM channel lost
> 
> btsco then shuts itself down.
> 
> All the above is consistently reproducable. Also, the same responses are seen
> if arecord is used instead of aplay, except of course that a file is recorded
> instead of played on the second attempt.
> 
> About a year ago, I had the same headset working correctly with btsco and a
> 3Com BT PCMCIA card, which I unfortunately can no longer use.
> 
> If more info is required - hcidump, logs, etc - let me know. I am aware that
> this is a dev list, so I will understand completely if nobody is interested.
> 
> All the best
> Tom K.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] btsco not working with 3Com 3CREB96 and SE HBH-602
  2006-03-23 15:22 ` Mitja Pufic
@ 2006-03-23 17:25   ` Tom K
  2006-03-24 11:24     ` Mitja Pufic
  0 siblings, 1 reply; 5+ messages in thread
From: Tom K @ 2006-03-23 17:25 UTC (permalink / raw)
  To: bluez-devel

Mitja Pufic wrote:
> Hello,
>
> This is a very old dongle, with bluecore01 and confirms with bluetooth 
> 1.0b specification. And as far as I know it has SCO mapped to PCM and not 
> HCI, so this is the reason, why your setup is not working. Check mail 
> list archive how to change this, or if it is even possible on this old 
> chip. PCMCIA version does not have this problem.
>
>   
Many thanks for your response.
It's pretty old alright, but hciconfig hci0 revision gives me

hci0:   Type: USB
        BD Address: 00:04:76:AD:12:E3 ACL MTU: 128:8 SCO MTU: 64:8
        HCI 10.3
        Chip version: BlueCore01b (ES)
        SCO mapping:  HCI

which looked promising to me. Still, if it's not the right stuff, I'll 
hunt around for another one.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] btsco not working with 3Com 3CREB96 and SE HBH-602
  2006-03-23 17:25   ` Tom K
@ 2006-03-24 11:24     ` Mitja Pufic
  2006-03-24 12:43       ` Tom K
  0 siblings, 1 reply; 5+ messages in thread
From: Mitja Pufic @ 2006-03-24 11:24 UTC (permalink / raw)
  To: bluez-devel

Hello Tom,

this really looks promissing, mine dongle says PCM, that could be because  
I am using it with a very old version of bluez. I see no problem, why 
this should not work with sco.

> Many thanks for your response.
> It's pretty old alright, but hciconfig hci0 revision gives me
> 
> hci0:   Type: USB
> BD Address: 00:04:76:AD:12:E3 ACL MTU: 128:8 SCO MTU: 64:8
> HCI 10.3
> Chip version: BlueCore01b (ES)
> SCO mapping:  HCI
> 
> which looked promising to me. Still, if it's not the right stuff, I'll hunt
> around for another one.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] btsco not working with 3Com 3CREB96 and SE HBH-602
  2006-03-24 11:24     ` Mitja Pufic
@ 2006-03-24 12:43       ` Tom K
  0 siblings, 0 replies; 5+ messages in thread
From: Tom K @ 2006-03-24 12:43 UTC (permalink / raw)
  To: bluez-devel

Mitja Pufic wrote:
> Hello Tom,
>
> this really looks promissing, mine dongle says PCM, that could be because  
> I am using it with a very old version of bluez. I see no problem, why 
> this should not work with sco.
>
>   
Thanks again, Mitja. Everything looks like it's in order, alright, but I 
just can't set up a usable connection. It's a bit frustrating, because I 
can send and receive audio, as described, so the hardware must be OK. 
It's something in the setup, but I don't know what at the moment. Time 
for some more tinkering, I think.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-24 12:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23 11:23 [Bluez-devel] btsco not working with 3Com 3CREB96 and SE HBH-602 Tom K
2006-03-23 15:22 ` Mitja Pufic
2006-03-23 17:25   ` Tom K
2006-03-24 11:24     ` Mitja Pufic
2006-03-24 12:43       ` Tom K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).