*  Nanopi Neo2 for Sound source
ssl

Nanopi-neo2 SPDIF Dietpi Music Server DIY


There is a problem with mpd alsa due to a bug in python3~.
In the case of mpd, there are problems such as not being able to compile or no sound due to problems with alsa. 2023.Sep


Flag Counter

Your Browzer and +OS is

Your OS of PC is
show and indicates X11 U,Linux,BSD if see those/you are using BSD/Linux/Unix family
Smart phone are Linux or BSD UNIX


Japanese to Engish translated by Google Translate has been converted to English. Please understand that the English text is not a complete translation.


Problem by Pyhton 3.11 does not get sound because alsa using python 2.7


As of October 2023, due to a python problem, there is a possibility that the sound will not be output when updating embedded Linux devices. It uses alsa which is developed in python 2.7.
That's why there is a problem. Also, I cannot compile mpd properly. The impact of Python 3.11 has been felt in a fairly wide range of areas. It probably worked with a patch up to Python 3.9.
Python error. Programmers are just idiots who don't think ahead when developing applications. It's egoism. A few months ago I got an error while compiling
A fatal error has occurred. I can't install Ninja. Ninja uses Python. Many applications use Python. alsa also requires python3.11 or higher
The time has come to build. alsa phthon 2.7 version is no longer usable. I'm sorry.



It is very important to add SWAP


One-board PCs do not have a built-in SWAP area, at least in the case of Armbian, so errors may occur during compilation due to the absence of this SWAP area. There is
. In the early compilations of mpd, the application occupied only a small amount of memory, so there is no need to worry, but in the latest compilations of MPD, the application may freeze or
It stops with an error. Errors can be avoided by using the information obtained to save SWAP space. It took half a day to compile.
The compilation will be completed in just a few hours. There are no errors at all. So, we will make money in the SWAP area. external site
There is, so I will link it. I've also saved it so it doesn't get lost. I think this will reduce compilation errors and hurdles.
Compilation speed is several tens or even 100 times faster. Compilation that used to take half a day is now completed in a few hours.

 

hint


🇯🇵Dietpi-Nanopi-Neo2-Music Server Japanese

mpd




cat

If you are using IPV6 and you can not get sound please add bind_to_address "0.0.0.0" at mpd.conf

real size of Nanopi


heat sink



Be sure to purchase a heat sink when purchasing. Cannot be used alone

Real Size of Nanopi-Neo2 Cheap and beautiful board construction 40 mm x 40 mm

Since there is no suitable OS, please try only those who can use U-Boot and those who know how to operate Linux that can use Armbian and Dietpi.
Dietpi Music Server


allemande 2A3

Allemande 2A3 Single-Ended Amplifier



     

Audio Line is just this, Nanopi-Neo2 and self-made DAC only. DACs are DIY made and commercially available SPDIF input DACs, and there are products from about $ 20 to several hundred dollars.
Connect an amplifier to the output of that DAC.
If you do the same thing with Raspberry pi, you will need an SPDIF conversion board. Place a board called a hat on the Raspberry pi.




I will explain below.
Be sure to attach the heat sink. Purchase a dedicated heat sink (400 yen) at the store where you purchased the Nano. Install the heat sink before connecting the power supply, and then boot.
By the way, Boots has the same meaning and writing style as boots. As mentioned on the purchase site, Nanopi's pi is python's Pi (pi-py). Compatibility between Nanopi-Neo and Neo2
No, it means that the CPU is different. In other words, Neo is 32bit (H3) and Neo2 is 64bit (H5). It seems that it can be used for anything. With ssh you don't need a monitor.
In the case of this OS, if you reboot, # reboot will not reboot and the power will be turned off. It was OK with # shutdown -r now.
# shutdown -h now will turn off the power. At first I installed debian, but there was nothing wrong with it, but I don't know the repository and I can't install mpd.
I can't help but boot to Ubuntu, but when I look at the file name, the suffix is ​​Neo. I didn't understand this, and when I looked closely after half a day, it was for Neo.
You can install anything on x86 etc., but was it about 10 years ago that you separated for 32-bit and 64-bit? In other words, this Neo is also available for 32-bit and 64-bit.
Get the 64-bit version from the link.
Before I bought it, I had a lot of trouble, I don't have an HDMI terminal. It's just an ARM board with a LAN port. I got used to SSH from my experience with Raspberry Pi, so
I didn't have a big problem, but it was my impression of using it. Since the AC adapter is 1A or less, it is OK with the power supply of the smartphone, the main unit price is 2600 yen (Akizuki) There is a LAN,
If you have a host PC, you can experiment. LAN cables are also available at 100%, so the most expensive parts are DAC and micro SD? Experiment with a total system of about 6000 yen
It is possible. What does the OS use? Use Dietpi or Armbian. Please go to each site and download the OS for Nanopi-Neo2.

Raspberrypi or Nanopineo2 is required to create a music server. Nanopineo2 or Pine64 is required for SPDIF output. If you can, please use Nanopi-Neo2 or Pine64.
OS is each version of Dietpi and Armbian. In the case of Raspberry pi, it will be Raspbian, each OS. For MPD, get the source of each version of MPD. If you can access with SSH
Right-click with the mouse Copy the URL of the source and # wget then drag URL it to the specified location. Please decide a specific place for the place. After that,
decompress and compile the source, but each user needs to compile the library.
Please install by yourself. The basic names of the libraries are listed on this site, but if you get an error during compilation you will need to manually install the missing libraries.
In some cases, you may have to compile the source and install the library. Most libraries can be installed with the name # apt install library. Installation by all means
If you can't, you'll have to compile the source. All libraries may be installed by adding # apt install abcde * "*".

