Gentoo Archives: gentoo-user

From: "W.Kenworthy" <billk@×××××××××.au>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] bluetooth headset and espeak
Date: Sun, 23 May 2010 12:21:29
Message-Id: 1274617255.14665.65.camel@bunyip.localdomain
1 I have set up sound to a jabra halo bluetooth headset and it works using
2 "mplayer -ao alsa:device=bluetooth soundfile". This works fine for apps
3 like mplayer which can specify the right output device.
4
5 However, I want to use espeak (in a console) to play back text files -
6 its a good method to check grammar - but I cant get it working? It
7 works out of the box on a nokia n900, but I cant figure out how to get
8 gentoo (gnome desktop) to do it. espeak doesnt support specifying a
9 sound device that I can see - it uses portaudio which is supposed to
10 work with alsa bluetooth but how?
11
12 It looks like bluez is continually changing so most of the guides Ive
13 found dont apply - I am using bluez-4.39. alsamixer etc dont list the
14 bluetooth device and I cant see it in /proc/asound, but its obviously
15 there if mplayer can access it!
16
17 BillK
18
19
20 bunyip linux # hciconfig -a
21 hci0: Type: USB
22 BD Address: 00:02:C7:E5:A1:65 ACL MTU: 384:8 SCO MTU: 64:8
23 UP RUNNING PSCAN ISCAN
24 RX bytes:199720 acl:43 sco:0 events:28229 errors:0
25 TX bytes:23638521 acl:82313 sco:0 commands:59 errors:0
26 Features: 0xff 0xff 0x8b 0xfe 0x9b 0xf9 0x00 0x80
27 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
28 Link policy: RSWITCH HOLD SNIFF PARK
29 Link mode: SLAVE ACCEPT
30 Name: 'bunyip-0'
31 Class: 0x4a210c
32 Service Classes: Networking, Capturing, Telephony
33 Device Class: Computer, Laptop
34 HCI Ver: 2.0 (0x3) HCI Rev: 0x77b LMP Ver: 2.0 (0x3) LMP Subver: 0x77b
35 Manufacturer: Cambridge Silicon Radio (10)
36
37 bunyip linux # hciconfig hci0 revision
38 hci0: Type: USB
39 BD Address: 00:02:C7:E5:A1:65 ACL MTU: 384:8 SCO MTU: 64:8
40 HCI 19.2
41 Chip version: BlueCore4-External
42 Max key size: 56 bit
43 SCO mapping: HCI

Replies

Subject Author
[gentoo-user] Re: bluetooth headset and espeak walt <w41ter@×××××.com>
Re: [gentoo-user] bluetooth headset and espeak "Canek Peláez Valdés" <caneko@×××××.com>