respeaker / seeed-voicecard

2 Mic Hat, 4 Mic Array, 6-Mic Circular Array Kit, and 4-Mic Linear Array Kit for Raspberry Pi
GNU General Public License v3.0
470 stars 284 forks source link

asound.conf gets overwritten by /usr/bin/seeed-voicecard #293

Closed faaafo closed 2 years ago

faaafo commented 3 years ago

asound.conf gets overwritten by /usr/bin/seeed-voicecard on each reboot. Had to comment out these lines:

rm /etc/asound.conf and ln -s $asound_conf /etc/asound.conf

in order to keep b1 from getting overwritten with ALSA

pcm.playback {
    type plug
    slave.pcm "plughw:b1"
}

Where is that documented?

github-actions[bot] commented 2 years ago

Stale issue message

ghost commented 2 years ago

@faaafo , This action was performed automatically. Please describe the issue according to bug template - if the issue was resolved, ignore this message. The issue will be marked as closed in 7 days if inactive.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Platform What platform are you running the code on.

Relevant log output Please copy and paste any relevant log output.

AIWintermuteAI commented 2 years ago

hi @faaafo ! This is done in order to prevent conflicts between existing sound configuration and configuration necessary for reSpeaker to work correctly. While it is not the best solution, it is not possible to automatically merge user configuration with reSpeaker specific configuration.

Advanced users can comment these two lines and edit their asound.conf manually. I'll add this to reSpeaker FAQ on Seeed Wiki.