Skip to content

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

Description

@jason-sepion

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.

Metadata

Metadata

Assignees

Labels

size:SSmall issue or pull requesttype:investigationNeeds investigation to categorize

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions