Skip to contentSkip to conversation

Headset connected, respondig, but silent

Bluez-devel mirko_3 3 participants 4 messages Jan 19, 2005 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

mirko_3

author
#1 lore raw
In reply to a message not in the archive

Hi everyone,
I've been trying to get my headset to work lately, with partial success: using the latest btsco-cvs, I manage to connect to the headset (a Jabra-250, I think), and pressing the volume/answer buttons is correctly detected by the program. I've unmuted everything in alsamixer, and set snd cards_limit=2 in modules.conf (although I don't use modules for alsa...). Everything is as it should be, except I can neither record nor playback anything. Here's my dmesg after pressing the play button three times on xmms (the progress bar doesn't move, the song doesn't start):

snd-bt-sco revision 1.4 $
snd-bt-sco: snd-bt-scod thread starting
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL

Program output is normal:
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=09
Sending up speaker change 9
recieved AT+VGS=08
Sending up speaker change 8

I really hope you can help me, as I've tried for days. Thank you all.

Signature · 11 lines
Dammit Jim, I'm an actor, not a doctor.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

if you really unmuted *everything* in alsa mixer that was a bit to much. In fact when you unmute the loopback option you should be able to hear the recorded sound echoed back to the headset, but you can not record/play anything else meanwhile. so do not unmute "loopback". If that's not the problem I'm a bit lost :/

what kernel? is it 2.6.10 with mh1 patches from bluez?

- - Lars

mirko_3 wrote:
| Hi everyone,
| I've been trying to get my headset to work lately, with partial
success: using the latest btsco-cvs, I manage to connect to the headset (a Jabra-250, I think), and pressing the volume/answer buttons is correctly detected by the program. I've unmuted everything in alsamixer, and set snd cards_limit=2 in modules.conf (although I don't use modules for alsa...). Everything is as it should be, except I can neither record nor playback anything. Here's my dmesg after pressing the play button three times on xmms (the progress bar doesn't move, the song doesn't start):

|
| snd-bt-sco revision 1.4 $
| snd-bt-sco: snd-bt-scod thread starting
| snd-bt-sco: playback_open
| snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
| snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
| snd-bt-sco: playback_trigger 1
| snd-bt-sco: setting playback to bspcm
| snd-bt-sco: playback_trigger 0
| snd-bt-sco: setting playback to NULL
| snd-bt-sco: playback_open
| snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
| snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
| snd-bt-sco: playback_trigger 1
| snd-bt-sco: setting playback to bspcm
| snd-bt-sco: playback_trigger 0
| snd-bt-sco: setting playback to NULL
| snd-bt-sco: playback_open
| snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
| snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800
| snd-bt-sco: playback_trigger 1
| snd-bt-sco: setting playback to bspcm
| snd-bt-sco: playback_trigger 0
| snd-bt-sco: setting playback to NULL
|
| Program output is normal:
| Device is 1:0
| Voice setting: 0x0060
| RFCOMM channel 1 connected
| recieved AT+CKPD=200
| opened hwdep
| connected SCO channel
| Setting sco fd
| Done setting sco fd
| recieved AT+VGS=09
| Sending up speaker change 9
| recieved AT+VGS=08
| Sending up speaker change 8
|
|
| I really hope you can help me, as I've tried for days. Thank you all.
|

- --
Lars Grunewaldt
* software development
* multimedia design
skills: C/C++/Java/PHP/(X)HTML/Flash/audio/video
web: http://www.dark-reality.de
mail: [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB7pkhQWC6DTWkDAoRAsDgAKDC45T8kPEBJt9gE8l0vkhqMdD/tgCcCTD1 B10FzF8EIjf9fPp2sM8vMCc=
=AuRk
-----END PGP SIGNATURE-----

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

author
#3 lore raw

Tried again, with the patch, but nothing changed, same dmesg as before...

Signature · 9 lines
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
#4 lore raw
In reply to mirko_3

Hi,

When you assume you are connected (with btsco), can you check that you have SCO packets in and out your BT adapter (with hcidump) ? The direction is marked with > and < in hcidump.
Also you can try to connect with btsco2.
I also have a jabra but a bt110, and btsco2 gives better results. Then try to connect to the handsfree profile, not the default headset profile.
If your jabra is like mine, then you should append channel 2 on the btsco2 command-line.

Best regards,
Paul

Quoted 42 lines · On Wed, 19 Jan 2005 16:15:16 +0100, mirko_3 wrote:

Hi everyone,
I've been trying to get my headset to work lately, with partial success:
using the latest btsco-cvs, I manage to connect to the headset (a Jabra-250, I think), and pressing the volume/answer buttons is correctly detected by the program. I've unmuted everything in alsamixer, and set snd cards_limit=2 in modules.conf (although I don't use modules for alsa...). Everything is as it should be, except I can neither record nor playback anything. Here's my dmesg after pressing the play button three times on xmms (the progress bar doesn't move, the song doesn't start):

snd-bt-sco revision 1.4 $
snd-bt-sco: snd-bt-scod thread starting snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800 snd-bt-sco:
prepare ok bps: 16000 size: 8000 count: 800 snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800 snd-bt-sco:
prepare ok bps: 16000 size: 8000 count: 800 snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 800 snd-bt-sco:
prepare ok bps: 16000 size: 8000 count: 800 snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL

Program output is normal:
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=09
Sending up speaker change 9
recieved AT+VGS=08
Sending up speaker change 8

Quoted 1 line

I really hope you can help me, as I've tried for days. Thank you all.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel