public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "sreevani medhahal" <sreevani.medhahal@gmail.com>
To: "Luiz Augusto von Dentz" <luiz.dentz@gmail.com>,
	linux-bluetooth@vger.kernel.org
Cc: "Stuart Pook" <linux-bluetooth4@pook.es>
Subject: Re: bluez-4.22 + twinkle -> Unable to lock headset
Date: Tue, 9 Dec 2008 17:53:56 +0530	[thread overview]
Message-ID: <c2a31c480812090423o66229619ob7f7848d04106938@mail.gmail.com> (raw)
In-Reply-To: <2d5a2c100812081042v2b9f4688h3dafd6947a55ea5c@mail.gmail.com>

Hi,
 I too face the similar issue with Skype. Is there any workaround to
sort this issue.
contents of asoundrc:
Headset used Planetronics:P590
pcm.bluetooth {
        type bluetooth
        device 00:19:7F:22:B7:8A
        profile "voice"
}

version of Bluez used:4.17
kernel:2.6.27

Snippet of the /var/log/messages
Dec  9 14:34:07 training01 bluetoothd[15235]: Accepted new client
connection on unix socket (fd=25)
Dec  9 14:34:07 training01 bluetoothd[15235]: Audio API: received
BT_GETCAPABILITIES_REQ
Dec  9 14:34:07 training01 bluetoothd[15235]: Audio API: sending
BT_GETCAPABILITIES_RSP
Dec  9 14:34:07 training01 bluetoothd[15235]: Unix client disconnected (fd=25)
Dec  9 14:34:07 training01 bluetoothd[15235]: Accepted new client
connection on unix socket (fd=25)
Dec  9 14:34:07 training01 bluetoothd[15235]: Audio API: received
BT_GETCAPABILITIES_REQ
Dec  9 14:34:07 training01 bluetoothd[15235]: Audio API: sending
BT_GETCAPABILITIES_RSP
Dec  9 14:34:07 training01 bluetoothd[15235]: Audio API: received
BT_SETCONFIGURATION_REQ
Dec  9 14:34:07 training01 bluetoothd[15235]: config sco - device =
00:19:7F:22:B7:8A access_mode = 2
Dec  9 14:34:07 training01 bluetoothd[15235]: State changed
/org/bluez/hci0/dev_00_19_7F_22_B7_8A: HEADSET_STATE_CONNECTED ->
HEADSET_STATE_PLAY_IN_PROGRESS
Dec  9 14:34:47 training01 bluetoothd[15235]: connect(): Connection
timed out (110)
Dec  9 14:34:47 training01 bluetoothd[15235]: Unable to lock headset
Dec  9 14:34:47 training01 bluetoothd[15235]: config failed
Dec  9 14:34:47 training01 bluetoothd[15235]: Audio API: sending
BT_SETCONFIGURATION_RSP

Regards,
Sreevani M
On Tue, Dec 9, 2008 at 12:12 AM, Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
> You basically already answer your question, if arecord -D JX10 -f
> S16_LE | aplay -D JX10 -f S16_LE does work, twinkle should work too.
> The problem seems to be that twinkle leaves the connection open and
> attempt to acquire the lock again and again, this is probably a bad
> use of alsa API by twinkle as snd_pcm_prepare should not be called
> more than once.
>
> --
> Luiz Augusto von Dentz
> Engenheiro de Computação
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

  reply	other threads:[~2008-12-09 12:23 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-30 21:03 bluez-4.9 + 2.6.27-rc8 + SCO headset -> bluetoothd: connect: Operation not permitted Stuart Pook
2008-09-30 23:26 ` David Sainty
2008-10-01 17:30   ` Stuart Pook
2008-10-04  3:47     ` Luiz Augusto von Dentz
2008-10-04 11:25       ` Stuart Pook
2008-10-04 11:51         ` Marcel Holtmann
2008-10-04 23:24           ` bluez-4.11 + 2.6.27-rc8 + SCO headset -> bluetoothd: connect(): Connection timed out (110) Stuart Pook
2008-10-05 17:50             ` Johan Hedberg
2008-10-05 19:17               ` Stuart Pook
2008-10-05 20:07               ` bluez-4.11 + 2.6.27-rc8 + SCO headset -> Invalid read of size 4 Stuart Pook
2008-10-06  8:47                 ` Johan Hedberg
2008-10-06 10:52                   ` Johan Hedberg
2008-10-06 18:38                     ` Stuart Pook
2008-10-06 19:56                     ` Stuart Pook
2008-10-06 20:31                       ` Johan Hedberg
2008-10-06 20:56                         ` bluez/git + 2.6.27-rc8 + SCO headset -> SIGSEGV Stuart Pook
2008-10-06 21:03                           ` Marcel Holtmann
2008-10-06 21:10                             ` Stuart Pook
2008-10-06 21:21                               ` Marcel Holtmann
2008-10-06 22:40                                 ` bluez/git + 2.6.27-rc8 + bluetoothd " Stuart Pook
2008-10-07  5:34                                   ` Johan Hedberg
2008-12-06 12:15                                     ` bluez-4.22 + twinkle -> Unable to lock headset Stuart Pook
2008-12-08 18:42                                       ` Luiz Augusto von Dentz
2008-12-09 12:23                                         ` sreevani medhahal [this message]
2008-10-06 20:39                   ` bluez/git + 2.6.27-rc8 + Belkin F8T017 -> Can't read class of adapter Stuart Pook
2008-10-06 20:45                     ` Marcel Holtmann
2008-10-06 21:55                       ` Stuart Pook
2008-10-06 22:38                         ` Marcel Holtmann
2008-10-06 23:17                           ` bluez/git + 2.6.27-rc8 + Belkin F8T017 -> works with reset=1 Stuart Pook

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=c2a31c480812090423o66229619ob7f7848d04106938@mail.gmail.com \
    --to=sreevani.medhahal@gmail.com \
    --cc=linux-bluetooth4@pook.es \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@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