public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: sreevani medhahal <sreevani.medhahal@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Disconnect eSCO link from Command line
Date: Sun, 01 Feb 2009 17:57:46 +0100	[thread overview]
Message-ID: <1233507467.4809.9.camel@californication> (raw)
In-Reply-To: <c2a31c480901300418m39d18545m80d7203d6404c0ef@mail.gmail.com>

Hi Sreevani,

> >>> >>   After the headset has created the eSCO link. The Profile Tuning
> >>> >> Suite asks for Closing the Audio Connection from AG. Is there any
> >>> >> command line utiility to disable the eSCO link & not the service level
> >>> >> connection(ACL).[The eSCO link is visible on giving hcitool con ]
> >>> >
> >>> > You can do that by calling the Stop D-Bus method call on the
> >>> > org.bluez.Headset interface of the corresponding device object. You can
> >>> > e.g. use the test/test-telephony python script for this:
> >>> > ./test-telephony stop <remote address>
> >>> >
> >>> The above method does not close the eSCO link ,because the
> >>> sco_connect_cb has reported connection timed out. but the hcitool con
> >>> still lists the eSCO link.
> >>> I have another query bluez4.2x is compatible with which linux kernel
> >>> version. does it have any strict requirement that it works best only
> >>> if the kernel version is >= 2.6.27 .
> >>
> >> You might want to try Marcel's bluetooth-testing tree. I think that
> >> issue might be fixed by the following patch:
> >> http://git.kernel.org/?p=linux/kernel/git/holtmann/bluetooth-testing.git;a=commitdiff;h=d7461bfbd48bb76a1126a4f05bb16e4bb0187d31
> >
> > i cannot use the above git tree as i am on ubuntu hardy with kernel
> > 2.6.24-19. Is there a repository of bluetooth kernel patches for
> > version 2.6.24 . So that i can if any higher versions work for me...I
> > am not allowed to use higher kernel versions due to other driver
> > dependancy in 2.6.24.
> 
> one hack in the net/bluetooth/sco.c by disabling esco on AG ,passes
> the PTS tests & the sco_connect does not report connection timed out ,
> & now i can use the test-telephony stop to close the sco connection to
> the headset.

or you could just upgrade the kernel. We did fix the eSCO issues now and
tests with PTS confirmed that.

Regards

Marcel



  reply	other threads:[~2009-02-01 16:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28  5:16 Disconnect eSCO link from Command line sreevani medhahal
2009-01-28  5:39 ` Marcel Holtmann
2009-01-28  9:37   ` sreevani medhahal
2009-01-28  9:57     ` Marcel Holtmann
2009-01-28  8:23 ` Johan Hedberg
2009-01-28  9:42   ` sreevani medhahal
2009-01-28 11:25     ` Johan Hedberg
2009-01-30  9:57       ` sreevani medhahal
2009-01-30 12:18         ` sreevani medhahal
2009-02-01 16:57           ` Marcel Holtmann [this message]
2009-02-01 16:56         ` Marcel Holtmann
2009-02-03  6:04           ` sreevani medhahal

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=1233507467.4809.9.camel@californication \
    --to=marcel@holtmann.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=sreevani.medhahal@gmail.com \
    /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