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

i2samp.sh script needs to check if kernel and userspace are both 32-bit or 64-bit #301

Open
Jazoolee opened this issue Apr 8, 2024 · 4 comments
Labels

Comments

@Jazoolee
Copy link

Jazoolee commented Apr 8, 2024

Script Command

curl -sS https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/main/i2samp.sh | bash

Operating System

32-Bit Raspbian Bookworm

Hardware

Pi 4B+

Behavior

Does not work on this version of Raspbian

Description

No response

Additional information

No response

@Jazoolee Jazoolee added the bug label Apr 8, 2024
@makermelissa
Copy link
Contributor

What happens if you run the following commands first?

sudo apt update
sudo apt -y upgrade

After running that (and rebooting if necessary), what are the results of the following command:

uname -a

Thanks.

@makermelissa
Copy link
Contributor

makermelissa commented Apr 9, 2024

I think this is either a duplicate of I think it may essentially be a duplicate of #247 because you are using 32-bit (different script, but same cause) or it's an issue with the latest kernel, which has had some audio issues as well.

@makermelissa
Copy link
Contributor

Tested successfully on the 64-bit version of Pi. We may need to add a check to the script to see if the user has a mismatch between the kernel and userspace, which can cause issues. This was added to some of the converted python scripts, but i2samp wasn't converted yet, so the check wasn't added.

@makermelissa makermelissa changed the title i2samp.sh script "does not work on this version of raspbian" on Bookworm i2samp.sh script needs to check if kernel and userspace are both 32-bit or 64-bit Apr 12, 2024
@makermelissa
Copy link
Contributor

makermelissa commented Apr 12, 2024

Even better would be to update the script so that it makes use of built-in drivers so that compilation isn't necessary in the first place. Then it wouldn't matter if there's a mismatch.

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

No branches or pull requests

2 participants