Pascal Hibon wrote:
> I'm looking forward to CSOS F20 to give this another try. The Bluez BT
> stack on CSOS F19 is hopelessly outdated (that version is even no longer
> supported by Bluez).
> The CSOS F20 image should contain up to date BT Bluez package and maybe
> we'll have more luck with that.
I'd welcome any insights & help! I tried to get BT working on F20
Cubietruck image by installing bluedevil. It detects and claims to pair
the BT headset device (but the absence of any pairing signal on my
Logitech Boombox makes me think it didn't actually work ...). Beyond
that, I couldn't figure out any way to try to play as the audio player
in F20 seems broken.
The BT setup I got working on F18 is rather good - I use a script to get
it working via squeezelite, and the big plus is that it survives
power-cycling the bt speaker. The only snag is that I could never
figure out how to run the script on startup - so to use it, I have to
ssh to Fedora and manually run the script:
Code:
--------------------
#!/bin/bash
pid=0
address="10:B7:F6:00:46:40"
squeezelite_started=false
while (sleep 1)
do
if [[ $squeezelite_started == false ]] ; then
connected=$(hcitool con) > /dev/null
if [[ $connected =~ .*${address}.* ]] ; then
sleep 10
/usr/bin/squeezelite -m ab:cd:ef:12:34:57 -n FedoraBOOM -o BOOM -r 96000&
echo $! > /tmp/TEST_squeezelite.pid
squeezelite_started=true
echo $address connected started Squeezelite
fi
fi
if [[ $squeezelite_started == true ]] ; then
connected=$(hcitool con) > /dev/null
if [[ ! $connected =~ .*${address}.* ]] ; then
pid=$(cat /tmp/TEST_squeezelite.pid)
sleep 5
kill -9 $pid
rm /tmp/TEST_squeezelite.pid
squeezelite_started=false
echo $address disconnected stopped Squeezelite
fi
fi
done
--------------------
The squeezelite command is probably out-of-date as the whole setup is
frozen at around June 2013. It all works remarkably well despite not
having been updated for months.
Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Smart Radio
Raspberry Pi + Squeezeplug LMS + Squeezelite - Logitech Mini Boombox
speaker
Cubieboard + Fedora 18 + LMS 7.8 + Squeezelite - Soundwave SW100
bluetooth speaker
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers
------------------------------------------------------------------------
castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=101286
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix