tried to incorporate BBB
miero
you can use any other distribution for BBB, just use Botic kernel ... it should be compatible:
Have you tried to incorporate BBB into a different distribution of LINUX?
miero
you can use any other distribution for BBB, just use Botic kernel ... it should be compatible:
Thanks miero, I will give this a try over the New Year weekend.
Ray
Have you tried to incorporate BBB into a different distribution of LINUX?
you can use any other distribution for BBB, just use Botic kernel ... it should be compatible:
$ wget http://repo.ieero.com/pool/main/l/linux-upstream/linux-image-4.0.0-botic5_1cross_armhf.deb
$ ar x linux-image-4.0.0-botic5_1cross_armhf.deb
$ tar xvzf data.tar.gz
this will extract:
- (kernel zImage) ./boot/vmlinuz-4.0.0-botic5 ... where to place this depends on distro
- (dtb file) ./boot/dtbs/4.0.0-botic5/am335x-boneblack-botic.dtb ... where to place this depends on distro
- (modules directory) ./lib/modules/4.0.0-botic5/ ... just copy to /lib/modules/4.0.0-botic5/ directory
Using these files you should be able to use botic driver on any other distribution.
Hi Miero,
I've installed the latest BBB Debian Jessie image (bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img)
http://beagleboard.org/latest-images , and performed your three commands. above.
What do you suggested above with: "where to place this", can you give us some more detail on what else needs to be done.?I don't have a MPD.conf, uEnv.txt.. in the right places like with your standard images.
I've gotten a little further. Reading through the Google Doc linked on http://bbb.ieero.com/
Using the Jessie distro, I get as far as
root@beaglebone:~/source/boticize# ./02-install.sh
but get stuck at:
I'm also trying the Wheezy 7.9 version, see if that will work with MPD/PCM to start with.
Using the Jessie distro, I get as far as
root@beaglebone:~/source/boticize# ./02-install.sh
but get stuck at:
The following packages have unmet dependencies:
mpd : Depends: libavcodec55 (>= 6:10~beta1~) but it is not installable or
libavcodec-extra-55 (>= 6:10.1) but it is not installable
Depends: libavformat55 (>= 6:10~beta1~) but it is not installable
Depends: libavutil53 (>= 6:10~beta1~) but it is not installable
Depends: libmikmod2 (>= 3.1.10) but it is not installable
E: Unable to correct problems, you have held broken packages.
I'm investigating which version/repository to use.mpd : Depends: libavcodec55 (>= 6:10~beta1~) but it is not installable or
libavcodec-extra-55 (>= 6:10.1) but it is not installable
Depends: libavformat55 (>= 6:10~beta1~) but it is not installable
Depends: libavutil53 (>= 6:10~beta1~) but it is not installable
Depends: libmikmod2 (>= 3.1.10) but it is not installable
E: Unable to correct problems, you have held broken packages.
I'm also trying the Wheezy 7.9 version, see if that will work with MPD/PCM to start with.
It will not work, at least not MPD, it must be recompiled.
And for BBB you need to use MPD that has DSD support and Real-Time patch applied.
First, you will need to install DEB packages of ALSA patched for DSD:
- http://www.sonarnerd.net/src/jessie/libasound2_1.0.28-1jl1_armel.deb
- http://www.sonarnerd.net/src/jessie/libasound2-dev_1.0.28-1jl1_armel.deb
- http://www.sonarnerd.net/src/jessie/libasound2-data_1.0.28-1jl1_all.deb
Download and install using:
dpkg -i libasound2_1.0.28-1jl1_armel.deb libasound2-dev_1.0.28-1jl1_armel.deb libasound2-data_1.0.28-1jl1_all.deb
Then you can try to compile the same version of MPD as is in Botic5 using these scripts:
- http://bbb.ieero.com/boticize/jessie/01-add-src-repo.sh
- http://bbb.ieero.com/boticize/jessie/02-build-mpd-dsd.sh
It will take much time and disk space on the BBB, use large SD card for this.
If it completes without errors, then in the current directory there should be generated DEB package mpd_0.18.22-dsd-rt-4_armhf.deb, which can be installed using:
dpkg -i mpd_0.18.22-dsd-rt-4_armhf.deb
After installation this could work as in botic4/botic5, probably one exception, not 352.8/384kHz rates.
Notice: No warranty! I've not tested this.
And for BBB you need to use MPD that has DSD support and Real-Time patch applied.
First, you will need to install DEB packages of ALSA patched for DSD:
- http://www.sonarnerd.net/src/jessie/libasound2_1.0.28-1jl1_armel.deb
- http://www.sonarnerd.net/src/jessie/libasound2-dev_1.0.28-1jl1_armel.deb
- http://www.sonarnerd.net/src/jessie/libasound2-data_1.0.28-1jl1_all.deb
Download and install using:
dpkg -i libasound2_1.0.28-1jl1_armel.deb libasound2-dev_1.0.28-1jl1_armel.deb libasound2-data_1.0.28-1jl1_all.deb
Then you can try to compile the same version of MPD as is in Botic5 using these scripts:
- http://bbb.ieero.com/boticize/jessie/01-add-src-repo.sh
- http://bbb.ieero.com/boticize/jessie/02-build-mpd-dsd.sh
It will take much time and disk space on the BBB, use large SD card for this.
If it completes without errors, then in the current directory there should be generated DEB package mpd_0.18.22-dsd-rt-4_armhf.deb, which can be installed using:
dpkg -i mpd_0.18.22-dsd-rt-4_armhf.deb
After installation this could work as in botic4/botic5, probably one exception, not 352.8/384kHz rates.
Notice: No warranty! I've not tested this.
Last edited:
Good stuff Stijn. Looks like we're about in the same place.
As I understand a .sh file is just a plain text collection of command line commands. So if it fails you can probably open the file and run each part individually until you see what the problem is. It looks like the issue is with installing mpd. Do you actually need that if the plan is to use it as NAA?
I found a nice guide here which also documents installing the botic driver.
https://hifiduino.wordpress.com/2014/03/27/beaglebone-black-navigating-the-audio-maze/
OK so it's v3 but it gives a little background and shows how to test it's working, so maybe it's helpful?
As I understand a .sh file is just a plain text collection of command line commands. So if it fails you can probably open the file and run each part individually until you see what the problem is. It looks like the issue is with installing mpd. Do you actually need that if the plan is to use it as NAA?
I found a nice guide here which also documents installing the botic driver.
https://hifiduino.wordpress.com/2014/03/27/beaglebone-black-navigating-the-audio-maze/
OK so it's v3 but it gives a little background and shows how to test it's working, so maybe it's helpful?
Thanks Miero. To be honest I’m not sure MPD is needed for a NAA build, but I assumed so, since it seemed to be the case fort he Squeezelite combination.
The other thing I noticed was that with any of the Boticizer scripts, the Uenv.txt in /boot &/boot/Uboot are not updated. For example in my case the name_r variable is not changed.
I hope to give your suggestions a try on Sunday.
@James, thanks, some intresting suggestions, uncomment HDMI, and #/depmod -a etc.., which make sense.
The other thing I noticed was that with any of the Boticizer scripts, the Uenv.txt in /boot &/boot/Uboot are not updated. For example in my case the name_r variable is not changed.
I hope to give your suggestions a try on Sunday.
@James, thanks, some intresting suggestions, uncomment HDMI, and #/depmod -a etc.., which make sense.
Thanks Miero,First, you will need to install DEB packages of ALSA patched for DSD:
- http://www.sonarnerd.net/src/jessie/libasound2_1.0.28-1jl1_armel.deb
- http://www.sonarnerd.net/src/jessie/libasound2-dev_1.0.28-1jl1_armel.deb
- http://www.sonarnerd.net/src/jessie/libasound2-data_1.0.28-1jl1_all.deb
Download and install using:
dpkg -i libasound2_1.0.28-1jl1_armel.deb libasound2-dev_1.0.28-1jl1_armel.deb libasound2-data_1.0.28-1jl1_all.deb
Then you can try to compile the same version of MPD as is in Botic5 using these scripts:
- http://bbb.ieero.com/boticize/jessie/01-add-src-repo.sh
- http://bbb.ieero.com/boticize/jessie/02-build-mpd-dsd.sh
if I start with the same official BBB Jessie image as Stijn and I wget these 3 .deb files from Underworld / Main and then install them, there is an error
Code:
package architecture (armel) does not match system (armhf)
So I tried to force the install by using dpkg -i --force-architecture and this time it will start to install, but then gives the error
Code:
dpkg: error processing package libasound2:armel (--install):
package libasound2:armel 1.0.28-1jl1 cannot be configured because libasound2:armhf is at a different version (1.0.28-1)
dpkg: error processing package libasound2:armhf (--install):
package libasound2:armhf 1.0.28-1 cannot be configured because libasound2:armel is at a different version (1.0.28-1jl1)
what am I missing?
thanks,
James
I made some progress, any comments? Is there some ALSA setting still missing in the outline below?
# 1 - Installed Jessie/Debian 8.3
# 2 - Install HQPlayer NAA:
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/gcc-5-base_5.3.1-8_armhf.deb
sudo dpkg –i gcc-5-base_5.3.1-8_armhf.deb
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/libstdc++6_5.3.1-8_armhf.deb
sudo dpkg –i libstdc++6_5.3.1-8_armhf.deb
wget https://www.signalyst.eu/bins/naa/v3/stretch/networkaudiod_3.1.1-27_armhf.deb
sudo dpkg -i networkaudiod_3.1.1-27_armhf.deb
# 3 - Installed Botic
wget http://repo.ieero.com/pool/main/l/li...ross_armhf.deb
ar x linux-image-4.0.0-botic5_1cross_armhf.deb
tar xvzf data.tar.gz
# 4 - Edited /boot/Uenv.txt
uname_r=4.0.0-botic5
##Disable HDMI (v3.8.x)
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
# 5 - Copied images
cp -f /boot/vmlinuz-4.0.0-botic5 /boot/zImage
cp -f /boot/dtbs/4.0.0-botic5/am335x-boneblack.dtb /boot/dtbs/am335x-boneblack.dtb
# 6 - added/Edited: /boot/Uboot/Uenv.txt
(see attachment)
CL outputs:
root@beaglebone:/usr/sbin# uname -r
4.0.0-botic5
root@beaglebone:/usr/sbin# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Botic [Botic], device 0: external dac-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
When running NAA:
HQplayer shows: "default Botic"
root@beaglebone:/usr/sbin# ./networkaudiod
[./networkaudiod] (1276): networkaudiod Copyright (C) 2011-2015 Jussi Laako / Signalyst. All rights reserved.
[./networkaudiod] (1276): asoundlib version: 1.0.28
[./networkaudiod] (1276): discovery from 192.168.178.23:57309
[./networkaudiod] (1276): connection from 192.168.178.23:50080
[./networkaudiod] (1276): Found ALSA device: hw:0,0 - Botic:
[./networkaudiod] (1276): begin disconnection
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): disconnected 192.168.178.23:50080
[./networkaudiod] (1276): connection from 192.168.178.23:50081
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): Set channels: 2 (2)
[./networkaudiod] (1276): ALSA device: hw:0,0
[./networkaudiod] (1276): ALSA access mode: 3
[./networkaudiod] (1276): ALSA PCM format: S24_3LE
[./networkaudiod] (1276): ALSA PCM bits: 24
[./networkaudiod] (1276): ALSA PCM physical width: 24
[./networkaudiod] (1276): ALSA PCM rates: 0 - 4
[./networkaudiod] (1276): ALSA DSD format:
[./networkaudiod] (1276): initialization failure: clALSAMiniEngine::Initialize(): snd_pcm_format_physical_width(): Invalid argument
# 1 - Installed Jessie/Debian 8.3
# 2 - Install HQPlayer NAA:
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/gcc-5-base_5.3.1-8_armhf.deb
sudo dpkg –i gcc-5-base_5.3.1-8_armhf.deb
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/libstdc++6_5.3.1-8_armhf.deb
sudo dpkg –i libstdc++6_5.3.1-8_armhf.deb
wget https://www.signalyst.eu/bins/naa/v3/stretch/networkaudiod_3.1.1-27_armhf.deb
sudo dpkg -i networkaudiod_3.1.1-27_armhf.deb
# 3 - Installed Botic
wget http://repo.ieero.com/pool/main/l/li...ross_armhf.deb
ar x linux-image-4.0.0-botic5_1cross_armhf.deb
tar xvzf data.tar.gz
# 4 - Edited /boot/Uenv.txt
uname_r=4.0.0-botic5
##Disable HDMI (v3.8.x)
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
# 5 - Copied images
cp -f /boot/vmlinuz-4.0.0-botic5 /boot/zImage
cp -f /boot/dtbs/4.0.0-botic5/am335x-boneblack.dtb /boot/dtbs/am335x-boneblack.dtb
# 6 - added/Edited: /boot/Uboot/Uenv.txt
(see attachment)
CL outputs:
root@beaglebone:/usr/sbin# uname -r
4.0.0-botic5
root@beaglebone:/usr/sbin# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Botic [Botic], device 0: external dac-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
When running NAA:
HQplayer shows: "default Botic"