This one-board price is good, it's big, it consumes less power, and I think it's a very good one-board PC to learn Linux, but you need a main PC
Dietpi Music Server


OS down load


Armbian

Can not get buster Deitpi any more ,so please try to use Armbian or Dietpi-Buster copydietpi


Installation of Python and Ninja This time it will be Dietpi Bullseye


Note:please install c++ cmake and xz-utils before install ninja and meson.nanopi is arm7 so take time install ninja.
  I was able to do it well at first, but I brought the source and installed it, but due to the change in the compilation method, I made it possible to install Ubuntu (Debian) conveniently.
It was possible to install with apt-get. Both Python and pip can now be installed with apt-get install. Python is also installed by specifying the version.
Ninja etc. takes a lot of time to install, I remember that it was possible to install faster using git etc. meson and ninja are installed using pip,
I feel that it was faster to download and install the archive. So, it became as follows. It is difficult to install meson and it is difficult to understand English.
The developers are probably Latin people, and they can't explain enough English, and when I go to a Japanese site, they don't translate well from English to Japanese, so it's complicated. I want you to translate without using a translator.
I ended up using Bullseye. I think this is also an incomplete library. It may stabilize after about a year. Buster couldn't install meson 0.60 and I had no choice but to use Bullseeye.
Others Please also install wget git # apt-get install xz-utils. It is convenient to install vi or emacs. You can freely view and move files with emacs.

# apt install cifs-utils
# apt install avahi-daemon
# apt install cmake
# apt install git
# aot install xz-utils
# apt install wget
# apt install net-tools
# aot install apt-utils
# apt-get install python3-sphinx needs to be installed.
# apt-get install c ++
# pip installation
# apt-get install python3.9 #Bullseye is now 3.9
# apt install python3-pip # pip installation
# apt-get install libmpdclient2-dev if can not .. # apt-get install libmpdclient *
# apt-get install libboost1.74-dev libboost1.67-dev
# python3 -m pip install ninja # (1.11.1)(****Carefully)
# python3 -m pip install meson # (0.60)more than 0.60( ****Carefully )
# ninja-build and meson install by apt install.would you.
Now it's time to compile and install mpd. As always, you will have to download and compile the mpd source. The compilation and installation methods have changed.
This is a change in the method of installing mpd from source, which has changed since 0.21.XX. In the case of Dietpi, there is only a route, so please add a general user. In this state
#. sudo cannot be recognized. Please install git, g ++, C ++ 17 C ++ 20 cmake sox ffmpeg curl etc. before doing the following. Please note that it takes a long time to compile.
# apt install libfmt-dev when you had mpd compile error. 0.23.~ mpd.
# apt install build-essential libicu-dev


almost above but a little bit different now .meson and ninja can install apt install .ninja is replaced name ninja-build instead of ninja.
please do not install by pip becuase confrict application each other. no more ninja install only ninja-build. please do not use install by pip.

mpd

Down load latest mpd and see Documentation for install step of mpd .archive are down load on terminal of music server by wget by ssh
mpd ソースはターミナル上でwgetでソースをダウンロードします。その後解凍してコンパイルします。コンパイルしたバイナリーをインストールします。全てSSHで行います



Library installation apt install meson g ++ \ libfmt-dev in the green background Please copy, paste and install after \, please be sure to do it

after Bullseye no need pip .you can install apt install ninja-build as ninja .and meson too Jammy to install meson and ninja-build for install mpd source.
and do not forget installl alsa or alsa-utils.
Note : new version of OS ex) Jammy are dont install ninja and meson by pip please apt install ninja-build or ninja and same way meson too
always use apt install. conflict pip. so no more use pip .


Use the following command to download, compile and install the Boost package. Compiling # ./b2 -a takes a lot of time. If boost cannot be installed
I can't compile and install the mpd source. I think it's better to compile the source than with git. Either one is fine. In my case boost_1_75_0.tar.gz.
I downloaded and compiled . The following are almost common techniques. If it was a salaryman, he said that he was still compiling even if he went to the office in the morning and came home.
It is this boost installation that takes a long time to install a new mpd. Note \ Compiling takes time, so please do it in winter or force air cooling.
Check the location of mpd.service. In this case, it is in /usr/local/lib/systemd ~, so you may need to copy it to another location. Or in the source
There is, so you may need to forcibly copy it to a specific location from there. Please download the source of boost below. Boost ORG to get boost new one
Be sure to install it before compiling.
You don't need to install Boost below, but it's a good idea to do it once. It takes about 24 hours.

# cd boost
# ./bootstrap.sh
# ./b2 headers
# ./b2 -a
# ./b2 install


I was able to install it in a fairly short time. I don't know if this is a Bullseye effect or a library effect, though I don't know if the meson is an upgraded relationship or a ninja relationship.
I'm sure these have affected the compilation faster. Bullseye is still a new OS, so I think it will have an effect. Since meson and ninja are new every day regardless of Debian
The installation process will be different each time. In Dietpi Buster, even if you can not install by FTP archive from the command line, it may not be possible depending on the day.
I think that the influence of the server is coming out due to the influence of corona. There is no proof that the installation example introduced here is correct, and it may not be possible to install it on different days.
If you get an error in the mpd status, there is a DOC in the local source, so if you copy it to mpd.conf and modify it step by step, you can make a music server.

The TKZ driver can be installed on the SSH terminal or with SAMBA enabled and saved in it if he copies it into dtb/allwinner.
The location will be in /boot/. Edit armbianEnv.txt and add driver. What is the driver? Download it into boot, unzip it and copy it to dtb/allwinner.
I think that installation from the source of mpd can be done in the same way if it is an Armbian, Dietpi, Raspberrypi or Debian OS. Raspbian is a Debian-based OS
mympd doesn't seem to be able to install Bullaeye. The distribution seems to be up to Buster. In the case of Raspbian, it seems to enter without problems. After all it seems that it is impossible with a derived OS.


