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