root@beaglebone:/usr/sbin# ./networkaudiod
[./networkaudiod] (1276): networkaudiod Copyright (C) 2011-2015 Jussi Laako / Signalyst. All rights reserved.
[./networkaudiod] (1276): asoundlib version: 1.0.28
[./networkaudiod] (1276): discovery from 192.168.178.23:57309
[./networkaudiod] (1276): connection from 192.168.178.23:50080
[./networkaudiod] (1276): Found ALSA device: hw:0,0 - Botic:
[./networkaudiod] (1276): begin disconnection
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): disconnected 192.168.178.23:50080
[./networkaudiod] (1276): connection from 192.168.178.23:50081
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): Set channels: 2 (2)
[./networkaudiod] (1276): ALSA device: hw:0,0
[./networkaudiod] (1276): ALSA access mode: 3
[./networkaudiod] (1276): ALSA PCM format: S24_3LE
[./networkaudiod] (1276): ALSA PCM bits: 24
[./networkaudiod] (1276): ALSA PCM physical width: 24
[./networkaudiod] (1276): ALSA PCM rates: 0 - 4
[./networkaudiod] (1276): ALSA DSD format:
[./networkaudiod] (1276): initialization failure: clALSAMiniEngine::Initialize(): snd_pcm_format_physical_width(): Invalid argument
Attachments
Last edited:
nice work Stijn! 🙂
Does the NAA install networkaudiod_3.1.1-27_armhf.deb also contain the ARMHF version of the DSD-patched libasound2 ALSA files?
I tried a few sources but I couldn't see this DSD patched libasound2 available separately for ARMHF, so I wondered if Jussi had rolled it into this NAA install?
Does the NAA install networkaudiod_3.1.1-27_armhf.deb also contain the ARMHF version of the DSD-patched libasound2 ALSA files?
I tried a few sources but I couldn't see this DSD patched libasound2 available separately for ARMHF, so I wondered if Jussi had rolled it into this NAA install?
I made some progress, any comments? Is there some ALSA setting still missing in the outline below?
# 1 - Installed Jessie/Debian 8.3
# 2 - Install HQPlayer NAA:
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/gcc-5-base_5.3.1-8_armhf.deb
sudo dpkg –i gcc-5-base_5.3.1-8_armhf.deb
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/libstdc++6_5.3.1-8_armhf.deb
sudo dpkg –i libstdc++6_5.3.1-8_armhf.deb
wget https://www.signalyst.eu/bins/naa/v3/stretch/networkaudiod_3.1.1-27_armhf.deb
sudo dpkg -i networkaudiod_3.1.1-27_armhf.deb
# 3 - Installed Botic
wget http://repo.ieero.com/pool/main/l/li...ross_armhf.deb
ar x linux-image-4.0.0-botic5_1cross_armhf.deb
tar xvzf data.tar.gz
# 4 - Edited /boot/Uenv.txt
uname_r=4.0.0-botic5
##Disable HDMI (v3.8.x)
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
# 5 - Copied images
cp -f /boot/vmlinuz-4.0.0-botic5 /boot/zImage
cp -f /boot/dtbs/4.0.0-botic5/am335x-boneblack.dtb /boot/dtbs/am335x-boneblack.dtb
# 6 - added/Edited: /boot/Uboot/Uenv.txt
(see attachment)
CL outputs:
root@beaglebone:/usr/sbin# uname -r
4.0.0-botic5
root@beaglebone:/usr/sbin# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Botic [Botic], device 0: external dac-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
When running NAA:
HQplayer shows: "default Botic"
An externally hosted image should be here but it was not working when we last tested it.
root@beaglebone:/usr/sbin# ./networkaudiod
[./networkaudiod] (1276): networkaudiod Copyright (C) 2011-2015 Jussi Laako / Signalyst. All rights reserved.
[./networkaudiod] (1276): asoundlib version: 1.0.28
[./networkaudiod] (1276): discovery from 192.168.178.23:57309
[./networkaudiod] (1276): connection from 192.168.178.23:50080
[./networkaudiod] (1276): Found ALSA device: hw:0,0 - Botic:
[./networkaudiod] (1276): begin disconnection
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): disconnected 192.168.178.23:50080
[./networkaudiod] (1276): connection from 192.168.178.23:50081
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): Set channels: 2 (2)
[./networkaudiod] (1276): ALSA device: hw:0,0
[./networkaudiod] (1276): ALSA access mode: 3
[./networkaudiod] (1276): ALSA PCM format: S24_3LE
[./networkaudiod] (1276): ALSA PCM bits: 24
[./networkaudiod] (1276): ALSA PCM physical width: 24
[./networkaudiod] (1276): ALSA PCM rates: 0 - 4
[./networkaudiod] (1276): ALSA DSD format:
[./networkaudiod] (1276): initialization failure: clALSAMiniEngine::Initialize(): snd_pcm_format_physical_width(): Invalid argument
That's about as far as I got Stijn.
Ray
I'm not giving up just yet.. ;-)
My next idea, update sourcelist repos. to stretch..
Update system
install:
alsa-lib-1.0.29
This Italien guy had the same problem:
HQPlayer: Introduzione e Indice argomenti - Pagina 98
...and seems to have solved it.
HQPlayer: Introduzione e Indice argomenti - Pagina 99
This seems to be Jussi's main support threat, but my Italien is letting me down..
I think some ALSA stuff is missing
alsa-lib-1.1.0
If that fails, use a Volumio build as a mule and install Botic and NAA on top.
My next idea, update sourcelist repos. to stretch..
Update system
install:
alsa-lib-1.0.29
This Italien guy had the same problem:
HQPlayer: Introduzione e Indice argomenti - Pagina 98
...and seems to have solved it.
HQPlayer: Introduzione e Indice argomenti - Pagina 99
This seems to be Jussi's main support threat, but my Italien is letting me down..
I think some ALSA stuff is missing
alsa-lib-1.1.0
If that fails, use a Volumio build as a mule and install Botic and NAA on top.
Last edited:
nice work Stijn! 🙂
Does the NAA install networkaudiod_3.1.1-27_armhf.deb also contain the ARMHF version of the DSD-patched libasound2 ALSA files?
I tried a few sources but I couldn't see this DSD patched libasound2 available separately for ARMHF, so I wondered if Jussi had rolled it into this NAA install?
To start with ,I'm trying to get PCM to work. Jussie has an even newer version from the one which I have used.
Jussi has published a lot of new updates lately
Index of /debian/pool/main/g/gcc-5/ &gcc-6
Last edited:
I'm not giving up just yet.. ;-)
I'm glad to hear that.
I just didn't know enough Linux to know how to take this forward but it would be excellent if somebody could crack it.
Stick at it while you feel able.
Ray
Meiro, I had some feedback from Micka. Accoordign to him it should work with main alsa-lib_1.0.29.
Installing NAA and loading the patched alsa-lib_1.0.28 and libasound2-doc_1.0.28, like below. NAA works fine. However the Botic install seems to break it.
+++++++++++++++++++++++++++++++++++
# Install Jessie 8.3
# Grow partition
./opt/scripts/tools/grow_partition.sh
# 1 - Load patched Alsa-lib
wget [url]http://www.sonarnerd.net/src/jessie/alsa-lib_1.0.28.orig.tar.bz2[/URL]
tar -xjf alsa-lib_1.0.28.orig.tar.bz2
cd /alsa-lib_1.0.28
./configure
make install
# 2 - install libasound2
wget [url]http://www.sonarnerd.net/src/jessie/libasound2-doc_1.0.28-1jl1_all.deb[/URL]
dpkg –i libasound2-doc_1.0.28-1jl1_all.deb
# Test HQPlayer:
[./networkaudiod] (4255): ALSA engine started at: 96000 (96000)
[./networkaudiod] (4255): enter streaming mode
[./networkaudiod] (4255): ALSA engine running...
[./networkaudiod] (4255): leave streaming mode
[./networkaudiod] (4255): stop
[./networkaudiod] (4255): ALSA engine stopping...
[./networkaudiod] (4255): ALSA engine stop request...
[./networkaudiod] (4255): ALSA engine stopped
# 3 - Install botic
wget [url]http://repo.ieero.com/pool/main/l/linux-upstream/linux-image-4.0.0-botic5_1cross_armhf.deb[/URL]
ar x linux-image-4.0.0-botic5_1cross_armhf.deb
tar xvzf data.tar.gz
etc..
root@beaglebone:/usr/sbin# ./networkaudiod
[./networkaudiod] (1276): networkaudiod Copyright (C) 2011-2015 Jussi Laako / Signalyst. All rights reserved.
[./networkaudiod] (1276): asoundlib version: 1.0.28
[./networkaudiod] (1276): discovery from 192.168.178.23:57309
[./networkaudiod] (1276): connection from 192.168.178.23:50080
[./networkaudiod] (1276): Found ALSA device: hw:0,0 - Botic:
[./networkaudiod] (1276): begin disconnection
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): disconnected 192.168.178.23:50080
[./networkaudiod] (1276): connection from 192.168.178.23:50081
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): Set channels: 2 (2)
[./networkaudiod] (1276): ALSA device: hw:0,0
[./networkaudiod] (1276): ALSA access mode: 3
[./networkaudiod] (1276): ALSA PCM format: S24_3LE
[./networkaudiod] (1276): ALSA PCM bits: 24
[./networkaudiod] (1276): ALSA PCM physical width: 24
[./networkaudiod] (1276): ALSA PCM rates: 0 - 4
[./networkaudiod] (1276): ALSA DSD format:
[./networkaudiod] (1276): initialization failure: clALSAMiniEngine::Initialize(): snd_pcm_format_physical_width(): Invalid argument
Installing NAA and loading the patched alsa-lib_1.0.28 and libasound2-doc_1.0.28, like below. NAA works fine. However the Botic install seems to break it.
+++++++++++++++++++++++++++++++++++
# Install Jessie 8.3
# Grow partition
./opt/scripts/tools/grow_partition.sh
# 1 - Load patched Alsa-lib
wget [url]http://www.sonarnerd.net/src/jessie/alsa-lib_1.0.28.orig.tar.bz2[/URL]
tar -xjf alsa-lib_1.0.28.orig.tar.bz2
cd /alsa-lib_1.0.28
./configure
make install
# 2 - install libasound2
wget [url]http://www.sonarnerd.net/src/jessie/libasound2-doc_1.0.28-1jl1_all.deb[/URL]
dpkg –i libasound2-doc_1.0.28-1jl1_all.deb
# Test HQPlayer:
[./networkaudiod] (4255): ALSA engine started at: 96000 (96000)
[./networkaudiod] (4255): enter streaming mode
[./networkaudiod] (4255): ALSA engine running...
[./networkaudiod] (4255): leave streaming mode
[./networkaudiod] (4255): stop
[./networkaudiod] (4255): ALSA engine stopping...
[./networkaudiod] (4255): ALSA engine stop request...
[./networkaudiod] (4255): ALSA engine stopped
# 3 - Install botic
wget [url]http://repo.ieero.com/pool/main/l/linux-upstream/linux-image-4.0.0-botic5_1cross_armhf.deb[/URL]
ar x linux-image-4.0.0-botic5_1cross_armhf.deb
tar xvzf data.tar.gz
etc..
root@beaglebone:/usr/sbin# ./networkaudiod
[./networkaudiod] (1276): networkaudiod Copyright (C) 2011-2015 Jussi Laako / Signalyst. All rights reserved.
[./networkaudiod] (1276): asoundlib version: 1.0.28
[./networkaudiod] (1276): discovery from 192.168.178.23:57309
[./networkaudiod] (1276): connection from 192.168.178.23:50080
[./networkaudiod] (1276): Found ALSA device: hw:0,0 - Botic:
[./networkaudiod] (1276): begin disconnection
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): disconnected 192.168.178.23:50080
[./networkaudiod] (1276): connection from 192.168.178.23:50081
[./networkaudiod] (1276): ALSA backend uninitialized
[./networkaudiod] (1276): Set channels: 2 (2)
[./networkaudiod] (1276): ALSA device: hw:0,0
[./networkaudiod] (1276): ALSA access mode: 3
[./networkaudiod] (1276): ALSA PCM format: S24_3LE
[./networkaudiod] (1276): ALSA PCM bits: 24
[./networkaudiod] (1276): ALSA PCM physical width: 24
[./networkaudiod] (1276): ALSA PCM rates: 0 - 4
[./networkaudiod] (1276): ALSA DSD format:
[./networkaudiod] (1276): initialization failure: clALSAMiniEngine::Initialize(): snd_pcm_format_physical_width(): Invalid argument
Please try NAA with S24_LE or S32_LE format.
Miska has just replied:
"You cannot, the best format claimed by the driver is used...
Last time someone got the Botic driver working, it didn't correctly describe the hardware capabilities and thus ended up being incompatible. Maybe it has improved since, I don't know. "
HQPlayer's Network Audio Adapter - Page 49
Cracked it!
Loading the Patched NAA ALSA files made it work:
[./networkaudiod] (3565): Found ALSA device: hw:0,0 - Botic:
[./networkaudiod] (3565): begin disconnection
[./networkaudiod] (3565): ALSA backend uninitialized
[./networkaudiod] (3565): disconnected 192.168.178.22:49540
[./networkaudiod] (3565): connection from 192.168.178.22:49541
[./networkaudiod] (3565): ALSA backend uninitialized
[./networkaudiod] (3565): Set channels: 2 (2)
[./networkaudiod] (3565): ALSA device: hw:0,0
[./networkaudiod] (3565): ALSA access mode: 3
[./networkaudiod] (3565): ALSA PCM format: S24_3LE
[./networkaudiod] (3565): ALSA PCM bits: 24
[./networkaudiod] (3565): ALSA PCM physical width: 24
[./networkaudiod] (3565): ALSA PCM rates: 0 - 4
[./networkaudiod] (3565): ALSA DSD format: DSD_U32_LE
[./networkaudiod] (3565): ALSA DSD bits: 32
[./networkaudiod] (3565): ALSA DSD physical width: 32
[./networkaudiod] (3565): ALSA DSD rates: 0 - 4294967264
[./networkaudiod] (3565): ALSA rate available: 32000
[./networkaudiod] (3565): ALSA rate available: 44100
[./networkaudiod] (3565): ALSA rate available: 48000
[./networkaudiod] (3565): ALSA rate available: 64000
[./networkaudiod] (3565): ALSA rate available: 88200
[./networkaudiod] (3565): ALSA rate available: 96000
[./networkaudiod] (3565): ALSA rate available: 128000
[./networkaudiod] (3565): ALSA rate available: 176400
[./networkaudiod] (3565): ALSA rate available: 192000
[./networkaudiod] (3565): ALSA rate available: 256000
[./networkaudiod] (3565): ALSA rate available: 352800
[./networkaudiod] (3565): ALSA rate available: 384000
[./networkaudiod] (3565): ALSA rate available: 512000
[./networkaudiod] (3565): ALSA rate available: 705600
[./networkaudiod] (3565): ALSA rate available: 768000
[./networkaudiod] (3565): ALSA rate available: 1024000
[./networkaudiod] (3565): ALSA rate available: 1411200
[./networkaudiod] (3565): ALSA rate available: 1536000
[./networkaudiod] (3565): ALSA backend initialized
[./networkaudiod] (3565): ALSA PCM format available: 32000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 44100/24/2
[./networkaudiod] (3565): ALSA PCM format available: 48000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 64000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 88200/24/2
[./networkaudiod] (3565): ALSA PCM format available: 96000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 128000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 176400/24/2
[./networkaudiod] (3565): ALSA PCM format available: 192000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 256000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 352800/24/2
[./networkaudiod] (3565): ALSA PCM format available: 384000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 512000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 705600/24/2
[./networkaudiod] (3565): ALSA PCM format available: 768000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 1024000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 1411200/24/2
[./networkaudiod] (3565): ALSA PCM format available: 1536000/24/2
[./networkaudiod] (3565): ALSA DSD format available: 2048000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 2822400/1/2
[./networkaudiod] (3565): ALSA DSD format available: 3072000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 4096000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 5644800/1/2
[./networkaudiod] (3565): ALSA DSD format available: 6144000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 8192000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 11289600/1/2
[./networkaudiod] (3565): ALSA DSD format available: 12288000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 16384000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 22579200/1/2
[./networkaudiod] (3565): ALSA DSD format available: 24576000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 32768000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 45158400/1/2
[./networkaudiod] (3565): ALSA DSD format available: 49152000/1/2
[./networkaudiod] (3565): start 44100/24/2 [pcm]
[./networkaudiod] (3565): Set channels: 2 (2)
[./networkaudiod] (3565): Set sampling rate: 44100 (44100)
[./networkaudiod] (3565): ALSA engine starting...
[./networkaudiod] (3565): ALSA channels: 2 - 8
[./networkaudiod] (3565): ALSA active channels: 2
[./networkaudiod] (3565): ALSA number of periods: 16
[./networkaudiod] (3565): ALSA period times: 136 - 30953
[./networkaudiod] (3565): ALSA period sizes: 6 - 1365
[./networkaudiod] (3565): ALSA period time: 30952
[./networkaudiod] (3565): ALSA period size: 1365
[./networkaudiod] (3565): ALSA engine started at: 44100 (44100)
[./networkaudiod] (3565): enter streaming mode
[./networkaudiod] (3565): ALSA engine running...
[./networkaudiod] (3565): leave streaming mode
[./networkaudiod] (3565): stop
+++++++++++++++++++++++++++++++++++++++
# 1 - Install Jessie 8.3
# 2 - Grow partition !!
./opt/scripts/tools/grow_partition.sh
# 3 - Install NAA
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/gcc-5-base_5.3.1-8_armhf.deb
sudo dpkg –i gcc-5-base_5.3.1-8_armhf.deb
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/libstdc++6_5.3.1-8_armhf.deb
sudo dpkg –i libstdc++6_5.3.1-8_armhf.deb
wget https://www.signalyst.eu/bins/naa/v3/stretch/networkaudiod_3.1.1-27_armhf.deb
sudo dpkg -i networkaudiod_3.1.1-27_armhf.deb
#Test: /usr/sbin/networkaudiod
# 4 - Installed Botic
wget http://repo.ieero.com/pool/main/l/linux-upstream/linux-image-4.0.0-botic5_1cross_armhf.deb
ar x linux-image-4.0.0-botic5_1cross_armhf.deb
tar xvzf data.tar.gz
# 5 - Edited /boot/Uenv.txt
uname_r=4.0.0-botic5
##Disable HDMI (v3.8.x)
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
# 6 - Copied images
cp -f /boot/vmlinuz-4.0.0-botic5 /boot/zImage
cp -f /boot/dtbs/4.0.0-botic5/am335x-boneblack.dtb /boot/dtbs/am335x-boneblack.dtb
# 7 - added/Edited: /boot/Uboot/Uenv.txt
# 8 - Patch Alsa-lib (MISKA)
apt-get install dpkg-dev
apt-get build-dep alsa-lib
wget http://www.sonarnerd.net/src/jessie/alsa-lib_1.0.28-1jl1.debian.tar.xz http://www.sonarnerd.net/src/jessie/alsa-lib_1.0.28-1jl1.dsc http://www.sonarnerd.net/src/jessie/alsa-lib_1.0.28.orig.tar.bz2
dpkg-source -x alsa-lib_1.0.28-1jl1.dsc
cd alsa-lib-1.0.28
dpkg-buildpackage -rfakeroot -b -tc
cd ..
dpkg -i libasound2_1.0.28-1jl1_armhf.deb libasound2-data_1.0.28-1jl1_all.deb
# 9 - Start NAA
/usr/sbin/networkaudiod
Loading the Patched NAA ALSA files made it work:
[./networkaudiod] (3565): Found ALSA device: hw:0,0 - Botic:
[./networkaudiod] (3565): begin disconnection
[./networkaudiod] (3565): ALSA backend uninitialized
[./networkaudiod] (3565): disconnected 192.168.178.22:49540
[./networkaudiod] (3565): connection from 192.168.178.22:49541
[./networkaudiod] (3565): ALSA backend uninitialized
[./networkaudiod] (3565): Set channels: 2 (2)
[./networkaudiod] (3565): ALSA device: hw:0,0
[./networkaudiod] (3565): ALSA access mode: 3
[./networkaudiod] (3565): ALSA PCM format: S24_3LE
[./networkaudiod] (3565): ALSA PCM bits: 24
[./networkaudiod] (3565): ALSA PCM physical width: 24
[./networkaudiod] (3565): ALSA PCM rates: 0 - 4
[./networkaudiod] (3565): ALSA DSD format: DSD_U32_LE
[./networkaudiod] (3565): ALSA DSD bits: 32
[./networkaudiod] (3565): ALSA DSD physical width: 32
[./networkaudiod] (3565): ALSA DSD rates: 0 - 4294967264
[./networkaudiod] (3565): ALSA rate available: 32000
[./networkaudiod] (3565): ALSA rate available: 44100
[./networkaudiod] (3565): ALSA rate available: 48000
[./networkaudiod] (3565): ALSA rate available: 64000
[./networkaudiod] (3565): ALSA rate available: 88200
[./networkaudiod] (3565): ALSA rate available: 96000
[./networkaudiod] (3565): ALSA rate available: 128000
[./networkaudiod] (3565): ALSA rate available: 176400
[./networkaudiod] (3565): ALSA rate available: 192000
[./networkaudiod] (3565): ALSA rate available: 256000
[./networkaudiod] (3565): ALSA rate available: 352800
[./networkaudiod] (3565): ALSA rate available: 384000
[./networkaudiod] (3565): ALSA rate available: 512000
[./networkaudiod] (3565): ALSA rate available: 705600
[./networkaudiod] (3565): ALSA rate available: 768000
[./networkaudiod] (3565): ALSA rate available: 1024000
[./networkaudiod] (3565): ALSA rate available: 1411200
[./networkaudiod] (3565): ALSA rate available: 1536000
[./networkaudiod] (3565): ALSA backend initialized
[./networkaudiod] (3565): ALSA PCM format available: 32000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 44100/24/2
[./networkaudiod] (3565): ALSA PCM format available: 48000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 64000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 88200/24/2
[./networkaudiod] (3565): ALSA PCM format available: 96000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 128000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 176400/24/2
[./networkaudiod] (3565): ALSA PCM format available: 192000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 256000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 352800/24/2
[./networkaudiod] (3565): ALSA PCM format available: 384000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 512000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 705600/24/2
[./networkaudiod] (3565): ALSA PCM format available: 768000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 1024000/24/2
[./networkaudiod] (3565): ALSA PCM format available: 1411200/24/2
[./networkaudiod] (3565): ALSA PCM format available: 1536000/24/2
[./networkaudiod] (3565): ALSA DSD format available: 2048000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 2822400/1/2
[./networkaudiod] (3565): ALSA DSD format available: 3072000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 4096000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 5644800/1/2
[./networkaudiod] (3565): ALSA DSD format available: 6144000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 8192000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 11289600/1/2
[./networkaudiod] (3565): ALSA DSD format available: 12288000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 16384000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 22579200/1/2
[./networkaudiod] (3565): ALSA DSD format available: 24576000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 32768000/1/2
[./networkaudiod] (3565): ALSA DSD format available: 45158400/1/2
[./networkaudiod] (3565): ALSA DSD format available: 49152000/1/2
[./networkaudiod] (3565): start 44100/24/2 [pcm]
[./networkaudiod] (3565): Set channels: 2 (2)
[./networkaudiod] (3565): Set sampling rate: 44100 (44100)
[./networkaudiod] (3565): ALSA engine starting...
[./networkaudiod] (3565): ALSA channels: 2 - 8
[./networkaudiod] (3565): ALSA active channels: 2
[./networkaudiod] (3565): ALSA number of periods: 16
[./networkaudiod] (3565): ALSA period times: 136 - 30953
[./networkaudiod] (3565): ALSA period sizes: 6 - 1365
[./networkaudiod] (3565): ALSA period time: 30952
[./networkaudiod] (3565): ALSA period size: 1365
[./networkaudiod] (3565): ALSA engine started at: 44100 (44100)
[./networkaudiod] (3565): enter streaming mode
[./networkaudiod] (3565): ALSA engine running...
[./networkaudiod] (3565): leave streaming mode
[./networkaudiod] (3565): stop
+++++++++++++++++++++++++++++++++++++++
# 1 - Install Jessie 8.3
# 2 - Grow partition !!
./opt/scripts/tools/grow_partition.sh
# 3 - Install NAA
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/gcc-5-base_5.3.1-8_armhf.deb
sudo dpkg –i gcc-5-base_5.3.1-8_armhf.deb
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-5/libstdc++6_5.3.1-8_armhf.deb
sudo dpkg –i libstdc++6_5.3.1-8_armhf.deb
wget https://www.signalyst.eu/bins/naa/v3/stretch/networkaudiod_3.1.1-27_armhf.deb
sudo dpkg -i networkaudiod_3.1.1-27_armhf.deb
#Test: /usr/sbin/networkaudiod
# 4 - Installed Botic
wget http://repo.ieero.com/pool/main/l/linux-upstream/linux-image-4.0.0-botic5_1cross_armhf.deb
ar x linux-image-4.0.0-botic5_1cross_armhf.deb
tar xvzf data.tar.gz
# 5 - Edited /boot/Uenv.txt
uname_r=4.0.0-botic5
##Disable HDMI (v3.8.x)
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
# 6 - Copied images
cp -f /boot/vmlinuz-4.0.0-botic5 /boot/zImage
cp -f /boot/dtbs/4.0.0-botic5/am335x-boneblack.dtb /boot/dtbs/am335x-boneblack.dtb
# 7 - added/Edited: /boot/Uboot/Uenv.txt
# 8 - Patch Alsa-lib (MISKA)
apt-get install dpkg-dev
apt-get build-dep alsa-lib
wget http://www.sonarnerd.net/src/jessie/alsa-lib_1.0.28-1jl1.debian.tar.xz http://www.sonarnerd.net/src/jessie/alsa-lib_1.0.28-1jl1.dsc http://www.sonarnerd.net/src/jessie/alsa-lib_1.0.28.orig.tar.bz2
dpkg-source -x alsa-lib_1.0.28-1jl1.dsc
cd alsa-lib-1.0.28
dpkg-buildpackage -rfakeroot -b -tc
cd ..
dpkg -i libasound2_1.0.28-1jl1_armhf.deb libasound2-data_1.0.28-1jl1_all.deb
# 9 - Start NAA
/usr/sbin/networkaudiod
An externally hosted image should be here but it was not working when we last tested it.
Last edited:
- Home
- More Vendors...
- Twisted Pear
- Support for Botic Linux driver