ALSA error
See original GitHub issueWhen looking at my logs with pm2 logs MagicMirror
I can see lot of this kind of errors:
0|MagicMir | ALSA lib pcm.c:8389:(snd_pcm_set_params) Channels count (1) not available for PLAYBACK: Invalid argument
I am using usb sound card (Blackstorm Spectrum 5.1) on my raspberry pi and it is working fine. Alexa can hear me and I can hear her. But that log is pretty alarming 🤔
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
the C library reference: Error handling - ALSA project
A function of this type is called by the ALSA library when an error occurs. This function usually shows the message on the...
Read more >Advanced Linux Sound Architecture/Troubleshooting - ArchWiki
More info is available in the ALSA documentation. Error 'Unknown hardware' appears after kernel update. The following messages may be displayed during ALSA's ......
Read more >Error in alsa - Rust - Docs.rs
ALSA error. Most ALSA functions can return a negative error code. If so, then that error code is wrapped into this Error struct....
Read more >Configuring Sound on Linux/ALSA/Troubleshooting - Wikibooks
If you encounter the following error it simply means you are targeting a non-existent or erroneous device: $ cat /dev/urandom | aplay ALSA...
Read more >Payment error - Alsa
Steps to take and solutions if an error occurs when purchasing tickets on the Alsa website. Our help centre is there for all...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wow did not notice that this is still open. I fixed this long time ago 😄 Thanks for the help
@henrikra What is the output of these?
I think the problem is that THAT config still doesn’t set the device plug default correctly.
Try this:
and restart alsa server with:
sudo /etc/init.d/alsa-utils restart
.