Volumio 2.657 - Failed to open Alsa device hw:1,0

Hello,

After online upgrade from version 2.619 to Volumio version 2.657 I can no longer play music on Volumio with my External DAC on my Raspberry Pi 4.+ - it says error: Failed to open Alsa device hw:1,0

Any help would be appreciated.

Thanks

Here is also log from mpd.log:

Oct 31 19:01 : zeroconf: No global port, disabling zeroconf
Oct 31 19:01 : client: [0] opened from local
Oct 31 19:01 : exception: No such directory
Oct 31 19:04 : client: [1] opened from 127.0.0.1:43958
Oct 31 19:05 : exception: No such playlist
ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
Oct 31 19:05 : exception: Failed to open “alsa” [alsa]
Oct 31 19:05 : exception: nested: Failed to open ALSA device “hw:1,0”: No such file or directory
Oct 31 19:05 : exception: Failed to open “alsa” [alsa]
Oct 31 19:05 : exception: nested: Failed to open ALSA device “hw:1,0”: No such file or directory
Oct 31 19:05 : player: problems opening audio device while playing “http://192.168.178.25:32469/object/49b69693fd284ed8dd78/file.mp3

in it helps also Volumio.log:

2019-10-31T19:01:42.365Z - info: -------------------------------------------
2019-10-31T19:01:42.367Z - info: ----- Volumio2 ----
2019-10-31T19:01:42.368Z - info: -------------------------------------------
2019-10-31T19:01:42.369Z - info: ----- System startup ----
2019-10-31T19:01:42.370Z - info: -------------------------------------------
2019-10-31T19:01:42.450Z - info: MYVOLUMIO Environment detected
2019-10-31T19:01:43.162Z - info: Configured plugin music_service/streaming_services cannot be loaded. Removing from configuration
2019-10-31T19:01:43.185Z - info: Configured plugin system_controller/my_volumio cannot be loaded. Removing from configuration
2019-10-31T19:01:43.187Z - info: Plugin folders cleanup
2019-10-31T19:01:43.187Z - info: Scanning into folder /volumio/app/plugins/
2019-10-31T19:01:43.187Z - info: Scanning category audio_interface
2019-10-31T19:01:43.188Z - info: Scanning category miscellanea
2019-10-31T19:01:43.188Z - info: Scanning category music_service
2019-10-31T19:01:43.189Z - info: Scanning category plugins.json
2019-10-31T19:01:43.189Z - info: Scanning category system_controller
2019-10-31T19:01:43.190Z - info: Scanning category user_interface
2019-10-31T19:01:43.191Z - info: Scanning into folder /data/plugins/
2019-10-31T19:01:43.191Z - info: Plugin folders cleanup completed
2019-10-31T19:01:43.192Z - info: -------------------------------------------
2019-10-31T19:01:43.192Z - info: ----- Core plugins startup ----
2019-10-31T19:01:43.192Z - info: -------------------------------------------
2019-10-31T19:01:43.193Z - info: Loading plugins from folder /volumio/app/plugins/
2019-10-31T19:01:43.195Z - info: Adding plugin upnp to MyMusic Plugins
2019-10-31T19:01:43.196Z - info: Adding plugin airplay_emulation to MyMusic Plugins
2019-10-31T19:01:43.197Z - info: Adding plugin upnp_browser to MyMusic Plugins
2019-10-31T19:01:43.199Z - info: Loading plugins from folder /data/plugins/
2019-10-31T19:01:43.201Z - info: Loading plugin “system”…
2019-10-31T19:01:43.219Z - info: Loading plugin “appearance”…
2019-10-31T19:01:43.841Z - info: Loading plugin “network”…
2019-10-31T19:01:44.176Z - info: Loading plugin “services”…
2019-10-31T19:01:44.180Z - info: Loading plugin “alsa_controller”…
2019-10-31T19:01:44.228Z - info: Loading plugin “wizard”…
2019-10-31T19:01:44.237Z - info: Loading plugin “volumio_command_line_client”…
2019-10-31T19:01:44.264Z - info: Loading plugin “upnp”…
2019-10-31T19:01:44.268Z - info: [1572548504267] Starting Upmpd Daemon
2019-10-31T19:01:44.270Z - info: CoreCommandRouter::executeOnPlugin: system , registerCallback
2019-10-31T19:01:44.272Z - info: Loading plugin “my_music”…
2019-10-31T19:01:44.279Z - info: Loading plugin “mpd”…
2019-10-31T19:01:44.556Z - info: Loading plugin “upnp_browser”…
2019-10-31T19:01:44.886Z - info: Loading plugin “networkfs”…
2019-10-31T19:01:45.008Z - info: CoreCommandRouter::executeOnPlugin: system , registerCallback
2019-10-31T19:01:45.009Z - info: Loading plugin “alarm-clock”…
2019-10-31T19:01:45.138Z - info: Loading plugin “airplay_emulation”…
2019-10-31T19:01:45.154Z - info: Starting Shairport Sync
2019-10-31T19:01:45.154Z - info: Loading plugin “last_100”…
2019-10-31T19:01:45.159Z - info: Loading plugin “webradio”…
2019-10-31T19:01:45.238Z - info: Loading plugin “i2s_dacs”…
2019-10-31T19:01:45.247Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:01:45.249Z - info: Loading plugin “volumiodiscovery”…
2019-10-31T19:01:45.291Z - info: Applying required configuration parameters for plugin volumiodiscovery
2019-10-31T19:01:45.311Z - info: CoreCommandRouter::executeOnPlugin: system , registerCallback
2019-10-31T19:01:45.312Z - info: Loading plugin “outputs”…
2019-10-31T19:01:45.317Z - info: Loading plugin “albumart”…
2019-10-31T19:01:45.335Z - info: Plugin example_plugin is not enabled
2019-10-31T19:01:45.336Z - info: Loading plugin “inputs”…
2019-10-31T19:01:45.342Z - info: Loading plugin “updater_comm”…
2019-10-31T19:01:45.463Z - info: Plugin mpdemulation is not enabled
2019-10-31T19:01:45.463Z - info: Loading plugin “rest_api”…
2019-10-31T19:01:45.490Z - info: Loading plugin “websocket”…
2019-10-31T19:01:45.509Z - info: ___________ START PLUGINS ___________
2019-10-31T19:01:45.512Z - info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
2019-10-31T19:01:45.513Z - info: CoreCommandRouter::volumioAddToBrowseSources[object Object]
2019-10-31T19:01:45.513Z - info: [1572548505513] CoreMusicLibrary::Adding element Media Servers
2019-10-31T19:01:45.514Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:01:45.583Z - info: Could not detect Primo: Error: Command failed: aplay -l | grep es90x8q2m-dac-dai-0
2019-10-31T19:01:45.627Z - info: Could not detect Primo: Error: Command failed: aplay -l | grep es90x8q2m-dac-dai-0
2019-10-31T19:01:45.628Z - info: CoreCommandRouter::volumioAddToBrowseSources[object Object]
2019-10-31T19:01:45.629Z - info: [1572548505629] CoreMusicLibrary::Adding element Last_100
2019-10-31T19:01:45.629Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:01:45.631Z - info: CoreCommandRouter::volumioAddToBrowseSources[object Object]
2019-10-31T19:01:45.631Z - info: [1572548505631] CoreMusicLibrary::Adding element Webradio
2019-10-31T19:01:45.631Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:01:45.634Z - info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
2019-10-31T19:01:45.640Z - info: -------------------------------------------
2019-10-31T19:01:45.640Z - info: ----- MyVolumio plugins startup ----
2019-10-31T19:01:45.641Z - info: -------------------------------------------
2019-10-31T19:01:45.641Z - info: [MyVolumio PluginManager] Fetching plans data…
2019-10-31T19:01:45.654Z - info: Loading i18n strings for locale en
2019-10-31T19:01:45.703Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:01:45.718Z - info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
2019-10-31T19:01:45.720Z - info: CoreCommandRouter::initPlayerControls
2019-10-31T19:01:45.728Z - info: CoreCommandRouter::executeOnPlugin: alsa_controller , getConfigParam
2019-10-31T19:01:45.729Z - info: CoreCommandRouter::executeOnPlugin: alsa_controller , getAlsaCards
2019-10-31T19:01:45.768Z - info: CoreCommandRouter::executeOnPlugin: alsa_controller , getConfigParam
2019-10-31T19:01:45.769Z - info: CoreCommandRouter::executeOnPlugin: alsa_controller , getConfigParam
2019-10-31T19:01:45.769Z - info: CoreCommandRouter::executeOnPlugin: alsa_controller , getConfigParam
2019-10-31T19:01:45.770Z - info: CoreCommandRouter::executeOnPlugin: alsa_controller , getConfigParam
2019-10-31T19:01:45.770Z - info: CoreCommandRouter::executeOnPlugin: alsa_controller , getConfigParam
2019-10-31T19:01:45.777Z - info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
2019-10-31T19:01:45.784Z - info: BOOT COMPLETED
2019-10-31T19:01:45.785Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:01:45.841Z - info: CoreCommandRouter::Close All Modals sent
2019-10-31T19:01:45.842Z - info: CoreCommandRouter::Close All Modals sent
2019-10-31T19:01:45.929Z - info: CoreStateMachine::resetVolumioState
2019-10-31T19:01:45.930Z - info: CoreStateMachine::getcurrentVolume
2019-10-31T19:01:45.930Z - info: CoreCommandRouter::volumioRetrievevolume
2019-10-31T19:01:46.091Z - info: Setting Device type: Raspberry PI
2019-10-31T19:01:46.096Z - info: MPD running with PID625 ,establishing connection
2019-10-31T19:01:46.159Z - info: Volumio called home
2019-10-31T19:01:46.263Z - info: VolumeController:: Volume=undefined Mute =false
2019-10-31T19:01:46.267Z - info: CoreStateMachine::pushState
2019-10-31T19:01:46.268Z - info: CoreStateMachine::getState
2019-10-31T19:01:46.269Z - info: CorePlayQueue::getTrack 0
2019-10-31T19:01:46.270Z - info: CoreCommandRouter::volumioPushState
2019-10-31T19:01:46.270Z - info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
2019-10-31T19:01:46.289Z - info: Reloading queue from file
2019-10-31T19:01:46.302Z - info:
2019-10-31T19:01:46.307Z - info: message= [50@0] {} No such directory, stack=Error: [50@0] {} No such directory
at MpdClient.receive (/volumio/app/plugins/music_service/mpd/lib/mpd.js:63:14)
at Socket. (/volumio/app/plugins/music_service/mpd/lib/mpd.js:43:10)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:246:13)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:607:20)
2019-10-31T19:01:46.386Z - info: CoreStateMachine::setRepeat null single undefined
2019-10-31T19:01:46.387Z - info: CoreStateMachine::pushState
2019-10-31T19:01:46.387Z - info: CoreStateMachine::getState
2019-10-31T19:01:46.387Z - info: CorePlayQueue::getTrack 0
2019-10-31T19:01:46.388Z - info: CoreCommandRouter::volumioPushState
2019-10-31T19:01:46.388Z - info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
2019-10-31T19:01:46.392Z - info: CoreStateMachine::setRandom null
2019-10-31T19:01:46.392Z - info: CoreStateMachine::pushState
2019-10-31T19:01:46.392Z - info: CoreStateMachine::getState
2019-10-31T19:01:46.393Z - info: CorePlayQueue::getTrack 0
2019-10-31T19:01:46.393Z - info: CoreCommandRouter::volumioPushState
2019-10-31T19:01:46.394Z - info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
2019-10-31T19:01:46.458Z - info: mDNS: Found device Volumio
2019-10-31T19:01:46.529Z - info: mDNS: Found device Volumio
2019-10-31T19:01:46.567Z - info: Shairport-Sync Started
2019-10-31T19:01:46.574Z - info: Shairport-Sync Started
2019-10-31T19:01:46.844Z - info: CoreCommandRouter::executeOnPlugin: alsa_controller , checkAudioDeviceAvailable
2019-10-31T19:01:46.875Z - info: CoreCommandRouter::executeOnPlugin: raat , onStop
2019-10-31T19:01:46.876Z - info: CoreCommandRouter::executeOnPlugin: system , versionChangeDetect
2019-10-31T19:04:38.472Z - info: CoreCommandRouter::volumioGetState
2019-10-31T19:04:38.472Z - info: CoreStateMachine::getState
2019-10-31T19:04:38.473Z - info: CorePlayQueue::getTrack 0
2019-10-31T19:04:41.392Z - info: CoreCommandRouter::volumioGetVisibleSources
2019-10-31T19:04:41.394Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:04:41.404Z - info: CoreCommandRouter::volumioGetState
2019-10-31T19:04:41.405Z - info: CoreStateMachine::getState
2019-10-31T19:04:41.406Z - info: CorePlayQueue::getTrack 0
2019-10-31T19:04:41.431Z - info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
2019-10-31T19:04:41.432Z - info: Listing playlists
2019-10-31T19:04:43.754Z - info: [MyVolumio PluginManager] Adding plugin bluetooth to plan superstar
2019-10-31T19:04:43.755Z - info: [MyVolumio PluginManager] Adding plugin cd_controller to plan superstar
2019-10-31T19:04:43.755Z - info: [MyVolumio PluginManager] Adding plugin smart_inputs to plan superstar
2019-10-31T19:04:43.755Z - info: [MyVolumio PluginManager] Adding plugin hi_res_audio to plan superstar
2019-10-31T19:04:43.755Z - info: [MyVolumio PluginManager] Adding plugin bluetooth to plan virtuoso
2019-10-31T19:04:43.756Z - info: [MyVolumio PluginManager] Adding plugin cd_controller to plan virtuoso
2019-10-31T19:04:43.759Z - info: [MyVolumio PluginManager] Loading plugin “my_volumio”…
2019-10-31T19:04:45.278Z - info: [MyVolumio PluginManager] Loading plugin “streaming_services”…
2019-10-31T19:04:46.118Z - info: [MyVolumio PluginManager] MyVolumio plugin successfully loaded
2019-10-31T19:04:46.121Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:04:46.121Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:04:46.123Z - info: Starting MyVolumio Remote Streaming Endpoints
2019-10-31T19:04:46.140Z - info: [MyVolumio PluginManager] Streaming Services plugin successfully loaded
2019-10-31T19:04:46.141Z - info: Streaming services startup
2019-10-31T19:04:46.145Z - info: Starting Streaming Daemon
2019-10-31T19:04:46.161Z - info: [MyVolumio PluginManager] MyVolumio plugin successfully started
2019-10-31T19:04:46.300Z - info: Upmpdcli Daemon Started
2019-10-31T19:04:46.891Z - info: MYVOLUMIO SUCCESSFULLY LOGGED IN
2019-10-31T19:04:46.892Z - info: MYVOLUMIO: Adding device
2019-10-31T19:04:46.892Z - info: MYVOLUMIO: Evaluating Server
2019-10-31T19:04:47.899Z - info: MyVolumio status changed
2019-10-31T19:04:47.900Z - info: CoreCommandRouter::volumioRemoveToBrowseSourcesQOBUZ
2019-10-31T19:04:47.901Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:04:47.905Z - info: CoreCommandRouter::volumioRemoveToBrowseSourcesTIDAL
2019-10-31T19:04:47.905Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:04:47.906Z - info: Streaming services startup
2019-10-31T19:04:47.907Z - info: Re-Starting Streaming Daemon
2019-10-31T19:04:47.922Z - info: Removing browser output: myVolumio user plan is not superstar
2019-10-31T19:04:47.922Z - info: Removing audio output:
2019-10-31T19:04:47.923Z - info: Stoppping Tunnel 1
2019-10-31T19:04:47.986Z - info: Remote SSH Stopped
2019-10-31T19:04:48.149Z - info: Setting Geolocation for MyVolumio to eu1
2019-10-31T19:04:48.150Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:04:48.151Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:04:48.151Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:04:48.488Z - info: Fetching Streaming Services browse cache
2019-10-31T19:04:48.554Z - info: CoreCommandRouter::volumioRemoveToBrowseSourcesTIDAL
2019-10-31T19:04:48.554Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:04:48.559Z - info: CoreCommandRouter::volumioRemoveToBrowseSourcesQOBUZ
2019-10-31T19:04:48.559Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:04:48.752Z - info: Fetching Streaming Services browse cache
2019-10-31T19:04:48.757Z - info: CoreCommandRouter::volumioRemoveToBrowseSourcesTIDAL
2019-10-31T19:04:48.758Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:04:48.762Z - info: CoreCommandRouter::volumioRemoveToBrowseSourcesQOBUZ
2019-10-31T19:04:48.762Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:04:49.156Z - info: Updating MyVolumio device info
2019-10-31T19:04:49.157Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:04:49.157Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:04:49.157Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:05:05.436Z - info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
2019-10-31T19:05:05.438Z - info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
2019-10-31T19:05:06.365Z - info: CoreCommandRouter::volumioGetVisibleSources
2019-10-31T19:05:06.366Z - info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
2019-10-31T19:05:06.369Z - info: CoreCommandRouter::volumioGetState
2019-10-31T19:05:06.369Z - info: CoreStateMachine::getState
2019-10-31T19:05:06.369Z - info: CorePlayQueue::getTrack 0
2019-10-31T19:05:06.383Z - info: CoreCommandRouter::executeOnPlugin: appearance , getUiSettings
2019-10-31T19:05:06.384Z - info: CoreCommandRouter::executeOnPlugin: mpd , getConfigParam
2019-10-31T19:05:06.385Z - info: CoreCommandRouter::executeOnPlugin: wizard , getShowWizard
2019-10-31T19:05:06.385Z - info: CoreCommandRouter::executeOnPlugin: system , getShowWizard
2019-10-31T19:05:06.398Z - info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
2019-10-31T19:05:06.399Z - info: Listing playlists
2019-10-31T19:05:07.264Z - info: VolumeController::SetAlsaVolume0
2019-10-31T19:05:07.276Z - info: CoreStateMachine::pushState
2019-10-31T19:05:07.276Z - info: CoreStateMachine::getState
2019-10-31T19:05:07.276Z - info: CorePlayQueue::getTrack 0
2019-10-31T19:05:07.277Z - info: CoreCommandRouter::volumioPushState
2019-10-31T19:05:07.277Z - info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
2019-10-31T19:05:07.296Z - error: Cannot set ALSA Volume: Error: Alsa Mixer Error: Invalid card number.

I am stuck at 2.619 version, can you please resolve this bug in later updates???

Was this ever resolved? I have three different Volumio players, all of which were working fine until I upgraded to the latest version (2.779). Now none of them work. All three give the “failed to open ‘alsa’” error, even though all three show the files on my network music file server, and Windows media player plays just fine from that server. I also tried resetting one to factory settings, but it didn’t fix the problem. I’ve rebooted repeatedly, rebooted the server…I’m running out of ideas other than to try a player other than Volumio. Help, please?

A clue (for me, anyway): I had placed a PiJuice UPS in between the Pi and the HiFi hat, hoping to figure out how to integrate that UPS with Volumio. For a few hours it seemed to work ok, then the problems with “failed to open alsa” started showing up. I would have suspected the UPS right away, except that the other two Volumio’s are elsewhere in the house and do NOT have any UPS’s on them. Yet the PiJuice in my local Volumio was also somehow preventing the other Volumio’s from working, too. Weird. Well, I removed the UPS, rebooted, and now all Volumio’s work again. I have one or two of nearly every Raspberry Pi UPS made, at this point, because I have come to believe that every RPi system needs one. Otherwise it’s just too easy to corrupt the microSD card. Has anyone succeeded at combining a UPS with Volumio?