Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] SCO mapping, bccmd mapsco
Date: Fri, 14 Jul 2006 18:22:55 +0200	[thread overview]
Message-ID: <1152894175.25660.35.camel@localhost> (raw)
In-Reply-To: <20060714161657.GA25533@inf.fu-berlin.de>

Hi Marcus,

> I thought I'd give using my bluetooth headset as microphone and
> speaker a try, using bluetooth-alsa. Everything is working
> (pairing, connecting, getting key press info) apart from no
> sound data being sent to or received from the headset, both with
> a Nokia headset (HS-3W) and a Motorola one (H300).
> 
> One hint I found was to look at "hciconfig hci0 revision" to
> check for the "SCO mapping". So I did:
> 
>   coach:~# hciconfig hci0 revision
>   hci0:   Type: USB
>           BD Address: 08:00:46:EB:0E:B6 ACL MTU: 192:8 SCO MTU: 64:8
>           HCI 18.1
>           Chip version: BlueCore02-External
>           Max key size: 56 bit
>           SCO mapping:  PCM
> 
> And supposedly the mapping to PCM is not what I want. Also, the
> counters for "sco" in the hciconfig output never showed anything
> but 0. So I got myself the bluez-utils sources, compiled them to
> get "bccmd" and gave it a try:
> 
>   coach:~# bccmd psset mapsco 0
>   coach:~# hciconfig hci0 revision
>   hci0:   Type: USB
>           BD Address: 08:00:46:EB:0E:B6 ACL MTU: 192:8 SCO MTU: 64:8
>           HCI 18.1
>           Chip version: BlueCore02-External
>           Max key size: 56 bit
>           SCO mapping:  HCI
> 
> Looking good, but nothing actually changed. Looking closer I
> noticed:
> 
>   coach:~# bccmd psset mapsco 0
>   coach:~# bccmd psget mapsco
>   Map SCO over PCM: 0x0001 (1)
>   coach:~# bccmd psset mapsco 1
>   coach:~# bccmd psget mapsco
>   Map SCO over PCM: 0x0001 (1)

use "bccmd psset --stores psf mapsco 0".

Regards

Marcel




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2006-07-14 16:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14 16:16 [Bluez-users] SCO mapping, bccmd mapsco Marcus C. Gottwald
2006-07-14 16:22 ` Marcel Holtmann [this message]
2006-07-14 16:47   ` Marcus C. Gottwald
2006-07-18 11:01     ` Marcel Holtmann
2006-07-18 13:53       ` Marcus C. Gottwald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1152894175.25660.35.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox