Installing the AudioInjector without running 'rpi-update'

Moderator: flatmax

Post Reply
aHelding
Posts: 5
Joined: Sun Sep 18, 2016 10:32 pm

Installing the AudioInjector without running 'rpi-update'

Post by aHelding » Sun Sep 18, 2016 10:48 pm

Hi,

First off; thanks for a great and easy to use product!

Despite this, I'm having some trouble setting up my AudioInjector to work with Volumio (http://www.volumio.org) (or RuneAudio, same problem). Running 'rpi-update' breaks the Volumio distribution, resulting in a kernel panic. Therefore I'm wondering if there is manual way of updating the components needed, without updating the entire kernel (i.e. running the 'rpi-update' command)? I've tried adding the device tree and overlays, from an updated pi (with a working AudioInjector) but to no avail.

Any and all help is most appreciated.
Regards

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Installing the AudioInjector without running 'rpi-update

Post by flatmax » Tue Sep 20, 2016 5:06 am

Hi there,

There is a way to do this. You can leave your kernel as is and all you need to install are two things :
* Devicetree overlay : /boot/overlays/audioinjector-wm8731-audio.dtbo
* Driver : /lib/modules/KERNELVERSION-v7+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko

If you can locate suitable prebuilt versions of these files and dump them into the correct locations, then it should work. Don't forget to update your device tree.

Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

aHelding
Posts: 5
Joined: Sun Sep 18, 2016 10:32 pm

Re: Installing the AudioInjector without running 'rpi-update

Post by aHelding » Sat Oct 01, 2016 7:38 pm

Hi Matt,

Thanks for your reply!

However, I figured out how to compile a new volumio distro, using the latest raspian build. And it works like a charm. If anyone is interested, I'll post a tutorial.

Cheers

WMU_FTW
Posts: 1
Joined: Tue Dec 27, 2016 11:54 am

Re: Installing the AudioInjector without running 'rpi-update

Post by WMU_FTW » Tue Dec 27, 2016 11:59 am

I would greatly appreciate it if you could post the instructions on loading the appropriate kernels for Volumio2 compatibility with the Audioinjector sound card. I've been struggling for a couple of days to find an appropriate program for streaming from the RCA inputs; but so far haven't been able to get so far as to have Volumio recognize the HAT . . . I'm also very new to this so that's complicating the issue I'm sure.

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Installing the AudioInjector without running 'rpi-update

Post by flatmax » Thu Dec 29, 2016 1:43 pm

Hi there,

The easiest way is to look at the script which sets up the audio injector Pi sound card. Pick what you want to execute out of that script to setup in a manual fashion !
I recommed getting the latest firmware, which has recent patches and bug fixes in the kernel.
You can run "sudo rpi-update" to get the suitable kernel.

Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

aHelding
Posts: 5
Joined: Sun Sep 18, 2016 10:32 pm

Re: Installing the AudioInjector without running 'rpi-update

Post by aHelding » Thu Jan 12, 2017 1:41 am

What worked for me was to build a new volumio distro (https://github.com/volumio/Build).

However, after cloning the git repo I had to edit the file /build/scripts/raspberryconfig.sh to use the latest RPI firmware. You do this by editing line 57, which reads:

Code: Select all

echo y | SKIP_BACKUP=1 rpi-update 15ffab5493d74b12194e6bfc5bbb1c0f71140155
to the latest firmware commit:

Code: Select all

echo y | SKIP_BACKUP=1 rpi-update af04ebcdf1dfa2d979487ed35fb037a99f1552bc
You can find the revision history here: https://repo.xecdesign.com/revisions.html

Hope this helps!

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Installing the AudioInjector without running 'rpi-update

Post by flatmax » Thu Jan 12, 2017 10:53 am

Thanks for debugging Volumio, seems like a nice simple solution to the problem.

Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

sly_fox
Posts: 2
Joined: Thu Jul 06, 2017 4:20 am

Re: Installing the AudioInjector without running 'rpi-update'

Post by sly_fox » Fri Jul 14, 2017 7:38 am

Hi,

Is anyone able to give me some more detailed direction on getting the audio injector working with volumio? I've tried rpi-update but it still causes volumio to crash on reboot. I've tried following the setup script, but running

Code: Select all

aplay -l
doesn't show any devices.

My current config.txt look like this:

Code: Select all

initramfs volumio.initrd
gpu_mem=16
max_usb_current=1
# dtparam=audio=on
dtoverlay=audioinjector-wm8731-audio
dtparam=i2c_arm=on
disable_splash=1
I don't have access to a linux maachine to build volumio on myself at the moment, just a mac running OSX.

Any help or guidance would be greatly appreciated!!

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Installing the AudioInjector without running 'rpi-update'

Post by flatmax » Tue Jul 18, 2017 1:13 pm

Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Installing the AudioInjector without running 'rpi-update'

Post by flatmax » Sun Jul 23, 2017 3:22 pm

I now have a thread for building your own VOlumio with Octo support. It can be simply adapted for stereo sound card audio injector support :
http://forum.audioinjector.net/viewtopic.php?f=9&t=2981

Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests