1. BBB + Volumio – Debian updated to Jessie, MPD git 0.19.2
2. I2SoverUSB
3. Bufallo III – stereo config
Power source
1. DAC – Placid HD
2. line stage – Placid HD bipolar
3. BBB – linear power supply 5V
Case
1. BBB + Volumio – Debian updated to Jessie, MPD git 0.19.2
2. I2SoverUSB
3. Bufallo III – stereo config
Power source
1. DAC – Placid HD
2. line stage – Placid HD bipolar
3. BBB – linear power supply 5V
Case
install latest volumio release
1. update to jessie
# cp /etc/apt/sources.list{,.bak}
# sed -i -e 's/ \(stable\|wheezy\)/ testing/ig' /etc/apt/sources.list
# apt-get update
# apt-get --download-only dist-upgrade
# apt-get dist-upgrade
2. update to latest kernel – am33x-v3.17 – best use a virtual machine to save time
http://www.eewiki.net/display/linuxonarm/BeagleBone+Black
3. compile mpd from git
http://mpd.wikia.com/wiki/Repositories
http://mpd.wikia.com/wiki/BuildingMPD
4. install missing libraries
apt-get install smbclient libnfs4 libicu52
5. rename old mpd and create symlink to the new one
6. change vim /lib/systemd/system/mpd.service with actual conf path
7. HWCLOCKACCESS=no
vim /etc/default/hwclock
8. monitor – disable?
9. set cpu frequency
cp /usr/share/doc/cpufrequtils/examples/cpufrequtils.sample /etc/default/cpufrequtils
governor performance
10. install i2c
apt-get install i2c-tools
apt-get install python-smbus
i2cdetect -r 2 – check device (48)
edit
/etc/sysctl.conf
and add to the end of the file
vm.min_free_kbytes=25000
verify
sysctl -a | grep vm.min_free_kbytes
Dupa aproape 4 luni de asteptare a sosit
imagine
1. Set-up a mpd server – http://imx.solid-run.com/forums/viewtopic.php?f=8&t=787
a. To optimize the system, you can also replace NTPd with ntpdate. This one is said deprecated by ARchLinux but fully functionnal. It avoid continuous requests done by NTPd which are mosts of the time uneeded for an audio streamer. The main idea here is removing NTPd, installing ntpdate and using a cron job once a day to update the real time clock.
de scos din rc si pus in cron o data la 2 ore
systemctl disable ntpd
crontab -e
0 * * * * /usr/sbin/ntpd -qg
2. [root@alarmcbi ~]# mount /media/music/
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
De vazut de ce nu merge cu cifs
3. Static IP Address – Optional – pt varianta finala
aici este “/usr/bin/ntpd -gq || true”
4. modify /etc/hostname
5. update mpd-conf
6. check alsa samplerate daca merge cu Sox
Pt ca brutefir ramane “agatat”, mpd-ul se blocheaza.
Cheap and dirty trick:
1. script pt kill zombie process (nu imi aduc aminte de unde l-am luat)
ps -eo pid,ppid,state,user,comm | awk 'BEGIN { count=0 } $3 ~ /Z/ { count++; system ("kill -9 " $2) } END { print "\n" count " Zombie(s) were slayed" }'
2. adaptat pt rc.local de aici https://coderwall.com/p/x0fqmw
#!/bin/bash
#This script run every 1 seconds
while (sleep 5 && ps -eo pid,ppid,state,user,comm | awk 'BEGIN { count=0 } $3 ~ /Z/ { count++; system ("kill -9 " $2) } END { }' ) &
do
wait $!
done
3. adauga script in /etc/rc.local
Recent Comments