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

Raspberry PI 4 , ./setup.sh was finished well but sound card wasn't added. #72

Open
jason-sepion opened this issue May 18, 2023 · 3 comments
Assignees
Labels
size:S Small issue or pull request type:investigation Needs investigation to categorize

Comments

@jason-sepion
Copy link

jason-sepion commented May 18, 2023

Raspberry Pi 4

OS : 2023-02-21-raspios-bullseye-armhf.img , From vocalfusion-rpi-setup github OS link
Kernel : Linux raspberrypi 5.15.84-v7l+
Kernel Header : linux-headers-5.15.84-v7l+

sudo ./setup.sh xvf3500 was installed well. No error

  ```
  pi@raspberrypi:~/vocalfusion-rpi-setup $ sudo ./setup.sh xvf3500
  Installing necessary packages for dev kit
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  python3-matplotlib is already the newest version (3.3.4-1).
  The following package was automatically installed and is no longer required:
   libfuse2
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  python3-numpy is already the newest version (1:1.19.5-1).
  The following package was automatically installed and is no longer required:
   libfuse2
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  libatlas-base-dev is already the newest version (3.10.3-10+rpi1).
  The following package was automatically installed and is no longer required:
   libfuse2
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  audacity is already the newest version (2.4.2~dfsg0-5).
  The following package was automatically installed and is no longer required:
   libfuse2
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  libreadline-dev is already the newest version (8.1-1).
  The following package was automatically installed and is no longer required:
   libfuse2
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  libncurses-dev is already the newest version (6.2+20201114-2+deb11u1).
  The following package was automatically installed and is no longer required:
   libfuse2
  Use 'sudo apt autoremove' to remove it.
  0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
  make
  # copy the source file to avoid maintaining multiple copies inside the Makefile folders
  # We tried to use KBUILD_OUTPUT but the module was not compiling
  cp ../src/loader.c i2s_slave_loader.c
  make -C /lib/modules/5.15.84-v7l+/build M=/home/pi/vocalfusion-rpi-setup/loader/i2s_slave modules
  make[1]: Entering directory '/usr/src/linux-headers-5.15.84-v7l+'
   CC [M] /home/pi/vocalfusion-rpi-setup/loader/i2s_slave/i2s_slave_loader.o
   MODPOST /home/pi/vocalfusion-rpi-setup/loader/i2s_slave/Module.symvers
   LD [M] /home/pi/vocalfusion-rpi-setup/loader/i2s_slave/i2s_slave_loader.ko
  make[1]: Leaving directory '/usr/src/linux-headers-5.15.84-v7l+'
  rm i2s_slave_loader.c
  To enable all interfaces, this Raspberry Pi must be rebooted.
   ``` 

But there is no added sound card "sndrpisimplecar".

  ```
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
```

I already checked the sound card "sndrpisimplecar" was added well in Raspberry Pi 3 at card 1 .
But in Raspberry Pi 4 it doesn't work.
There is a difference that Hdmi sound card number between Pi 3 and 4, pi 3 have only card 0 : for hdmi.
i am not sure it is the reason.

Thanks if you can advise me how to solve this problem.

@mbanth mbanth added size:S Small issue or pull request type:investigation Needs investigation to categorize labels May 23, 2023
@mbanth mbanth assigned xluciano and unassigned mbanth May 23, 2023
@mbanth
Copy link

mbanth commented May 23, 2023

@lucianomartin, please provide a Story Point value for this issue. Thanks.

@xluciano
Copy link
Contributor

xluciano commented May 24, 2023

Hi @jason-sepion, thanks for reporting this issue. We have recently updated the procedure to configure the RaspberryPi. Can you please retry using the instructions in the README.md at the head of master or from the v5.8.0 release.

If this doesn't work, can you please let us know if the .asoundrc file is copied to the home directory?

@jason-sepion
Copy link
Author

@lucianomartin I will follow the instructions and let you know the results right away. It may take several days. Thank you for supports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S Small issue or pull request type:investigation Needs investigation to categorize
Projects
None yet
Development

No branches or pull requests

3 participants