by pepedog » Thu May 05, 2011 1:09 pm
I got this working, don't remember now packages, think it was
pacman -S bluez-firmware bluez python-pybluez
Might also have been
yaourt -S bluez-tools
[root@PBLinux ~]# hciconfig -a hci0 up
[root@PBLinux ~]# hcitool scan # which gave me the mac of audio, which was in pair mode
[root@PBLinux ~]# bluez-simple-agent hci0 00:16:8D:01:63:B2 # was asked for pin
My /etc/asound.conf
$this->bbcode_second_pass_code('', 'pcm.!default {
type plug
slave.pcm "bluetooth"
}
ctl.mixer0 {
type hw
card 0
}
pcm.bluetooth {
type bluetooth
device "00:16:8D:01:63:B2"
profile "auto"
}')
Got a 44100 wav sample
$this->bbcode_second_pass_code('', 'wget http://freewavesamples.com/files/Roland-GR-1-Pick-Bass-2-C4.wav')
And played it
$this->bbcode_second_pass_code('', '[root@PBLinux ~]# aplay -Dplug:bluetooth Roland-GR-1-Pick-Bass-2-C4.wav
aplay Roland-GR-1-Pick-Bass-2-C4.wav #also seems to work as default device
')
Even shairport is streaming from iTunes, the out thru dockstar bluetooth, works without a skip