Archphile 0.99.2 Beta for the Raspberry Pi B and B+ (I2S bugfix release)

Hi all,

Archphile 0.99.2 Beta is up. It came too quickly after 0.99.1 only to fix issues with I2S dacs and 24/96 and 24/192. Some of the symptoms were:

– distorted or “fast forward” sound in 24/96 playback
– no or distorted 24/192 playback

 With this release all issues with 24/96 and 24/192 files and I2s Dacs are fixed.

If you have already downloaded 0.99.1 beta and you don’t want to download again, in this forum thread  I give all instructions to update from 0.99.1  to 0.99.2.

Changelog

Download

Note: If you use an i2s Dac, do not use rpi-update or pacman -Syu to update system. It will break 24 bit playback.

Ps. A big thanks to Marcel  and DimDim for their bug reports and to Vasilis-T who gave me his (in beta stage) I2s Dac (Mamboberry) to do my tests and be able to bugfix!

 

Archphile 0.99.1 Beta for Cubox-i

Hi all,

0.99.1 Beta for Cubox-i is up!

– upnp/dlna (upmpdcli)
– Airport/Aiplay support (shairport)
Ympd 1.2.3 and MPD 0.19.1

 

Changelog

Download 

Configuration Guides   

NEW upnp/dlna and airplay/shairport guide

 

Note for wifi use: When wifi is enabled, it’s still impossible to get a console over ssh. For this reason until a solution is found, users who want to use cubox-i with wifi must enable and use telnet. This is very easy.

After configuring wifi with netctl and BEFORE rebooting you have to give one extra command:

systemctl enable xinetd

After reboot you will be able to access Archphile from a terminal using:

telnet xxx.xxx.xxx.xxx

or with putty from windows choosing telnet option

Archphile 0.99.1 Beta for Udoo Quad

Hi all,

0.99.1 Beta for Udoo Quad is up!

– upnp/dlna (upmpdcli)
– Airport/Aiplay support (shairport)
Ympd 1.2.3 and MPD 0.19.1

 

Changelog

Download 

Configuration Guides   

NEW upnp/dlna and airplay/shairport guide

 

Guide for Udoo Dual users: Although Udoo Dual is not officially supported, you can install Archphile on it. You will need to do the following procedure (being root or with sudo) from a Linux machine, replacing X with the number of your sd card:

wget http://archlinuxarm.org/os/imx6/boot/udoo/u-boot-dual.imx
dd if=u-boot-dual.imx of=/dev/sdX bs=512 seek=2
sync

 

Note: The entries of Archphile Repositories were written twice in pacman.conf by mistake. That doesn’t affect anything and it’s of zero importance. In any case if you want to change it:

wget http://archphile.org/lab/misc/pacman.conf
mv pacman.conf /etc/pacman.conf

Archphile and i2s Dacs

One of the most interesting features of the Raspberry Pi is that it gives us the option to connect our Dacs directly using I2S.  This is really important because this way we avoid one extra step (USB to I2S) during music reproduction. Since the beginning of Archphile I focused on USB dacs for 2 reasons:

– Most of us have a USB Dac

– I don’t have a Dac that gives me the I2S option

At the moment I feel that Archphile/USB is very stable and it’s time to see what the I2S can give us in terms of sound quality. I have created some quick notes here:

http://archphile.org/lab/i2s/  (edit: you can read the new guide here)

When I will be able to perform some tests and get feedback I will add an official guide in this website but the above link is a good beginning.

Unfortunately all you will find there is just theory. I give you all the steps needed to modify 0.99 Beta and start playing around with I2s Dacs. Unfortunately I do not own any of them and I cannot test, so your feedback is really important!

 

Ps. Most of the steps needed for 0.99 Beta will be included in next image.

 

 

Dropped support of mpd-archphile-ffmpeg

Hi all,

When I first started Archphile, one of the first steps was to create a special mpd package (mpd-archphile) with some modifications comparing to standard mpd package. One of the differences was the removal of ffmpeg support. That means that without ffmpeg you will not have support for various file extensions.

After some months I created a second package named mpd-archphile-ffmpeg in order to cover some users needing a lighter mpd but with ffmpeg support.

The reason I am writing this post is to announce that I will not be able to continue supporting this package for many reasons. The most important is that it needs rebuilding various times (when other packages get updated) so that it’s functional whenever you decide to install it and I do not have the time for this.

Last but not least, Archphile is an audiophile distribution and it will always focus on flac and wav (in default mpd-archphile package there is also support for various other file types as mp3, ogg, dsf etc..).

All of you that used mpd-archphile-ffmpeg until today or may need ffmpeg support in the future, please use this guide to install mpd package from ArchlinuxARM repositories:

http://archphile.org/howto/mpd-configuration

 

New (rebuilt) MPD packages

Hi all,

I uploaded 0.18.16-2 packages for mpd-archphile and mpd-archphile-ffmpeg. It’s a rebuilt of existing version with two changes:

– niceness is set to -16

– changes in MPD systemd configuration files

 

The update procedure is a little bit more tricky this time:

mkdir /etc/systemd/system/mpd.service.d
wget http://archphile.org/lab/files/user.conf
mv user.conf /etc/systemd/system/mpd.service.d/
pacman -Sy mpd-archphile
systemctl daemon-reload
systemctl restart mpd

 

If you use mpd-archphile-ffmpeg then 4th line needs to change to pacman -Sy mpd-archphile-ffmpeg ffmpeg.

 

If you don’t follow the procedure above, you will not be able to use mpd after this update. All these changes will be included in next beta for all devices.

MPD 0.18.16 for Udoo and Cubox

Hi all,

MPD 0.18.16 for Udoo and Cubox is up. Please follow the instructions below if you want to update:

– Udoo

pacman -Sy mpd-archphile
mv /etc/mpd.conf.pacnew /etc/mpd.conf
systemctl reenable mpd
systemctl restart mpd

 

– Cubox

pacman -Sy mpd-archphile
rm /etc/mpd.conf.pacnew
wget http://archphile.org/lab/files/mpd.conf-cubox
mv mpd.conf-cubox /etc/mpd.conf
systemctl reenable mpd
systemctl restart mpd

 

Notes:

– If you have modified the existing mpd.conf, please back it up (mv /etc/mpd.conf /etc.mpd.conf.backup) before following the procedure above!

– If you use mpd-archphile-ffmpeg, please replace mpd-archphile above with it. Cubox users please also replace mpd.conf-cubox with mpd.conf-ffmpeg-cubox.

Bash Code Injection Vulnerability (CVE-2014-6271) and a simple way to fix it in Archphile

Hi all,

I am posting in order to inform you that you must update bash package in order to avoid a recent security issue of bash. For more information, please read here.

According to the article above:

————————————

Diagnostic Steps

To test if your version of Bash is vulnerable to this issue, run the following command:

$ env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

If the output of the above command looks as follows:

vulnerable this is a test

you are using a vulnerable version of Bash. The patch used to fix this issue ensures that no code is allowed after the end of a Bash function. Thus, if you run the above example with the patched version of Bash, you should get an output similar to:

$ env x='() { :;}; echo vulnerable' bash -c "echo this is a test" bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test

————————————

A first patch is already included in latest package and you will have to do the following:

1. login via ssh
2. pacman -Syy bash

 

EDIT – 26/09/2014

There is a newer package available so all users that did this procedure yesterday will need to repeat it in order to get bash-4.3.026-1.