Mr. TKZ IPDIF driver

Mr TKZ (Takajin)driver at all

I2S driver of Takazin at all new one


mpd.conf and smb.conf example

Webradio Station's file

no started mpd.socket please try next



# mkdir /run/mpd : then
# systemctl disable mpd.socket
Please try this first. I think that the socket will come out with this.
If it doesn't come out # systemctl enable mpd.socket
If you enable it, it may appear.
simlink /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket It will be linked to
, so # reboot after this. # If you type ls /run/mpd/ and socket is displayed in red
mpd is linked. For mympd mpd sees /run/mpd/socket. It should now appear.


when no started mympd automatically



# mympd   #####checked mympd on browzer
# systemctl enable mympd
# service mympd start


About webradio can get by Cantata too



mympd

Dietpi myMPD 1st Dic 2021



Upgrade of mpd

You have to use Bullseye Dietpi somehow, it is related to the version of meson and ninja. Buster is fine as long as it is mpd 0.23.3 or lower, but it will be stuck in compilation in higher versions.
Therefore, I use Bullseye. The application installed after that is mympd. Please note that if you install or delete using Dietpi, the directory will be deleted.
Let's compile and install the source as much as possible. However, the library can be installed with apt-get pip etc., so I think it is good to use it a lot. Subsequent images are from Dietpi Bullseye
This is an image. Mympd mpd should be installed by compiling the source. mpd is his latest mpd 0.23.4, but then on December 2, 2021 he became mpd 0.23.5, so I made it mpd 0.23.5.

Archive to install libmpdclient-dev libboost1.74-dev libmpg123-dev These dabels are required. Be sure to have emacs installed. Then it will be compiled.


I can't install Meson and ninja then no mpd conpile ,,This is a big problem

Someone changed the way Meson and Ninja are installed. If you do these with PIP, you will get an error. I get an error even if I do it with Apt-install. Better yet
The only way is to bring the source and compile it. Debian is an idiot, they have developed two methods and are getting errors. I get an error when I run it with pip.
Is this Debian sloppy? Is the developer a college student and an idiot? I don't know, but when I compile with a Japanese terminal, all the files become garbled due to garbled characters.
Armbian selects the country and font in the initial settings, but if you do not register in English, the file will eventually become garbled and unusable.
So I can't update MPD. It's the same for Dietpi and Armbian, and probably the entire MPD OS is stuck at mpd 0.23.5. It was OK when I did it with Dietpi
Arm7. An error occurs in Arm8 and MPD cannot be updated. DietPi v8.20 is OK, but others can be compiled and installed, but it is garbled.
This won't work. Nsopi-neo is Dietpi with mpd 0.23.13. nanopi-neo2 cannot use the latest MPD. Stops while compiling.


This part is 2023.7.31.

mpd 0.23.5

mpd 0.23.5 by Dietpi bullseye 4th Dic 2021



mpd 0.23.5

icewm and mympd Dietpi Bullseye 4th Dic 2021

About myMPD I feel that myMPD included in Dietpi is good

Both the original and Dietpi were not good at reading, and when I got tired of the settings and left it for about 6 hours and checked it again, it was in the normal state. If it makes sense, it will be displayed in the normal state after a long time.
myMPD I installed it with two Nanopi-Neo2 at the same time. The git version may be good, the site that introduces myMPD doesn't introduce anything about URLs, and at first you may be confused about how to display it.
Below are two examples of myMP. It may be better to install nginx, I think you don't have to.
Do not install many applications with Dietpi. At least never install mpd. This page is a site that introduces the installation of mpd source.

A) is Nanopi-Neo2 Dietpi Buster mpd 0.23.5.
B) is Nanopi-Neo2 Dietpi Bullseye mpd 0.23.5.


my Desk top

my PC: Fedora Core 64bit Linux Vaio using Icewm



Dietpi Buster

https://192.168.1.2/#/Playback! 0/0/-/-/-/



Dietpi Bullseye

https://192.168.1.17/#/Playback!0/100/-/-/-/




mpd 0.23.5

mpd 0.23.5 by Dietpi Bullseye SPDIF using mympd



samba share does not work any Bullseye version


apt-get install samba-vfs-modules Bullseye is a debian-generated Samba error-free, invisible failure, unauthenticated issue. Therefore, files cannot be exchanged.
I was in great trouble. The same is true for Armibian, and when I saw it on the net, it was avoided and I was in trouble because there was no report.
If you install samba-vfs-modules described in the blog of the person who moved to Atlanta, USA
It can be avoided, but the entire OS will be enabled, but I don't think it can be used.
As I said somewhere, the Samba error reminds me that sharing would cause security issues and would be abolished. So I have to avoid it in some way
Debian isn't too lazy, Samba just made sharing unusable, not an error. I don't know what to do with this, but it's pretty good in Armbian, so Armbian got his 4.8.
Maybe you're still using it. If you renew anything, you will not be able to reinstall it. The previous version is python3, but this Bullseye is python 3.9, so the previous version is
I can't compile even the source.
winbind: Is it a shared program to be embedded in Samba? The conventional Samba had these built-in. Starting with 4.13, this winbind is required. In this application
It will be possible to use it in the same way as conventional samba. For CentOS
yum -y install samba-winbind samba-winbind-clients ← winbind installation
It is said to be
, so you can find an application that does the same thing in Debian. There are other settings.




