From: Thomas Kear <thomas.kear@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] SCO headset/headsetd issue
Date: Thu, 15 Feb 2007 18:15:25 +1300 [thread overview]
Message-ID: <200702151815.29078.thomas.kear@gmail.com> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 2091 bytes --]
I can't get my headset (Sony Ericsson HBH-IV835) to work with headsetd.
Installed libsbc/plugz from svn using instructions here:
http://bluetooth-alsa.sourceforge.net/build.html (I wrote ebuilds to check
out and compile the two apps so I had a record of the files installed but
otherwise the process was identical, have attached these just in case).
Rest of my system:
gentoo/amd64 2006.1
bluez 3.9
kernel 2.6.20-gentoo
CSR USB Bluetooth 1.2 dongle
This setup used to work with btsco, but the kernel module for it won't compile
on 2.6.20. Devices are definately paired, service discovery is working, etc.
~/.asoundrc:
pcm.headset {
@args [BDADDR TIMEOUT]
@args.BDADDR {
type string
}
@args.TIMEOUT {
type integer
default 6000
}
type sco
bdaddr 00:18:13:7e:bc:7a
timeout $TIMEOUT
}
ctl.headset {
type sco
}
Results when trying to play audio through headset
$ mplayer -ao alsa:device=headset $random_video_file
MPlayer 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
[...]
alsa-init: playback open error: Connection timed out
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
(video plays at this point, with no audio)
$ headsetd -n
headsetd[3540]: Bluetooth headset daemon version 0.5
headsetd[3540]: Configuration phase ended: target bdaddr is
00:18:13:7E:BC:7A, timeout is 6000 ms
headsetd[3540]: Changing state: Idle-->Paging
headsetd[3540]: Changing state: Paging-->Connecting
headsetd[3540]: Changing state: Connecting-->Ready
headsetd[3540]: Changing state: Ready-->Opening
headsetd[3540]: unable to open SCO channel to headset: Connection timed out
headsetd[3540]: Changing state: Opening-->ZombieAppl
headsetd[3540]: Appli closed socket
headsetd[3540]: Changing state: ZombieAppl-->Idle
I have reset my headset, deleted the contents of /var/lib/bluetooth on the pc,
re-paired continuosly, but get the same result each time.
What have I overlooked?
[-- Attachment #1.1.2: plugz-9999.ebuild --]
[-- Type: text/plain, Size: 980 bytes --]
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-9999.ebuild,v 1.7 2007/01/28 11:50:58 hanno Exp $
inherit alternatives cvs eutils fdo-mime flag-o-matic
ECVS_SERVER="bluetooth-alsa.cvs.sourceforge.net:/cvsroot/bluetooth-alsa"
ECVS_MODULE="plugz"
ECVS_AUTH="pserver"
ECVS_USER="anonymous"
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Bluetooth headset userspace utilities"
HOMEPAGE="http://bluetooth-alsa.sourceforge.net"
SRC_URI=""
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64"
DEPEND="media-libs/alsa-lib
media-sound/alsa-headers
sys-apps/dbus
>=net-wireless/bluez-libs-3.5
dev-libs/dbus-glib"
src_compile() {
libtoolize --copy --force
./bootstrap
./configure --prefix=/usr --sysconfdir=/etc
emake || die "emake failed"
}
src_install() {
make install DESTDIR=${D}
insinto /usr/share/${P}
doins alsa-plugins/a2dpd/sample.a2dprc alsa-plugins/asound.conf
}
[-- Attachment #1.1.3: libsbc-9999.ebuild --]
[-- Type: text/plain, Size: 808 bytes --]
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-9999.ebuild,v 1.7 2007/01/28 11:50:58 hanno Exp $
inherit alternatives cvs eutils fdo-mime flag-o-matic
ECVS_SERVER="sbc.cvs.sourceforge.net:/cvsroot/sbc"
ECVS_MODULE="sbc"
ECVS_AUTH="pserver"
ECVS_USER="anonymous"
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Bluetooth low-complexity subband codec"
HOMEPAGE="http://sbc.sourceforge.net"
SRC_URI=""
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64"
DEPEND="media-libs/alsa-lib
media-sound/alsa-headers
sys-apps/dbus
>=net-wireless/bluez-libs-3.5
dev-libs/dbus-glib"
src_compile() {
./bootstrap-configure --prefix=/usr
emake || die "emake failed"
}
src_install() {
make install DESTDIR=${D}
}
[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
reply other threads:[~2007-02-15 5:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200702151815.29078.thomas.kear@gmail.com \
--to=thomas.kear@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.