I’ve got it connected to the My Cloud audio speakers and play music through it.
After several days of research got to do with our NASa “mp3 player”. Sound on its attached usb-sound card appeared. I had to compile the kernel modules that are responsible for the sound.
To compile the kernel modules I downloaded the firmware source from
There is a file in the firmware \packages\kernel_18.104.22.168\wd\README
And there is described how to compile the kernel and modules.
The only reference to the compiler was not working, I downloaded it from here: https://launchpadlibrarian.net/129960680/gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux.tar.bz2
All I have done in Ubuntu 12.04 x86. In the 64-bit version may need to install 32 bit modules:
apt-get install ia32-libs
Configuring the kernel, I check all the items in section: Device Driver\Sound card support
Compiled and got a folder with sound *. ko files.
Here is an archive of pre-compiled kernel modules required:
These modules are compiled from source 156 firmware, but it seems to me that they will work with later firmware (checked on 165 firmware - works).
Need to put the folder sound in /lib/modules/3.2.26/kernel on our NAS.
Necessary to add to the file /lib/modules/3.2.26/modules.dep strings:
Then run the command:
If no errors pop up, everything is OK.
See which modules are loaded with the command:
What would sound modules automatically loaded at startup NAS, in file /etc/modules appends:
Now, install apt, responsible for working with sound.
apt-get install alsa
Connect your usb-audio card (I have Sound Blaster Play!) and enter:
This should display up your sound card.
Put name.wav file folder Public.
If from the speakers connected to the usb-audio card will hear our record means you’re done.
If you throw a message:
ALSA lib confmisc.c:768 :(parse_card) cannot find card ‘0’
then in the file /etc/modprobe.d/alsa-base.conf edit line
options snd-usb-audio index=-2
options snd-usb-audio index=0
In general I suggest to change to the index=0 in any case, since otherwise it may stop working later.
Restarting the NAS.
Now you can install any console audio player and enjoy the most capacious mp3-player.
I recommend to install a network player mpd
apt-get install mpd
If you install player mpd, you can help to uncomment in the file /etc/mpd.conf line:
This will adjust the volume.
What would mpd server will be available on the network parameter change:
And chenge parameter to folder available on the network:
In this folder, you must upload music.
Then we need to reload mpd:
Control playback on the network can use the program Сantata.
p.s. The disadvantage is that when you start to copy files over the network to the device, the music starts to stutter a bit, how to fix it - I have not found.
© agran - BTC: 1agran1xQ4Nwiqv1qegBDF6kqZdfESMUG