Jump to content
IGNORED

HQPlayer's Network Audio Adapter


Recommended Posts

Hi

I have a Raspberry pi connected via I2S to my DAC. I'm running picoreplayer on it right now, and it sounds very good.

 

I'd like to try NAA and HQPlayer, wondering if someone has modified the pi code to output I2S?

 

EDIT:

I also have a beagle bone black. I haven't hooked him up yet, but I could if someone has code to output I2S on a BBB.

 

Randy

Link to comment
  • 5 years later...

I can't get my pi2 to work as a NAA.

I tried the images at https://www.signalyst.eu/bins/naa/     

for pi2, and it doesn't seem to run on my pi2.  Ethernet isn't working and display shows a bunch of colors.

I tried both pi2 images.

 

I tried dietpi, loading naa from within dietpi, but systemctl status always shows errors.  And Hqplayer log says hqplayer cant' find a naa.

 

So then I setup buster lite, installed naa, and basically get same results as dietpi.

 

So I tried this, and get "Segmentation fault"

pi@raspberrypi:~ $ sudo systemctl stop networkaudiod

pi@raspberrypi:~ $ /usr/sbin/networkaudiod

Segmentation fault

 

So can anybody tell me what's going wrong?

Can I use pi and buster?

I thought the precanned images would be easy, but for whatever reason they aren't working for me.

 

Thanks

Randy

Link to comment

I tried loading stretch lite, and have the same problem

 

I see this at the end of the pi syslog

Aug 30 05:32:49 raspberrypi systemd[1]: Started Network Audio Adapter daemon.

Aug 30 05:32:49 raspberrypi systemd[1]: networkaudiod.service: Main process exited, code=killed, status=11/SEGV

Aug 30 05:32:49 raspberrypi systemd[1]: networkaudiod.service: Unit entered failed state.

Aug 30 05:32:49 raspberrypi systemd[1]: networkaudiod.service: Failed with result 'signal'.

Aug 30 05:32:51 raspberrypi systemd[1]: networkaudiod.service: Service hold-off time over, scheduling restart.

Link to comment
1 hour ago, Miska said:

I recommend upgrading to Pi3 for many reasons. Or soon to Pi4. I dropped support for Pi2 since newer models are better.

 

Ok, thanks for the response

I had decided to try a pi3.  Loaded it with the 64bit pi3 image, and it boots up, and networkaudiod is running now.

Hqplayer still doesn't see a NAA, but I ran out of time to try things this morning so that's for after work.

Link to comment
  • 5 weeks later...
  • 1 month later...

I shut off my hqplayer pc because I figure its kind of a power hog, but pi's only take a little power so I normally let them run 24/7, unless I'm gone for a while.

 

You have a couple other options for an NAA on a pi.

The instructions below should work, if you start with buster lite, to make a buster based naa.

 

Or you can run dietpi.  It supports NAA, and is pretty easy to setup for an NAA.

Then add a shutdown switch to either one.

 

 

1) Install latest OS updates

sudo apt-get update
sudo apt-get -y dist-upgrade

2) Install necessary dependencies (alsa-utils is optional, but the utilities are helpful sometimes). I'm not sure you need to do this, seems like they were already there

sudo apt-get install libasound2 alsa-utils

3) Download the latest networkaudiod deb package for armhf architecture using “wget”. You should go to https://www.signalyst.eu/bins/naa/linux/stretch/

and see if there is a new version. As of Oct 20,2019, this is latest.

4) Install the package (correct the version number to what ever is latest at the time)

sudo dpkg -i networkaudiod_3.6.0-42_armhf.deb
Link to comment
  • 1 month later...
On 12/19/2019 at 4:49 AM, Miska said:

I have some Allo overlays now included on the image, but I'm not sure what the USBridge stuff needs...

 

  • allo-boss-dac-pcm512x-audio
  • allo-digione
  • allo-katana-dac-audio
  • allo-piano-dac-pcm512x-audio
  • allo-piano-dac-plus-pcm512x-audio

If you are referring to the USBridge Signature (latest and greatest version), allo has a read me file for setting up raspbian.

Step 2 is only required if you are using an external wifi, Sig doesn't have wifi built it.  The sig has a Pi Compute Module, CM3+ for its processor.

The original USBridge is based on the Allo Sparky board.

 

download latest rasbian OS from official website

https://www.raspberrypi.org/downloads/raspbian/


1) update ASIX driver :  works  4.19.50-v7+ kernel onwards

ssh or terminal login using OS credentials

cd /usr/src

sudo wget http://3.230.113.73:9011/Allocom/USBridgeSig/install.sh

sh install.sh



2) RTL8812AU wifi driver : insert USB WiFI module on startup.

thanks to https://www.raspberrypi.org/forums/viewtopic.php?t=194859

ssh or terminal login using OS credentials

(before download , check the install-wifi already present or not  ls /usr/bin/install-wifi 
to avoid duplication remove it  rm /usr/bin/install-wifi )

sudo wget http://3.230.113.73:9011/Allocom/USBridgeSig/install-wifi -O /usr/bin/install-wifi

sudo chmod +x /usr/bin/install-wifi

for help

sudo install-wifi -h

sudo install-wifi

*************************************************
3) UsbridgSig ethernet driver version check using modinfo : run below command , correct version is v0.1.4

modinfo ax88179_178a | grep version

version: v0.1.4

***************************
on dietpi or volumio versions after kernel update Ethernet driver need to check the version
if it is not v0.1.4  follow the "update ASIX driver" steps in this page.

 

One last thing, some people (including me) have to use sw based on an older pi kernal

http://3.230.113.73:9011/Allocom/DietPi/rpi4.14.92/

If I use the latest, I get pop/clicks similar to listening to vinyl.  Allo says that pi will fix, hopefully in their next release.

 

 

Link to comment
1 hour ago, Miska said:

 

Yes, but my NAA images are my complete custom OS build. I'm not interested in Raspbian which is pretty antiquated.

 

I'm curious what is needed vs the most recent kernel releases.

 

Was hoping that the first item in the attached would be helpful.

Allo Sig has a different Ethernet chip, so they install the Asix driver.  

 

That's the extent of my knowledge.  You may have better luck asking in the Allo forum to catch their attention.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...