Hello all,
I am trying to install a MIC+V2 on a PI4 which has a fresh install of Raspbian (32 bit) and no other hardware installed. It’s as plain as they come. And this installation does not work. Whether I install as a regular or via sudo, the alsa configuration is just not working. I am not an Alsa configuration or audio bus engineer, I just expect the software to work, my troubleshooting skills are limited on this device.
Here is the exact output of the installation, and you will see, it results in errors and not working.
linux:~ $ wget -O - mic.raspiaudio.com | bash
–2022-12-09 11:54:36-- http://mic.raspiaudio.com/
Resolving mic.raspiaudio.com (mic.raspiaudio.com)… 217.160.0.12, 2001:8d8:100f:f000::245
Connecting to mic.raspiaudio.com (mic.raspiaudio.com)|217.160.0.12|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://raspiaudio.com/s/mic1 [following]
–2022-12-09 11:54:37-- http://raspiaudio.com/s/mic1
Resolving raspiaudio.com (raspiaudio.com)… 217.160.0.133, 2001:8d8:100f:f000::268
Connecting to raspiaudio.com (raspiaudio.com)|217.160.0.133|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://raspiaudio.com/s/mic1 [following]
–2022-12-09 11:54:37-- https://raspiaudio.com/s/mic1
Connecting to raspiaudio.com (raspiaudio.com)|217.160.0.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 12757 (12K)
Saving to: ‘STDOUT’
100%[=================================================>] 12.46K --.-KB/s in 0.007s
2022-12-09 11:54:38 (1.63 MB/s) - written to stdout [12757/12757]
script starts
This script will install everything needed to use
Raspiaudio MIC+Do you wish to continue? [y/N] y
Checking hardware requirements…
Adding Device Tree Entry to /boot/config.txt
dtoverlay=googlevoicehat-soundcardCommenting out Blacklist entry in
/etc/modprobe.d/raspi-blacklist.confDisabling default sound driver
Configuring sound output
Some changes made to your system require
your computer to reboot to take effect.Would you like to reboot now? [y/N]
after reboot:
jwhowa@vader:~ $ wget -O - test.raspiaudio.com | bash
–2022-12-09 11:56:33-- http://test.raspiaudio.com/
Resolving test.raspiaudio.com (test.raspiaudio.com)… 217.160.0.133, 2001:8d8:100f:f000::268
Connecting to test.raspiaudio.com (test.raspiaudio.com)|217.160.0.133|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://raspiaudio.com/s/test [following]
–2022-12-09 11:56:33-- http://raspiaudio.com/s/test
Resolving raspiaudio.com (raspiaudio.com)… 217.160.0.133, 2001:8d8:100f:f000::268
Reusing existing connection to test.raspiaudio.com:80.
HTTP request sent, awaiting response… 302 Found
Location: https://raspiaudio.com/s/test [following]
–2022-12-09 11:56:34-- https://raspiaudio.com/s/test
Connecting to raspiaudio.com (raspiaudio.com)|217.160.0.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1340 (1.3K)
Saving to: ‘STDOUT’
100%[=================================================>] 1.31K --.-KB/s in 0s
2022-12-09 11:56:34 (23.5 MB/s) - written to stdout [1340/1340]
script starts
bash: line 13: /sys/class/gpio/gpio25/direction: Permission denied
bash: line 15: /sys/class/gpio/gpio23/direction: Permission denied
bash: line 23: /sys/class/gpio/gpio25/value: Permission denied
-----> Test for Raspiaudio MIC+
amixer: Unable to find simple control ‘Micro’,0Simple mixer control ‘Master’,0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 62915 [96%] [on]
Front Right: Playback 62915 [96%] [on]
------Please PUSH on the Yellow ONBOARD button to continue this test
bash: line 39: echo: write error: Operation not permittedspeaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
Recording WAVE ‘/home/jwhowa/test.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 3.101523
echo: write error: Operation not permitted
echo: write error: Operation not permitted
echo: write error: Operation not permitted
echo: write error: Operation not permitted
playing the recording
Playing WAVE ‘/home/jwhowa/test.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, MonoTest is done to adjust speakers volume and microphone gain run: alsamixer
Your instructions do not say to do the above as root, but I have tried it both ways, and neither way works. It appears to be complaining about the Micro simple control? I see the device in sys, but the driver installation is a hot mess.
Please help, I can always return this to amazon, but it’s not about the money, I really NEED what this card can do!
Before the installation:
And after:
You can see, the driver is installed, the mixer config is not working.
PLEASE HELP!
Is this because I have a V2 of the Mic+ and you guys haven’t updated the driver installation?