# apt -y install winbind libpam-winbind libnss-winbind krb5-config samba-dsdb-modules samba-vfs-modules

mkdir: created directory '/var/lib/samba/winbindd_privileged'
changed group of '/var/lib/samba/winbindd_privileged' from root to winbindd_priv
mode of '/var/lib/samba/winbindd_privileged' changed from 0755 (rwxr-xr-x) to 0750 (rwxr-x---)
Created symlink /etc/systemd/system/multi-user.target.wants/winbind.service → /lib/systemd/system/winbind.service.
Setting up libgpgme11:arm64 (1.14.0-1+b2) ...
Setting up krb5-config (2.6+nmu1) ...
Setting up libnss-winbind:arm64 (2:4.13.13+dfsg-1~deb11u2) ...
Setting up liburing1:arm64 (0.7-3) ...
Setting up samba-dsdb-modules:arm64 (2:4.13.13+dfsg-1~deb11u2) ...
Setting up libpam-winbind:arm64 (2:4.13.13+dfsg-1~deb11u2) ...
Setting up samba-vfs-modules:arm64 (2:4.13.13+dfsg-1~deb11u2) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...

Actually Bullseye can not use new samba 4.13.X so must be use 4.9.X by Buster .buster can complie mpd 0.23.4 depend on library.

new mympd

2021.Dec 19er myMPD for Nanopi neo 2



myMPD

myMPD + Nanopi-neo2 Music Server 19th Dec 2021 any one can do



It took a few weeks. If this Linux Audio faoundation was found from the beginning, it would have worked straightforwardly, but to get this mympd to work
Do not use the application that comes with Daiet Pi. The attached application is convenient but dangerous, so I don't use it, Armbian is fine.
Armbian couldn't find the IP and used Dietpi.
Dietpi-software only works with Alas, emacs, and samba. Do not use anything else. Please keep in mind.
1) mpd is much faster to compile and install the source. I think this is due to the library.
2) Please install git, cmake C ++ etc.
3) mympd follows the link introduced above. Please install mpd properly and install 23.0 or above.
Bullseye uses Buster because samba cannot work. You can't use Focal, basically the same for Focal and Bullseye.
/run/mpd/socket If it doesn't exist, it won't work. If mpd can be installed from the source smoothly, it will work smoothly.



How soulution of problem samba


1] Connect to it directly in explorer by it's ip address - for example:
\\192.168.1.100
[2] Win10 can use mDNS to connect to the server - addressed by it's host name with a .local attached at the end:
\\ubuntu-server-host-name.local
Just make sure avahi is installed on Ubuntu:
sudo apt install avahi-daemon
If you really want Win10 to be able to discover your server you really only have 2 options:
[A] Win10 uses something called WS-Discovery ( WSD ) to discover hosts. Samba doesn't do WSD but with a bit of work you can make it work:
Download the folder:
wget https://github.com/christgau/wsdd/archive/master.zip
UnZip it:
#unzip master.zip
Rename the python script:
sudo mv wsdd-master/src/wsdd.py wsdd-master/src/wsdd
Copy it to bin:
sudo cp wsdd-master/src/wsdd /usr/bin
Copy the systemd service file to /etc/systemd/system:
sudo cp wsdd-master/etc/systemd/wsdd.service /etc/systemd/system
Reload the service:
sudo systemctl daemon-reload
Start the service:
sudo systemctl start wsdd
Enable the service so it starts at boot:
sudo systemctl enable wsdd
[B] Enable NetBIOS on both Win10 and Ubuntu - This is something Win10 is trying to get away from since it considers it a security issue:
In Win10: Control Panel > Programs and Features > Turn Windows features on or off > SMB 1.0/CIFS File Sharing Support > SMB 1.0/CIFS Client.
In Ubuntu: Edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add this one:

server min protocol = NT1

You would think that a simple restart of the service would be enough - and it might be in your case:
$sudo service smbd restart

But NetBIOS is a relic of a bygone era and you might have to reboot the box.
NetBIOS is a nasty thing to work with so you may need to do some other tweaks to get it working.
Share


If you forcibly translate these, it will be strange, so if you know how to read the command, you can easily understand the processing method. This is Samba enabled.
Now, I'm going to use Bullseye Debian as a force. ask UBUNTU Thank you very much. After all there was a simple improvement method.
WSD servers is the official name. There are smart people out there. Thank you.



Note:
A) is Nanopi-Neo2 Dietpi Buster mpd 0.23.5. I think it's up to Buster. In other words, you can't use it freely with Bullseye. Also, since Buter is up to 2024, what will happen after that?
B) is Nanopi-Neo2 Armbian Bullseye mpd 0.23.5. It is the operation of samba, but the cause of the slow operation when used for a music server is unknown.

As a result, I said that Bullseye can be used in the current state, but it is difficult to use. Is it the setting of mpd? I'm not sure if it's a bug in samba, but it doesn't work like Buster.
I need to study how samba works, that is, about them. I want to improve samba.



bullseye

Bullseye + cantata Music Server and Samba


Nothing problem to use as Music Server and music file got from the other PC trough by samba just show you by cantata



myMPD

The right is Armbian Bullseye mpd 0.22.1. The left is Dietpi Buster source compilation mpd 0.23.5


I will explain. Dietpi's Default doesn't use nginx, it seems to use lighttpd. Therefore, the operation is unstable, so I will use Nginix according to the introduction site.
Nginix also uses Moodeaudio and Volumio2. There are various things that can be operated with Java. I'm still getting an error in both nginx status, but I haven't resolved it
mpd and mympd are normal and there are no errors, so they can be used as they are. If there is a read error, create an empty file in /etc/mympd.conf.
Start reading. Save the cover file as folder.jpg. It is lowercase. The capital letters were not read. Or it will be cover.jpg.
How to create an empty file is # touch /etc/mympd.conf. I didn't need /etc/mympd.conf to install this site.
Port etc. need to be set separately in other files. Settings such as 80 becoming 8080 are required. Set the files under /var/lib/ mympd one by one.
For Raspberrypi family are using Raspbian,Debian etc so nothing problem to use at all .


new myMPD
Linux Audio Foundation

Introduce myMPD how to install ,good site




Note: Note:
1) Armbian Bullseye has a problem with the compiler. In other words, I can't compile a simple MPD, there seems to be a problem with C ++ or GCC.
SAMBA works.
2) Dietpi Bullseye has no problem with mpd compilation, but SAMBA does not work properly.
In other words, Bullseye cannot operate normally at this stage. From an amateur's point of view, I think it will be usable after a year.
I installed C ++ and spit out an error at 70th place and spit out. I understand that C ++ is the cause, but I can't compile without C ++,
What stops is why it stops. I stopped at a library called icu, so apt install libicu * apt install luajit
apt install I installed and tested 3 of clang, but it didn't play and the compilation proceeded. This is OK.
Armbian bullseye's mpd 0.23.5 music server.
The left is Dietpi Buster. On the right he is Armbian Bullseye Both are mpd 0.23.5



mpd 0.23.5 Armbian and Dietpi

Armbian bullseye and Dietpi buster both are mpd 0.23.5



mympd

Buster Dietpi mpd 0.23.5 by Nanopi-Neo2 23rd Dec 2021



bullseye

Bullseye Armbian mpd 0.23.4 by Nanopi-Neo2 23rd Dec 2021



mympd

mympd 24th Dec 2021 by Armbian mpd 0.23.5



Quite good system for Music Server DIY .sound is depend on what's kind of audio system do you have.
very much usefull system and can buit up Music Server low cost. presentation is very nice .even sound too



dietpi neopineo2

Dietpi nanopineo2 Buster mpd 0.23.5 on 29er Dec 2021



Dietpi myMPD mpd 0.23.5

Dietpi nanopineo2 Buster mpd 0.23.5 on 29er Dec 2021



Detpi-buster mympd

Nanopi-Neo2 mympd



Armbian Bullseye

Bullseye Armbian for Nanopi-Neo2 mpd 0.23.5 SPDIF out put 1st Jan 2022



ncpmc install for control

Install on Dietpi or Raspbian, Ubuntu, Debian terminal as follows. It will be a light and convenient controller. It is very convenient.
$ sudo apt install ncpmc
$ ncpmc



ncpmc by Armbian

Starts on the terminal, you can select and move songs in great detail. Use mympd as a presentation and use ncpmc for operation



samba

This is an example of samba using Armbian Bullseye. The one-board PC is Nanopi-Neo2 64bit version. It is a Music Server using this. There is no problem with Buster,
Bullseye has limited ways to build samba. This is especially a problem caused by Samba 4.13 and above. Therefore, SKYMPC cannot be used due to the specifications.
Therefore, MPDClient is limited. You can use mympd, you can't use SkyMPC, so use other clients with Cantata, ncpmc, etc.
In effect, use WSDD to enable samba. Please refer to the following, there is also an introduction on an external site at the beginning of this page.

how to install wsdd

Bluetooth added to Nanop-Neo2 by Armbian Bullseye


bluetooth

Elecom LBT-UAN05C2/N Bluetooth USB Dongle




blue tooth


dongle

LBT-UAN05C2/N Elecom dongle



pairing with smartphone

I paired it with my smartphone, but it doesn't work,




In the end, it was connected, but the sound hasn't come out yet. From now on, the problem of sound is the problem of DAC and sound interface.
I think I was able to build it so that I could understand it by looking at the image.
I was able to pair, and the rest is only related to the sound. This music server is originally silent, so this is the only problem. I'll show you the evidence





bluetooth


As far as you can see, you can recognize that Bluetooth is possible even with Nanopi-neo2 + dongle. Let's introduce the reference site below.
However, you need to install python3.9. You can install Bluez-tools with pip. Recent information on apt-get stated that default was removed.
You need to create and install the files to build by yourself. However, it turned out that it is relatively easy to build even with Nanopi-neo2.
First, let's make a sound. I think it will be SPDIF this time as well. I have already installed the ES9018 DIY DAC, so I plan to use it.


Reference 3
lsmod

show lsmod for bluetooth by Armbisn Bullseye Music Server mpd 0.23.6 By Nanopi-neo2



connection

smart phone name show by terminal so pairing is already



However, there was a problem, and if I updated it, it would be clear ...? The connection is no longer possible.
If you want to try this, never # apt-get update. It is a very dangerous act and you will never be able to connect. Unfortunately, it can't be helped,
It's a long-standing fate of updating Linux. It is unclear what to do in the future. There is also mpd compilation, which is not easy,



re connected

I was able to reconnect, but it is unstable. I tried installing with another micro SD, but I couldn't install it.




Music server music selection and operation with ncmpc


ncmpc

It is a convenient mpd client that performs operations such as song selection by ncmpc



nanopi-neo2 music-server

ALi

Dietpi Bullseye for Nanopi-Neo2 is now available


As for the background, Armbian Bullseye has fallen. That's why Dietpi Bullseye appeared. mpd is Default, then I plan to compile and install the source
It remains Defaults. The required applications are installed manually without using Dietpi-software. The sound output is SPDIF. I am using TKZ's DTB archive.
Dietpi Bullseye Music Server with myMPD installed and checking the operation. It is mpd 0.23.6. You can enjoy comfortable music without stress.
Please refer to the Linux Audio Foundation site for each installation.


 About wsdd
Sometimes this Share is disabled. Someone breaks into the LAN line and modifies this file. As a result, WSDD will not work and you will not be able to import music sources.
In such a case, delete all the directories. Then try reinstalling. I'm sure it will work.
When you go out, it is recommended to disconnect the power supply and line of the router.
wsdd is in the repository in other distributions and can be installed properly. In other words, you can install it with apt-get.

In this section, we are experimenting with Nanopi-Neo2, but the same thing can be used with Raspberrypi's one board PC as long as you are using a Debian OS.
kieth Jarrett piano play


Koln concert

Keith Jarrett heard with

mpd is exceptional. I think it's a great pianist



Dietpi mympd

Mympd by Dietpi Bullseye Music Server




detect mpd


mpd conf

mpd.conf a part of driver is shown


Billy Childs


Dietpi Bullseye Music Server mpd 0.23.6 and myMPD

Dietpi Bullseye

Dietpi Bullseye uploaded mpd is 0.23.6 Extend Samba to work with myMPD



As for the background, Armbian Bullseye has fallen. That's why Dietpi Bullseye appeared. mpd is Default, then I plan to compile and install the source
It remains Defaults. The required applications are installed manually without using Dietpi-software. The sound output is SPDIF. I am using TKZ's DTB archive.
Dietpi Bullseye Music Server with myMPD installed and checking the operation. It is mpd 0.23.6. You can enjoy comfortable music without stress.
Please refer to the Linux Audio Foundation site for each installation.



kieth Jarrett piano play


Koln concert

mpd is exceptional. I think it's a great pianist



SKy MPC

for control easy to use Nanopi-neo2 by SKY MPC .very quickly get sound .and you can use latest mpd



mpd 0.23.8

I updated to mpd 0.23.8, I think it took about 5 hours to compile, but there was nothing wrong with it




The version of mpd displayed in SKY MPC is 0.23.8 but 0.23.5, which means that the file related to sound is mpd 0.23.5.
mpd 0.23.6 is mpd 0.23.4. The quality of the sound is not much different from 23.5 and above. You don't have to compile anything and
These are the same for Archlinux, and the latest version is mpd 0.23.8. It may be an update that you don't need.
However, the sound has certainly improved. I think the sound is mentally good with the update. It’s a practice,so it ’s good to do it.



systemctl

do systemctl for find problem of mpd by ssh



apt-get install timidity timidity-interfaces-extra;
apt-get install freepats fluid-soundfont-gm fluid-soundfont-gs;
please try to install above timidity then does not get error



after installed timidity 、error does not see



music serv er

mpd 0.23.8 new version mpd from compile source on 27th July 2022



down load volumio2-3

Volumio3 for Nanopi-Neo2




Recently, the number of IPV4 and IPV6 lines has increased. In the case of IPV6, there is a tendency that Internet radio cannot be received.
You can avoid them by using the latest MPD that came out there.
For that reason, you can avoid internet radio problems by compiling and installing the mpd source yourself. mpd 0.23.8 or later.



OLd Version

mpd.conf USB DAC DDC and SPDIF




################################################ ########################

audio_output {

type "alsa"
name "SPDIF"
device "hw:SPDIF,0"
mixer_type "software"
dop "yes"
audio_output_format "44100:16:2"
}


audio_output {
type "alsa"
name "USB"
device "hw:1,0"
mixer_type "software"
}

################################################ ################################
That's it. Please check with # aplay -l each time. For Dietpi, in the audio part of #dietpi-config Please check the
device. Basically, write the value displayed by # aplay -l. hw:1,0 is the driver setting.
In this case he has SPDIF and USB DAC or DDC enabled.
In the case of Dietpi Bullseye, if you use the mpd that comes with this, mympd will be activated, but if you use the mpd compiled version, there will be no socket and mympd will not be activated.
I think there is some method, but it is not solved at present. On Dietpi buster mpd 0.23.8 is ok and mympd works fine. Bullseye's mpd is 0.22.6.
It works fine. but the mpd compiled version does not work with mympd, because /run/mpd/socket is missing. This is because mympd uses socket to detect mpd.
I think it will be resolved with time.



dtb and dts


Pine 64 bullseye can't do his SPDIF. script in Armbian
I think you'll understand when you see it. Driver dtb for Pine64 Bullseye is not written. dtb is a binary, so you can't check the contents, but what I converted to a string is
It becomes DTS. are interrelated. You can install it with apt-get or DNF, so it's a good idea to install it on your workstation and check it.
dtc -I dtb -O dts -o sun50i-a64-pine64.dts This is the command when sun50i-a64-pine64.dtb converts. The application installation is named as follows.
This is the name of the binary installed by the device-tree-compiler. install uses snap. This is for fedora core.
dtb is the binary, dts is the underlying script. They are the device-tree-compiler and convert. I don't know when, but the Pine64 driver has removed the SPDIF.
They are editable, so you can create a dtb. Here is the driver. I think it is better to do the conversion in the same Linux.
sun50i-a64.dts is available on the Debian site. In other words, the contents of the driver will differ depending on the one board PC. in /boot/dtb/allwinner for Nanopi-neo2
stored. Edit armbianEnv.txt to configure the driver. In the case of Nanopi-Neo2, since it is not a GUI, it is necessary to open the editor and rewrite it, all of which are
This is done via ssh.
By the way, Nanopi-Neo2 Dietpi Buster can activate mympd
nanopi-Neo2 Dietpi Bullseye can't enable mympd, because /run/mpd/socket doesn't exist for it.
However, if you apt-get install mpd 0.22.6, mympd is enabled. For mpd source compilation there is no /run/mpd/socket and mympd is not enabled.



mympd

mympd by Naopi-Neo2 Dietpi Buster and mpd 0.23.9 on 22nd Aug 2022



On Bullseye Dietpi, I compiled mpd 0.23.9 and the installation was OK, but mympd was not enabled. In this case the source is compiled.
Binary was enabled if #apt-get install mpd. If /run/mpd/socket exists, it's OK, but when compiling the mpd source, there was no /run/mpd/socket and it was not activated.
Created symlink /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket.
There was a description that it will be enabled by doing the above, so enter #systemctl enable mpd.socket for the first time only
Created symlink /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket.
was displayed. There is a "." at the end of this part, so it cannot be activated, and the command "Created symlink" is not Linux, so link as follows
# ln -s /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket
Then I got /run/mpd/socket. For now, # reboot
It was OK. Mympd is now enabled on Dietpi Bullseye mpd 0.23.9



mpd 0.23.9


new mpd


my mpd new 2nd Sep 2022

myMPD 2nd 2022 by mpd 23.9 versión compilada desde la fuente



I lost my IP when I moved, and when I reinstalled it, it didn't go back. This is probably due to a problem with the source,
Bullseye is rendered useless due to frequent developer glitches in Archilinux. I get an error with mongooth or something.
MPD playback is unstable. The TKZ driver is no longer effective. Are there not enough hands because there are few developers? Michelangelo is really struggling
I understand. There is no solution written on the forum, so Mympd etc. cannot be used. A working device should be saved. Due to the lack of existing equipment
Since it will be reused, Nanopi-Neo2 cannot be used as a music server. If the OS is only Armbian and Dietpi, it will be a useless one-board PC.
It may be time to throw it away, which is a shame. If you modify the repository archive, the music server cannot be updated and becomes unstable.
Regarding mongooth, after reviewing Niginx, it became possible to display as follows.

However. When I was reviewing the Nigix files, maybe Niginx wasn't working properly? I noticed that you said. Here is the URL when it succeeds.
http://192.168.1.8:8080/#%7B%22card%22%3A%22Browse%22%2C%22tab%22%3A%22Database%22%2C%22view%22%3A%22List%22 %2C%22offset%22%3A0%2C%22limit%22%3A100%2C%22filter%22%3A%22any%22%2C%22sort%22%3A%7B%22tag%22%3A%22AlbumArtist%22%2C %22desc%22%3Afalse%7D%2C%22tag%22%3A%22Album%22%2C%22search%22%3A%22%22%7D
It's a little long, but I'll write it down.
Install is relatively easy, so I think you should try it. I think the presentation is also good


my mpd new 2nd Sep 2022

myMPD 2nd 2022 by mpd 23.9 version compile from source



Once again bullseye had a problem. I can't mount files from NAS or other music servers. In other words, you can no longer mount using cifs-utils.
In the early days of Bullseye, samba could not be enabled, but recently improvements have been made to samba, and it is possible to share without installing wsdd, but I cannot mount it with Cifs.
Samba can be enabled, but I can no longer mount using Cifs. It was useless to replace the NAS side because there was a problem on the NAS side. In other words, even Buster can be used as a music server.
That's all for now. You made something good and something bad. However, since it is a world of hobbies, let's be patient and use it. So I decided to go back to Buter. A slightly improved distribution is
Feel free to use it once it is developed. Bullseye has many problems and cannot be used as a music server at the moment. Because I can't share music files. Save to an empty folder each time
Method reduces convenience. In other words, you will not be able to play music on your PC. Even if it can be mounted, there is no sound. Since the OS will upload a different file each time
I used to be able to do it, but after a while it will not be the same if I reinstall it. Corona: It will not be the same if FTP and mirror servers are down due to the influence of Corona Covid19, especially the OS with a large tendency
This is Archilinux. Same for Debian.


Back to Butser Debian


Important comment


verbosity=7
console=none
overlay_prefix=sun50i-h5
overlay_prefic=sun50i-h5-nanopi-neo2-spdif
overlays=usbhost1 usbhost2 spdif spdif-out
rootdev=UUID=f362c325-4f84-479c-9494-4de8bcff221a
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

This is the contents of /boot/armbianEnv.txt. In this case he has SPDIF as the output. After that, the contents displayed by # aplay -l
Listed in audio_out in /etc/mpd.conf. This determines whether or not the sound is produced. If you don't write such a simple thing, it will stop at II (pause mark).
This is when the TKZ driver is installed.



nanopi-neo2 dietpi

Dietpi nanopi-neo2 bullseye mpd 0.23.9 on 7th Sep 2022 mympd


When there is no socket


# mkdir /run/mpd : then
# systemctl disable mpd.socket
Please try this first. I think that the socket will come out with this.
If it doesn't come out
# systemctl enable mpd.socket
If you enable it, it may appear.
simlink /etc/systemd/system/sockets.target.wants/mpd.socket → /usr/local/lib/systemd/system/mpd.socket It will be linked to
, so # reboot after this. # If you type ls /run/mpd/ and socket is displayed in red
mpd is linked. For mympd mpd sees /run/mpd/socket. It should now appear.



Dietpi myMPD 9.5.3

Dietpi Nanopi-Neo2 mympd mpd 0.23.8 compiled version by Buster myMPD 9.5.3



Nanopi-Neo2 bullseye mpd 023.9 myMPD 9.3.3

Dietpi Nanopi-Neo2 mympd mpd 0.23.9 compiled version by Bullseye with wsdd myMPD 9.3.3



