ULTRA++ installation guide

indeed this is more up to date

Hey, it is possible to disable the onboard microphones? even if I change the alsa preset the microphones still work.

Hi Markortu
I have the same issue and I think this is a driver issue. I’ve put on our task list to try to send directly commands to the codec to disable onboard mic, will post result here.

thx

Hi,
I’ve followed the guide as-is in the top post

At this step:speaker-test -l5 -c2 -t wav

i get

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -19,No such device

I have reinstalled per the next step

cd WM8960-Audio-HAT
sudo ./uninstall.sh
sudo ./install.sh

I am using a pi zero 2 w, with ultra++ hat, installed on Raspberry Pi OS Lite per rhasspy docs.

I note some conflicting advice in some of the comments about outdated drivers, and can see the top post was updated back in april. Do I need to be using a different driver? I want the headphones out and onboard microphones for this project.

Lastly: > `cd WM8960-Audio-HAT

sudo ./uninstall.sh
sudo ./install.sh`

in the guide should this not be cd ultra2? I don’t have a WM8960xxx directory that I could see.

Hi

Have you tried method 1 or method 2?
I have never tried on the lite version of PI OS

let me know and will give it a try

Hi, this was with method 2

I have tried on the full OS and on the lite a few times, multiple reinstalls of the driver script in the top post and all on fresh installs of RaspOS.

The audio output options in the desktop do not have the hat as shown in your screenshot - and I have found this error:

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.15.84-v7+ -C /lib/modules/5.15.84-v7+/build M=/var/lib/dkms/seeed-voicecard/0.3/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.84-v7+ (armv7l)
Consult /var/lib/dkms/seeed-voicecard/0.3/build/make.log for more information.
mkdir: cannot create directory ‘/etc/voicecard’: File exists
git init
Reinitialized existing Git repository in /etc/voicecard/.git/
git add --all
git commit -m "origin configures"
On branch master
nothing to commit, working tree clean

I have attempted the fix noted here:

with the same error after running uninstall / new install

aplay -l =

**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 [bcm2835-i2s-wm8960-hifi wm8960-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

which reads to me that the hat is being detected, yet it’s not available in the GUI

attempts to install the scripts to default output to the onboard speakers

pi@masterbedrhasspispeaker:~/ultra2 $ alsactl --file preset_onboard_microphones_input1 restore 0
No state is present for card vc4hdmi
alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "vc4-hdmi" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card vc4hdmi
pi@masterbedrhasspispeaker:~/ultra2 $ alsactl --file preset_onboard_microphones_input1 restore 1
No state is present for card seeed2micvoicec
alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2
Found hardware: "simple-card" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card seeed2micvoicec

Above results are from rasperrypi OS 32bit + method 2 install on a fresh install on sd card.

Above results are from rasperrypi OS 32bit + method 2 install on a fresh install on sd card.
On the GUI when doing a right click on the speaker can you select the device like this ?

no, they don’t - you might have missed it in my post:

The audio output options in the desktop do not have the hat as shown in your screenshot

Just before doing the test, can you confirm that you ULTRA has a blue push button ? (sorry to ask but some other user made the confusion with the MIC model in the past)

yes it does, and the box says ultra (which is what I ordered).

Bump?
I’ve dumped a fair bit of troubleshooting into this without luck. Does the silence mean you’ve also run into trouble?
If so I might need to return them, as I’m looking for something to implement somewhat soon
Cheers

Sorry for the delay, the test is scheduled for tomorrow, I will post result here

Hello I have tested it and found an issue, sorry for that. It will take a few days to fix but meanwhile you can use this installation files from Waveshare, it’s 100% compatible, I had to start from a fresh SD card with Pi OS 32 bits with desktop.

Updated the installation procedure for method 2 with a simple fork of the waveshare method

Hi!
My rpi based project needs a soundcard with external mic in and a headphone out, WaveShare driver works fine with your ULTRA++ card except the ext. mic in has big base noise on it. I tried all of the methods founded in topics (diffetent os-es, arch, install methode, microphones etc.) without any luck. Can you suggest me a way to make it work as expected?
Please send me precise information of any kind of a working configuration! (os release eg.: 2023-02-21-raspios-bullseye-armhf(.img.xz) and configuration files (like alsa.conf wm8960-soundcard.state and corresponding information (eg: add/remove lines in rpi config.txt or cmdline.txt or elsewhere)
THX! (with a HOPE)

P.

I have tried to do both methods on my Raspberry Pi 3b. They all get errors.
From systemctl status:

● wm8960-soundcard.service - WM8960 soundcard service
Loaded: loaded (/lib/systemd/system/wm8960-soundcard.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-03-01 21:01:32 CST; 14s ago
Process: 3303 ExecStart=/usr/bin/wm8960-soundcard (code=exited, status=99)
Main PID: 3303 (code=exited, status=99)
CPU: 1.075s

Mar 01 21:01:30 raspberrypi su[3345]: (to mike) root on none
Mar 01 21:01:30 raspberrypi su[3345]: pam_unix(su:session): session opened for user mike(uid=1000) by (uid=0)
Mar 01 21:01:31 raspberrypi su[3345]: pam_unix(su:session): session closed for user mike
Mar 01 21:01:31 raspberrypi su[3356]: (to mike) root on none
Mar 01 21:01:31 raspberrypi su[3356]: pam_unix(su:session): session opened for user mike(uid=1000) by (uid=0)
Mar 01 21:01:31 raspberrypi su[3356]: pam_unix(su:session): session closed for user mike
Mar 01 21:01:32 raspberrypi systemd[1]: wm8960-soundcard.service: Main process exited, code=exited, status=99/n/a
Mar 01 21:01:32 raspberrypi systemd[1]: wm8960-soundcard.service: Failed with result ‘exit-code’.
Mar 01 21:01:32 raspberrypi systemd[1]: Failed to start WM8960 soundcard service.
Mar 01 21:01:32 raspberrypi systemd[1]: wm8960-soundcard.service: Consumed 1.075s CPU time.

Journal:
mike@raspberrypi:~/WM8960-Audio-HAT $ journalctl -xe
Mar 01 21:02:45 raspberrypi systemd[1]: session-c8.scope: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ The unit session-c8.scope has successfully entered the ‘dead’ state.
Mar 01 21:02:46 raspberrypi systemd[1]: wm8960-soundcard.service: Main process exited, code=exited, status=99/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ An ExecStart= process belonging to unit wm8960-soundcard.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 99.
Mar 01 21:02:46 raspberrypi systemd[1]: wm8960-soundcard.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ The unit wm8960-soundcard.service has entered the ‘failed’ state with result ‘exit-code’.
Mar 01 21:02:46 raspberrypi systemd[1]: Failed to start WM8960 soundcard service.
░░ Subject: A start job for unit wm8960-soundcard.service has failed
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ A start job for unit wm8960-soundcard.service has finished with a failure.
░░
░░ The job identifier is 1551 and the job result is failed.
Mar 01 21:02:46 raspberrypi systemd[1]: wm8960-soundcard.service: Consumed 1.002s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ The unit wm8960-soundcard.service completed and consumed the indicated resources.

Was this ever resolved? I need to disable input monitoring of the line input.
I need the line in signal coming into my program but I need to disable it from coming out of the headphones

Hi,

Could you tell me what exact of PI OS you have used ? thanks

it’s this verision of raspios bullseye

Is there an updated installation guide? I am running into the following error with the method 2 installation.