btsco not working with 3Com 3CREB96 and SE HBH-602
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/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
Quoted 63 lines · Tom K
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.41Bluetooth daemons are running, snd-bt-sco is loaded, hci0 is up, with the voice
0x0060setting. 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 refusedI 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 lostbtsco 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.
Quoted 10 lines
-------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 5 lines · Mitja Pufic
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/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.
Quoted 13 lines
Many thanks for your response.
It's pretty old alright, but hciconfig hci0 revision gives mehci0: Type: USB
BD Address: 00:04:76:AD:12:E3 ACL MTU: 128:8 SCO MTU: 64:8 HCI 10.3Chip version: BlueCore01b (ES) SCO mapping: HCIwhich looked promising to me. Still, if it's not the right stuff, I'll hunt around for another one.
Quoted 11 lines
-------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 5 lines · Mitja Pufic
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel