[SOLVED] alsa unknown PCM - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [SOLVED] alsa unknown PCM (/showthread.php?tid=1516) |
alsa unknown PCM - spittlbm - 07-06-2019 I have a working librespot/moodeaudio config using --Device <hardware>, however I want to try two zones so I can vary volume from my terminal. The following ~/.asoundrc allows me to successfully play a wav with "aplay -D quad2 <wav>" to my new PCM "quad2" which duplicates my audio out to 2 USB headphone audio cards: Code: pcm.quad { Code: librespot[432]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM quad2 Google has decided that I am in the Wild West and am on my own, so I appreciate any feedback and suggestions! RE: alsa unknown PCM - Tim Curtis - 07-06-2019 What version of Raspbian? RE: alsa unknown PCM - spittlbm - 07-06-2019 v9 (stretch) on 4.19.42-v7+ and MoOde v5.3.1. Hardware is a Pi 3+ RE: alsa unknown PCM - Tim Curtis - 07-06-2019 moOde places its own ALSA virtual device files in the following directory: Stretch Code: /usr/share/alsa/alsa.conf.d Buster Code: /etc/alsa/conf.d You might want to try migrating from ~/.asoundrc to /usr/share/alsa/alsa.conf.d directory RE: alsa unknown PCM - spittlbm - 07-06-2019 Definitely was unaware that MoOde had it's own device files. I've copied ~/.asoundrc to /usr/share/alsa/alsa.conf.d/ and after a reboot, I have the same error. I've also noticed that the quad2 is not in AlsaMixer with either .asoundrc scenario and am currently trying to see if that's the issue. RE: alsa unknown PCM - Tim Curtis - 07-06-2019 The file extensions are all .conf in this directory. Code: pi@rp2:~ $ ls -l /usr/share/alsa/alsa.conf.d RE: alsa unknown PCM - spittlbm - 07-06-2019 Brilliant little README at the bottom. Renaming .asoundrc to asoundrc.conf was the fix. Every other song is garbled, guessing a bitrate issue. Super happy tho! Thx! |