Linux bluetooth development
 help / color / mirror / Atom feed
From: administrator tootai <admin@tootai.net>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Re: Connection issue with headset
Date: Wed, 02 Feb 2005 14:20:54 +0100	[thread overview]
Message-ID: <4200D3B6.1050708@tootai.net> (raw)
In-Reply-To: <ctob73$ph0$1@sea.gmane.org>

Sebastian Roth a =E9crit :

> Hi Daniel,

Hi Sebastian

>
>>>> nomade:/home/dh# btsco 00:0b:2e:06:01:2e
>>>> Device is 1:0
>>>> Voice setting: 0x0060
>>>> RFCOMM channel 6 connected
>>>
>>>
>>>
>>> You have to press the headset button now!
>>
> I wanted to say that you have to press the button like on a cd-player.
> First turn on your cd-player or headset ;-) then start btsco and now
> push the button once more!

Did not help. I made following:

- modprobe snd-bt-sco
- headset is switch off
- btsco 00:0b:2e:06:01:2e
Device is 1:0
Failed to connect to SDP server: Host is down
Assuming channel 2
- I swith on headset, information above is completed by
Voice setting: 0x0060
RFCOMM channel 2 connected

So there is communication between my usb BT adapter and the BT Headset.=20
But still nothing more. When I run

mpg123 --au - <MySongFile>.mp3 | /usr/src/btsco/sbc/sbcenc - |=20
/usr/src/btsco/a2play 00:0b:2e:06:01:2e

still have

MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
subbands =3D 1
allocation method =3D 1
channel_mode =3D 2
blocks =3D 3
sampling frequency =3D 2
bitpool =3D 32
frame len =3D 72
Using address: 00:0b:2e:06:01:2e
Can't connect to 2E:01:06:2E:0B:00. Invalid argument(22)
cannot open psm_cmd =3D 0

> [...]
> My headset has a so called "scan mode". I have to turn it off and press
> the button for a long time. Now the LED is blinking alternately red and
> green. Only in this mode it show's up on hcitool scan! btw no address
> is needed when scanning for devices.
> $ hcitool scan

Ok, this I got. It's the same manipulation as if you want to enter the=20
PIN code for pairing. And I got:
nomade:# hcitool scan
Scanning ...
        00:0B:2E:06:01:2E       BT1000

So everything concerning connection seems to be fine but I still can't=20
see any traffic going through! Has someone an idea on what is this=20
invalid argument error (22) with a2play?

Thanks for your help

--=20
Daniel


-------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-02-02 13:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-28  9:32 [Bluez-users] Connection issue with headset administrator tootai
2005-01-28 15:53 ` [Bluez-users] " Sebastian Roth
2005-01-29 16:39   ` daniel huhardeaux
2005-01-29 16:43   ` administrator tootai
2005-01-29 17:29   ` Stefan Bellon
2005-01-30  3:13     ` Brad Midgley
2005-01-30 19:01   ` administrator tootai
2005-01-31 14:57   ` administrator tootai
2005-01-31 14:58     ` Marcel Holtmann
2005-01-31 15:30       ` administrator tootai
2005-01-31 15:55         ` Marcel Holtmann
2005-01-31 18:20           ` administrator tootai
2005-02-01 16:37     ` Sebastian Roth
2005-02-02 13:20       ` administrator tootai [this message]
2005-02-02 16:21         ` Sebastian Roth
2005-02-02 16:55           ` administrator tootai
2005-02-03 14:13             ` Sebastian Roth
2005-02-03 21:39               ` administrator tootai
2005-02-04  7:38                 ` Sebastian Roth
2005-02-04 12:25                   ` administrator tootai
2005-02-03 17:06           ` administrator tootai

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=4200D3B6.1050708@tootai.net \
    --to=admin@tootai.net \
    --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