Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to install LED driver and other problems #216

Open
Sentinel-sys opened this issue Sep 6, 2024 · 2 comments
Open

Fail to install LED driver and other problems #216

Sentinel-sys opened this issue Sep 6, 2024 · 2 comments

Comments

@Sentinel-sys
Copy link

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
Copy link
Contributor

tannisroot commented Sep 10, 2024

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants