rhasspy / wyoming-satellite

Remote voice satellite using Wyoming protocol
MIT License
716 stars 105 forks source link

Fail to install LED driver and other problems #216

Open Sentinel-sys opened 2 months ago

Sentinel-sys commented 2 months ago

Unfortunately I have massive difficulties to follow the instructions for the installation of the Wyoming Satellite on a Raspi Zero 2 and the ReSpeak 2 Mic Pi Hat or some things do not work correctly. I'm not super knowledgeable about such things, but I'm not a complete idiot either. Nevertheless, I just can't get any further.

  1. my first attempt was with a Raspi 4B and the Pi HAT. After installing the drivers, I briefly got the microphone and speakers displayed. I was also able to record and play back a text. When I continued with the instructions, at some point the hardware was simply no longer displayed.

  2. then I switched to a Raspi Zero 2W and had to install alternative drivers here too, (https://github.com/HinTak/seeed-voicecard) otherwise I had this error message “arecord: set_params:1416: Unable to install hw params:” After installing the alternative drivers, I at least had stable access to the hardware.

  3. then I wanted to install the LED drivers. Unfortunately, my PI always seems to crash here. I enter the following command: “sudo apt-get install python3-spidev python3-gpiozero”. Then it starts to install and gets stuck here: “make -j4 KERNELRELEASE=6.1.21-v8+ -C /lib/modules/6.1.21-v8+/build M=/var/lib/dkms/seeed-voicecard/0.3/build........” I have to restart the Pi otherwise nothing will work. Then I run the following: “sudo dpkg --configure -a” and get this error block: ”Building module: Cleaning build area... make -j4 KERNELRELEASE=6.1.21-v8+ -C /lib/modules/6.1.21-v8+/build M=/var/lib/dkms/seeed-voicecard/0.3/build..........(bad exit status: 2) Error! Bad return status for module build on kernel: 6.1.21-v8+ (aarch64) Consult /var/lib/dkms/seeed-voicecard/0.3/build/make.log for more information. Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. dkms: autoinstall for kernel: 6.1.21-v8+ failed! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package raspberrypi-kernel (--configure): installed raspberrypi-kernel package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: raspberrypi-kernel”

I have now re-installed the SD card for the third time and started all over again. Unfortunately nothing has worked properly here.

Can someone please tell me at least what I can do about point 3?

tannisroot commented 2 months ago

In step 2 you said you had to use alternative drivers, but the project's driver installer script uses that same driver repo. Why did you feel the need to use that one and install it manually instead of using the script by following the guide?

Sentinel-sys commented 2 months ago

Hi,

I hadn't seen that the same driver is used here. Many thanks for the information.

Unfortunately, that still doesn't help. Of course I followed the instructions to the letter. However, the error mentioned above still occurred. Only after I had installed the driver again manually did I get the hardware displayed at all via “arecord -L”. Accordingly, a test recording only worked after the driver had been installed manually.

I will buy another Respeaker 2 Mic HAT and test it with a fresh installation. I want to rule out the possibility that the hardware has a problem.

The system is currently running for me but is very unstable and not really usable.