Caution: Please do not use Dietpi-software or Dietpi-config for Dietpi. I will recommend installation by Debian or Ubuntu operation.
If you install it using Dietpi-Soft ware, it becomes a unique installation method and conflicts with genuine Tree. Dietpi is used as an OS for that purpose.
Other builds will be Debian or Ubuntu. Please refer to Debian for installation and building. Compile and install the source thereby
In some cases, we ask for your understanding. I think that a wonderful music server will be completed.




Note : I can't receive Internet Radio: It showed curl as an error. It was displayed in myMPD. Therefore, I reinstalled Cur and rebooted.
Since then, it has become possible to receive messages.



Automatic Playlist Creation


Playlists are created automatically with the following command.
$ sudo apt-get install mpd-sima




auto play list

Detailed comments, album names, and player names are added to the music file display.Please compare with the images uploaded before



Dietpi buster and bullsye

Dietpi Buster and Bullseye myMPD both are mpd 23.9




I can't get a Raspberrypi anymore even if I want to. Even Sony can't make a new product, so
It can't be helped. I've heard that other 3rd party bluetooth earphones don't use Linux, so there's no problem with manufacturing them. Embedded Linux is ARM 
I'm using a processor, so it's probably out of production. I'm sorry. Nanopine2 is a single board that is easy to obtain even in Japan, and it is easy to use, so
As long as you can get it, I don't think you'll have much trouble creating a music server. I am trying to build a simple DAC. I've been using my own DAC for over 10 years.
The sound is enough. It's PCM, but I think it's producing enough sound. Nanopi-Neo2 outputs a master clock, so any DAC can be used. I
Uses a V-output DAC that does not require I/V conversion. SKY MPD is used to operate mpd. You will also need a NAS. NAS uses raspberrypi ZERO W.
I think you should get it somewhere. It doesn't matter if it's a PC, and I think it's OK to prepare another Nanopi-neo2 and create a NAS using Volumio2



mympd and skympc

mympd and contorl by skympc mpd 0.23.9



Dietpi images for Arm

How to make sounds


Nanopi-neo2, Nanopi, Pine64, etc. both Armbian and Dietpi produce sound in the same way. Be sure to install Alsa. This is to install without using a dedicated application.
In the case of Dietpi, the method is to install with the command Dietpi-software, but this should only be the lowest-level applications and do not install applications that are likely to conflict.
For example, install samba, mpd, Niginx, etc. with apt install. Compile and install the source and install others with apt-install.
ninja, which is necessary for compiling, is installed by installing pip, but it is included with Jammy, so you can install it with apt install.
meson can be installed with apt install. Ninja can be installed with apt install ninja-build, which is also renamed. mpd is the latest version mpd 0.23.5.
Later versions compile the source, create a binary and install it. Compilation takes a long time at 100MBPS. It takes about a day. Compilation requires optical line.
How to make the most important sound For Armbian under
/boot, edit armbianEnv.txt. For Dietpi and Pine64, there is a text file similar to this file, so edit it.
-------------------------------------------------
verbosity=1
bootlogo=false
console=serial
disp_mode=1920x1080p60
overlay_prefix=sun50i-h5
overlays_prefix=sun50i-h5-nanopi-neo2-spdif
overlays=usbhost1 usbhost2 spdif spdif-out
rootdev=UUID=5dffb9c7-e9b5-4e9d-a4f8-8a600c025387
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
-------------------------------------------------- --
Edit this file. i.e. edit the xxxEnv.txt file. Write overlay_prefix and describe the driver name.
The driver has a directory called dtb in this file under /boot. Below that is a directory called allwinner, in which the driver is installed.
Drag the driver into this folder instead of installing it. This music server has his TKZ drivers built into it. For Nanopi-neo2 use this driver
I use it. You can use the included driver, the TKZ driver is a very well made driver with good sound and is very useful. The TKZ driver can be downloaded from my site.
Radio can also download copies of Moodeaudio files as Webradio. Please try. By installing Cantata on the host PC, you can receive internet radio, etc.



Armbian Jemmy Edge 22.02.2

I replaced new Armbian Jammy Edge for nanopi-neo2 Music to Dietpi Bookworm

Armbian is not working well, in other words, alsa cannot be installed due to a problem with the Python version, which is why there is no sound. I have decided to use Dietpi for the time being.
Result is myMPD 12.0.2
(c) 2018-2023 Juergen Mang
https://github.com/jcorporation/myMPD

Dietpi

$sudo systemctl enable mympd
$sudo service mympd start
Please run
before using.
DietPi v8.22.3.bookworm


mympd 11.0.1


my mpd under Jammy Edge



I have been mpd compile from source under jammy current so try to replace OS Armbian jammy edege . probably right now fine to compile.
still i do not until compile.target is mod 0.23.13 .I will try now


LAF

How to make U-Boot

U-Boot

Sound Driver and Webradio


Mr. TKZ IPDIF driver < /h10>

Webradio Station's file


Select the distribution called Bookworm. It's up to date with mpd 023.11. There is no driver setting, the sound comes out by inserting the USB. This could be good news


Bookworm Linux

I think this is the latest. A later version of the Bullseyes.



bookworm music server

Nanopi-neo was also able to make a music server, but if you use the latest Bookworm, you can get sound without any settings, but you need to set up the server





7th Avenue


In this section, we are experimenting with Nanopi-Neo2,
but the same thing can be used with Raspberrypi's one board PC as long as you are using a Debian OS.



since 22nd Nov 2021 NanoPi-Neo2 Pi Music Server how to last up date 7th Mar 2024

Single Ended Amplifier D.I.Y edited with BlueFish By JH1 DAS ex WB4ACI from Yachiyo Chiba Japan

How to build up Amplifier Single Ended Amplifier 2024