public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "W.Kenworthy" <billk@iinet.net.au>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] bluetooth headset and espeak
Date: Sun, 23 May 2010 20:20:55 +0800	[thread overview]
Message-ID: <1274617255.14665.65.camel@bunyip.localdomain> (raw)

I have set up sound to a jabra halo bluetooth headset and it works using
"mplayer -ao alsa:device=bluetooth soundfile". This works fine for apps
like mplayer which can specify the right output device. 

However, I want to use espeak (in a console) to play back text files -
its a good method to check grammar - but I cant get it working?  It
works out of the box on a nokia n900, but I cant figure out how to get
gentoo (gnome desktop) to do it.  espeak doesnt support specifying a
sound device that I can see - it uses portaudio which is supposed to
work with alsa bluetooth but how?

It looks like bluez is continually changing so most of the guides Ive
found dont apply - I am using bluez-4.39.  alsamixer etc dont list the
bluetooth device and I cant see it in /proc/asound, but its obviously
there if mplayer can access it!

BillK


bunyip linux # hciconfig -a
hci0:	Type: USB
	BD Address: 00:02:C7:E5:A1:65 ACL MTU: 384:8 SCO MTU: 64:8
	UP RUNNING PSCAN ISCAN 
	RX bytes:199720 acl:43 sco:0 events:28229 errors:0
	TX bytes:23638521 acl:82313 sco:0 commands:59 errors:0
	Features: 0xff 0xff 0x8b 0xfe 0x9b 0xf9 0x00 0x80
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT 
	Name: 'bunyip-0'
	Class: 0x4a210c
	Service Classes: Networking, Capturing, Telephony
	Device Class: Computer, Laptop
	HCI Ver: 2.0 (0x3) HCI Rev: 0x77b LMP Ver: 2.0 (0x3) LMP Subver: 0x77b
	Manufacturer: Cambridge Silicon Radio (10)

bunyip linux # hciconfig hci0 revision
hci0:	Type: USB
	BD Address: 00:02:C7:E5:A1:65 ACL MTU: 384:8 SCO MTU: 64:8
	HCI 19.2
	Chip version: BlueCore4-External
	Max key size: 56 bit
	SCO mapping:  HCI




             reply	other threads:[~2010-05-23 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-23 12:20 W.Kenworthy [this message]
2010-05-23 17:15 ` [gentoo-user] Re: bluetooth headset and espeak walt
2010-05-23 18:27 ` [gentoo-user] " Canek Peláez Valdés
2010-05-24  5:13   ` Bill Kenworthy

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=1274617255.14665.65.camel@bunyip.localdomain \
    --to=billk@iinet.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /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