Grant suggested I try some changes, and this is what I've done: 

In /boot/streambox.txt
  • changed to soundcard=0
  • Added login, wifi details
 
In /boot/config.txt
  •  added dtoverlay=iqaudio-codec

In /etc/dhcpcd.conf
  • added static domain_name_servers=8.8.4.4 8.8.8.8

Also verified that the streambox server comes up on a different rpi, so the config is correct, it's just not working with the rpi zero w? is there a system change that breaks wifi for my rpi zero w maybe?

Thanks,

Aidan

On Wednesday, 14 April 2021, 23:17:21 GMT+1, aid <oootini@yahoo.com> wrote:





Sent from Yahoo Mail for iPhone

On Thursday, May 7, 2020, 00:34, aid <oootini@yahoo.com> wrote:

OK, last one, and sorry for the spam. excited to get this working. wifi noise totally eliminated by setting the mic mux inputs to Mic 1 Amp Source MUX [MIC_P] and Mic 2 Amp Source MUX [MIC_N].

my alsamixer state with this configuration is attached below. Run it with sudo alsactl restore -f stereo_mic_config.state  

On Thursday, 7 May 2020, 00:11:01 BST, aid <oootini@yahoo.com> wrote:


For anyone interested, i was able to get the iqaudio Pi-CodecZero card working with an rpi zero w after running the stereo mic script here: iqaudio/Pi-Codec 

Using a stereo pair microUsi, still hearing wifi noise with the iqaudio card mounted directly on top of the zero. There are a number of alsamixer settings to play with, so maybe the wifi noise can be eliminated there. Also I'm testing this beside a mess of synths and electricty so maybe i need to move the streambox somewhere less noisy. 

to bring up the box was as follows:

changed in /boot/config.txt:
#dtparam=audio=on
        dtoverlay=iqaudio-codec 

then, copy the IQaudIO_Codec_StereoMIC_record_and_HP_playback.state file to the streambox, ssh and 
sudo alsactl --file /home/locusonus/IQaudIO_Codec_StereoMIC_record_and_HP_playback.state restore
sudo alsactl store
 

On Wednesday, 6 May 2020, 14:12:38 BST, aid <oootini@yahoo.com> wrote:


Hi folks,

trying to set up an iqaudio Pi-CodecZero as described by Udo some days ago. Device seems to be loaded with lsmod | grep iqaudio and is seen at arecord -l

On boot, the pi zero starts up, I can see streambox.local, then the stream comes up, is clikable on the map, but fails after a few min. is there another step required for the darkice.cfg that needs to be set? Do i need to set the device in darkice.cfg - device = hw:IQaudIOCODEC ? 

everytime I try and edit darkice.cfg, the system resets the file. where can i make this change if in fact it needs to be set?

I get a 404 on http://locus.creacast.com:9001/cork_st._luke_s.ogg which seems to suggest a darkice misconfig...  

* streambox-darkice.service - Locusonus Streambox Live Stream
     Loaded: loaded (/usr/lib/systemd/system/streambox-darkice.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2020-05-06 12:59:10 UTC; 434ms ago
    Process: 4950 ExecStartPre=/home/locusonus/bin/audio.sh --setup (code=exited, status=0/SUCCESS)
    Process: 4961 ExecStartPost=/usr/bin/sleep 7 (code=exited, status=0/SUCCESS)
   Main PID: 4960 (darkice.sh)
      Tasks: 3 (limit: 987)
     Memory: 1.4M
     CGroup: /system.slice/streambox-darkice.service
             |-4960 /usr/bin/sh /home/locusonus/bin/darkice.sh
             `-4977 /usr/bin/darkice -c /boot/darkice.cfg

May 06 12:59:02 streambox systemd[1]: Starting Locusonus Streambox Live Stream...
May 06 12:59:03 streambox darkice.sh[4960]: Local ip address: 192.168.1.79
May 06 12:59:03 streambox darkice.sh[4960]: Download darkice config for 'oootinistream'
May 06 12:59:03 streambox darkice.sh[4964]: [159B blob data]
May 06 12:59:03 streambox darkice.sh[4977]: DarkIce 1.2 live audio streamer, http://code.google.com/p/darkice/
May 06 12:59:03 streambox darkice.sh[4977]: Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
May 06 12:59:03 streambox darkice.sh[4977]: Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
May 06 12:59:03 streambox darkice.sh[4977]: This is free software, and you are welcome to redistribute it
May 06 12:59:03 streambox darkice.sh[4977]: under the terms of The GNU General Public License version 3 or
May 06 12:59:03 streambox darkice.sh[4977]: any later version.
May 06 12:59:03 streambox darkice.sh[4977]: Using config file: /boot/darkice.cfg
May 06 12:59:03 streambox darkice.sh[4977]: Using ALSA DSP input device: plughw:0,0
May 06 12:59:03 streambox darkice.sh[4977]: Using POSIX real-time scheduling, priority 3
May 06 12:59:10 streambox systemd[1]: Started Locusonus Streambox Live Stream.


* streambox-darkice.service - Locusonus Streambox Live Stream
     Loaded: loaded (/usr/lib/systemd/system/streambox-darkice.service; enabled; vendor preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2020-05-06 13:04:17 UTC; 6s ago
    Process: 5493 ExecStartPre=/home/locusonus/bin/audio.sh --setup (code=exited, status=0/SUCCESS)
    Process: 5503 ExecStart=/home/locusonus/bin/darkice.sh (code=exited, status=255/EXCEPTION)
    Process: 5504 ExecStartPost=/usr/bin/sleep 7 (code=exited, status=0/SUCCESS)
   Main PID: 5503 (code=exited, status=255/EXCEPTION)