setup issue

Moderator: flatmax

Post Reply
Christine
Posts: 4
Joined: Thu Aug 17, 2017 6:54 am

setup issue

Post by Christine » Thu Aug 17, 2017 6:58 am

I followed the setup instructions, I removed pulseaudio from the pi, but the installer still stops saying I need to remove pulseaudio. It also said it couldn't find lxpanel. The file it wanted to update isn't on my pi, I created the file to make the installer continue.

The card does work though. I don't know if it works fully. Do I need to run the installer, or not, if the card produces sound?

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

Re: setup issue

Post by flatmax » Wed Aug 23, 2017 10:21 am

Hi, good to know it works.

Can you please give the output of aplay -l and aplay -L ?

One test is to see if you can play a 1 channel audio file and an 8 channel audio file ? This would test that the "anyChannelCount" plugin is the default plugin. You could also check the contents of the file .asoundrc in your home directory.

thanks
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

victor
Posts: 2
Joined: Sun Aug 27, 2017 12:38 am

Re: setup issue

Post by victor » Sun Aug 27, 2017 12:55 am

Hi,

I have faced a similar problem with lxpanel. Thanks to this discussion, I created missing file (/home/pi/.config/lxpanel/LXDE-pi/panels/panel) with all parent directories and thus managed to complete setup script. I had no pulseadio installed.

The sound card cannot be found:

Code: Select all

 $ aplay -l
aplay: device_list:252: no soundcards found...
A snippet from dmesg:

Code: Select all

[    3.215847] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:36:4e:44
[    4.101939] udevd[185]: starting version 175
[    5.434003] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[    8.143008] cs42xx8 1-0048: failed to get device ID, ret = -121
[    8.152898] cs42xx8: probe of 1-0048 failed with error -121
[    8.772738] audioinjector-octo soc:sound: ASoC: CODEC DAI cs42448 not registered - will retry
[    8.788044] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[   11.418584] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
Any advices?

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

Re: setup issue

Post by flatmax » Fri Sep 01, 2017 11:46 pm

Your dmesg should say something about "cs42448" a few more times ... this is what I see :

Code: Select all

[    3.455840] cs42xx8 1-0048: found device, revision 4
[    3.741750] systemd-journald[125]: Received request to flush runtime journal from PID 1
[    4.748290] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok
Do you have anything else plugged into the GPIO (also can you please pm me ?)

thanks
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

Christine
Posts: 4
Joined: Thu Aug 17, 2017 6:54 am

Re: setup issue

Post by Christine » Mon Sep 04, 2017 3:38 am

christine@raspberrypi:~/download/8_Channel_ID $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0


christine@raspberrypi:~/download/8_Channel_ID $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
dmixer
anyChannelCount
default
sysdefault:CARD=audioinjectoroc
audioinjector-octo-soundcard,
Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Hardware device with all software conversions

I am now using Jack, I can use the Jack api from Java, if I get Jack to work with the octosound, I'm all set.
I can play an 8 channel wav file, the channels output the right sounds. So the octosound seems to work ok. My challenge now is to make Jack work with the octosound, then figure out how I control the 8 output channels from Java via Jack.

Christine
Posts: 4
Joined: Thu Aug 17, 2017 6:54 am

Re: setup issue

Post by Christine » Wed Sep 06, 2017 4:51 am

I found out how to make it all work. I use Jack to access the Octosound card, I use JnaJack to interface from Java to Jack. I described this in more detail here https://stackoverflow.com/questions/458 ... 2#46061522

I can now send audio individually to each of the eight speakers I have connected to the OctoSound.

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

Re: setup issue

Post by flatmax » Wed Sep 06, 2017 8:06 am

Thanks for the update.
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

Christine
Posts: 4
Joined: Thu Aug 17, 2017 6:54 am

Re: setup issue

Post by Christine » Thu Sep 14, 2017 6:52 am

Even after my previous post, it toook me quite a while to get everything going. The issues were not in the card, but rather in debian/raspbian and in Jack and the interface with Jack (JnaJack). I have extended the stackoverflow post. I can now address every output port in the octosound card individually. You need to patch Jack2d, even if the links you find say you don't. The docs I found are from 2014, they were using a previous version of Debian. Using Jack from Java, you need to activate the ports in the card and keep the Jack ports open until you're done.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest