Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide moOde as UPnP renderer
#11
(10-26-2019, 06:28 PM)MikeyFresh Wrote:
(10-26-2019, 12:54 PM)biomoode Wrote: After having a go with Roon/moOde I tried today Audirvana to stream to moOde. My USBridge Signature runs Ropieee XL. Audirvana perfectly recognizes UPnP, but I am unable to get a track to play. Has anyone observed the same issue?

No I do not have that issue, I have Audirvana+ on my Mac and it sees and streams to Moode UPnP Renderers with absolutely no problems.

You post is quite confusing because you seem to be asking about Audirvana streaming to Moode, however you also then make a random mention of your USBridge Signature running Ropieee, which is irrelevant/off topic to this forum and thread (Ropieee is only a 3rd party Roon Bridge developed for RPi and has nothing at all to do with Moode or UPnP).

If you have properly reconfigured your Moode instance as a UPnP Renderer, there is no reason why Audirvana+ shouldn't stream to it.

Sorry, my mistake! Of course, MoOde runs on a USBridge Sig and I am trying to have Audirvana playing to MoOde.

Yet, Audirvana wouldn‘t start playing a track. It does see moOde, but doesn’t play.
Reply
#12
I still have the problem that Audirvana does not start to play tracks when connected to moOde. Every time I start a track in Audirvana, moOde reports an error:

'mpd error
Failed to open "ALSA Default" [alsa];
Failed to open ALSA device "hw:1,0": Device or resource busy'

How can the error be fixed?

Thanks for input!
Reply
#13
(10-27-2019, 09:53 AM)biomoode Wrote: I still have the problem that Audirvana does not start to play tracks when connected to moOde. Every time I start a track in Audirvana, moOde reports an error:

'mpd error
Failed to open "ALSA Default" [alsa];
Failed to open ALSA device "hw:1,0": Device or resource busy'

How can the error be fixed?

Thanks for input!

This is an issue with your configuration of moOde's audio output. What is your output mechanism? On-board audio out, plugin USB DAC, I2S DAC HAT? Your error message indicated moOde (via MPD) is looking for a USB DAC.

As Tim wrote in another post

Quote:USB DAC's are assigned card1 (hw:1,0) by moOde. Card0 (hw:0,0) is used for I2S DAC's and the On-board Pi audio device.

Regards,
Kent
Reply
#14
(10-27-2019, 05:42 PM)TheOldPresbyope Wrote:
(10-27-2019, 09:53 AM)biomoode Wrote: I still have the problem that Audirvana does not start to play tracks when connected to moOde. Every time I start a track in Audirvana, moOde reports an error:

'mpd error
Failed to open "ALSA Default" [alsa];
Failed to open ALSA device "hw:1,0": Device or resource busy'

How can the error be fixed?

Thanks for input!

This is an issue with your configuration of moOde's audio output. What is your output mechanism? On-board audio out, plugin USB DAC, I2S DAC HAT? Your error message indicated moOde (via MPD) is looking for a USB DAC.

As Tim wrote in another post

Quote:USB DAC's are assigned card1 (hw:1,0) by moOde. Card0 (hw:0,0) is used for I2S DAC's and the On-board Pi audio device.

Regards,
Kent

Thank you, Kent, for the hint!

My setup is such that I have my Devialet connected via USB to the USBridge Signature, so essentially a USB DAC. Accordingly, moOde should see card 1, correct? If so, where can I set moOde to card1?

Thanks for help!

Regards,

Paul
Reply
#15
Post the output from the commands below.

Code:
aplay -l

moodeutl -l

alsa-capabilities -s
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#16
(10-28-2019, 11:38 AM)Tim Curtis Wrote: Post the output from the commands below.

Code:
aplay -l

moodeutl -l

alsa-capabilities -s

Thanks, Tim! Will try and report back.

Br, Paul
Reply
#17
(10-28-2019, 11:38 AM)Tim Curtis Wrote: Post the output from the commands below.

Code:
aplay -l

moodeutl -l

alsa-capabilities -s

aplay -l

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2fb41d; background-color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures; color: #2fb41d} span.s2 {font-variant-ligatures: no-common-ligatures} span.s3 {font-variant-ligatures: no-common-ligatures; color: #400bd9} span.s4 {font-variant-ligatures: no-common-ligatures; color: #ffffff} 
pi@moode:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: D20 [Devialet USB Audio 2.0], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
pi@moode:~ $ 

moodeutl -l

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2fb41d; background-color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures} span.s2 {font-variant-ligatures: no-common-ligatures; color: #ffffff} span.s3 {font-variant-ligatures: no-common-ligatures; color: #400bd9}
20191028 165447 worker: -- Start
20191028 165447 worker: Successfully daemonized
20191028 165447 worker: Integrity check (passed)
20191028 165447 worker: Session loaded
20191028 165447 worker: Debug logging (off)
20191028 165447 worker: ALSA volume set to (0%)
20191028 165448 worker: -- System
20191028 165449 worker: Host name     (moode)
20191028 165449 worker: moOde release (6.3.0 2019-10-02)
20191028 165449 worker: Raspbian OS   (10.1)
20191028 165449 worker: Linux kernel  (4.19.75-v7+ #1270)
20191028 165449 worker: Platform      (Allo USBridge SIG [Pi-CM3+ Lite 1GB v1.0])
20191028 165449 worker: Architecture  (armv7l)
20191028 165449 worker: MPD version   (0.20.23)
20191028 165449 worker: CPU governor  (ondemand)
20191028 165449 worker: USB boot not available
20191028 165450 worker: File system not expanded yet
20191028 165450 worker: HDMI port on
20191028 165450 worker: File check (OK)
20191028 165450 worker: -- Network
20191028 165450 worker: eth0 exists
20191028 165450 worker: eth0 (192.168.1.123)
20191028 165450 worker: wlan0 does not exist
20191028 165450 worker: -- Audio
20191028 165451 worker: ALSA outputs unmuted
20191028 165451 worker: ALSA card number (1)
20191028 165451 worker: Audio output (USB audio device)
20191028 165451 worker: Supported audio formats (U8, S16_LE)
20191028 165451 worker: ALSA mixer name (Mic)
20191028 165451 worker: MPD volume control (software)
20191028 165451 worker: Hdwr volume controller exists
20191028 165451 worker: -- Services
20191028 165451 worker: Reset renderer active state
20191028 165452 worker: MPD conf updated
20191028 165452 worker: MPD started
20191028 165453 worker: MPD accepting connections
20191028 165453 worker: Configure MPD outputs
20191028 165453 worker: MPD output 1 ALSA default (on)
20191028 165453 worker: MPD output 2 ALSA crossfeed (off)
20191028 165453 worker: MPD output 3 ALSA parametric eq (off)
20191028 165453 worker: MPD output 4 ALSA graphic eq (off)
20191028 165453 worker: MPD output 5 ALSA polarity inversion (off)
20191028 165453 worker: MPD output 6 ALSA bluetooth (off)
20191028 165453 worker: MPD output 7 HTTP stream (off)
20191028 165453 worker: MPD crossfade (off)
20191028 165453 worker: Audio source (Local)
20191028 165453 worker: Output device (Local)
20191028 165453 worker: Squeezelite renderer started
20191028 165453 worker: UPnP renderer started
20191028 165454 worker: DLNA server started
20191028 165454 worker: UPnP browser started
20191028 165454 worker: USB auto-mounter (udisks-glue)
20191028 165454 worker: -- Music sources
20191028 165454 worker: USB sources (none attached)
20191028 165455 worker: NAS and UPnP sources (mountall initiated)
20191028 165455 worker: -- Miscellaneous
20191028 165455 worker: Saved MPD vol level (0)
20191028 165455 worker: Preamp volume level (0)
20191028 165455 worker: MPD volume level (0) restored
20191028 165455 worker: ALSA volume level (100%)
20191028 165455 worker: Auto-play (Off)
20191028 165455 worker: Maintenance interval (6 hrs)
20191028 165455 worker: Screen saver activation (Never)
20191028 165455 worker: Session permissions (OK)
20191028 165455 worker: Watchdog started
20191028 165455 worker: Ready
20191028 165458 worker: Job i2sdevice
20191028 165649 worker: Job mpdcfg
pi@moode:~ $ 

alsa-capabilities -s

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #9fa01c; background-color: #000000} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #000000} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000; min-height: 13.0px} p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #400bd9; background-color: #000000} p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2fb41d; background-color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures; color: #2fb41d} span.s2 {font-variant-ligatures: no-common-ligatures} span.s3 {font-variant-ligatures: no-common-ligatures; color: #400bd9} span.s4 {font-variant-ligatures: no-common-ligatures; color: #000000} span.s5 {font-variant-ligatures: no-common-ligatures; color: #ffffff} span.s6 {font-variant-ligatures: no-common-ligatures; color: #c0c0c0}
pi@moode:~ $ alsa-capabilities -s
1) Analog output interface hw:0,0 (or hw:ALSA,0)
 - card name         = ALSA                                                        
 - card label        = bcm2835 ALSA                                                
 - interface name    = bcm2835 ALSA                                                
 - usb audio class   = (n/a)                                                       
 - character device  = /dev/snd/pcmC0D0p                                           
 - samplerates (Hz)  = U8:44100,48000,88200,96000,176400,192000,352800,384000      
                       S16_LE:44100,48000,88200,96000,176400,192000,352800,384000  
 - monitor file      = /proc/asound/card0/pcm0p/sub0/hw_params                     
 - stream file       = (n/a)                                                       

2) Digital output interface hw:0,1 (or hw:ALSA,1)
 - card name         = ALSA                                                        
 - card label        = bcm2835 ALSA                                                
 - interface name    = bcm2835 IEC958/HDMI                                         
 - usb audio class   = (n/a)                                                       
 - character device  = /dev/snd/pcmC0D1p                                           
 - samplerates (Hz)  = S16_LE:44100,48000,88200,96000,176400,192000,352800,384000  
 - monitor file      = /proc/asound/card0/pcm1p/sub0/hw_params                     
 - stream file       = (n/a)                                                       

3) Digital output interface hw:0,2 (or hw:ALSA,2)
 - card name         = ALSA                                                        
 - card label        = bcm2835 ALSA                                                
 - interface name    = bcm2835 IEC958/HDMI1                                        
 - usb audio class   = (n/a)                                                       
 - character device  = /dev/snd/pcmC0D2p                                           
 - samplerates (Hz)  = S16_LE:44100,48000,88200,96000,176400,192000,352800,384000  
 - monitor file      = /proc/asound/card0/pcm2p/sub0/hw_params                     
 - stream file       = (n/a)                                                       

4) Digital USB Audio Class output interface hw:1,0 (or hwBig Grin20,0)
 - card name         = D20                                                         
 - card label        = Devialet USB Audio 2.0                                      
 - interface name    = USB Audio                                                   
 - usb audio class   = 2 - isochronous asynchronous                                
 - character device  = /dev/snd/pcmC1D0p                                           
 - samplerates (Hz)  = S32_LE:44100,48000,88200,96000,176400,192000                
                       S16_LE:44100,48000,88200,96000,176400,192000                
 - monitor file      = /proc/asound/card1/pcm0p/sub0/hw_params                     
 - stream file       = /proc/asound/card1/stream0                                  

pi@moode:~ $
Reply
#18
Please edit your post and place the command output in code boxes for readability. Its the third button from the right on the toolbar.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#19
(10-28-2019, 04:46 PM)Tim Curtis Wrote:
Code:
pi@moode:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
 Subdevices: 7/7
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: D20 [Devialet USB Audio 2.0], device 0: USB Audio [USB Audio]
 Subdevices: 0/1
 Subdevice #0: subdevice #0
pi@moode:~ $



p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2fb41d; background-color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures; color: #2fb41d} span.s2 {font-variant-ligatures: no-common-ligatures} span.s3 {font-variant-ligatures: no-common-ligatures; color: #400bd9} span.s4 {font-variant-ligatures: no-common-ligatures; color: #ffffff}
[b]pi@moode[/b]:[b]~ $[/b] moodeutl -l
20191028 185220 worker: -- Start
20191028 185221 worker: Successfully daemonized
20191028 185221 worker: Integrity check (passed)
20191028 185221 worker: Session loaded
20191028 185221 worker: Debug logging (off)
20191028 185221 worker: ALSA volume set to (0%)
20191028 185222 worker: -- System
20191028 185224 worker: Host name     (moode)
20191028 185224 worker: moOde release (6.3.0 2019-10-02)
20191028 185224 worker: Raspbian OS   (10.1)
20191028 185224 worker: Linux kernel  (4.19.75-v7+ #1270)
20191028 185224 worker: Platform      (Allo USBridge SIG [Pi-CM3+ Lite 1GB v1.0])
20191028 185224 worker: Architecture  (armv7l)
20191028 185224 worker: MPD version   (0.20.23)
20191028 185224 worker: CPU governor  (ondemand)
20191028 185224 worker: USB boot not available
20191028 185224 worker: File system not expanded yet
20191028 185224 worker: HDMI port on
20191028 185224 worker: File check (OK)
20191028 185224 worker: -- Network
20191028 185224 worker: eth0 exists
20191028 185225 worker: eth0 (192.168.1.123)
20191028 185225 worker: wlan0 does not exist
20191028 185225 worker: -- Audio
20191028 185225 worker: ALSA outputs unmuted
20191028 185225 worker: ALSA card number (1)
20191028 185225 worker: Audio output (USB audio device)
20191028 185225 worker: Supported audio formats (U8, S16_LE)
20191028 185225 worker: ALSA mixer name (Mic)
20191028 185225 worker: MPD volume control (software)
20191028 185225 worker: Hdwr volume controller exists
20191028 185225 worker: -- Services
20191028 185225 worker: Reset renderer active state
20191028 185226 worker: MPD conf updated
20191028 185226 worker: MPD started
20191028 185227 worker: MPD accepting connections
20191028 185227 worker: Configure MPD outputs
20191028 185227 worker: MPD output 1 ALSA default (on)
20191028 185227 worker: MPD output 2 ALSA crossfeed (off)
20191028 185227 worker: MPD output 3 ALSA parametric eq (off)
20191028 185227 worker: MPD output 4 ALSA graphic eq (off)
20191028 185227 worker: MPD output 5 ALSA polarity inversion (off)
20191028 185227 worker: MPD output 6 ALSA bluetooth (off)
20191028 185227 worker: MPD output 7 HTTP stream (off)
20191028 185227 worker: MPD crossfade (off)
20191028 185227 worker: Audio source (Local)
20191028 185227 worker: Output device (Local)
20191028 185227 worker: Squeezelite renderer started
20191028 185227 worker: UPnP renderer started
20191028 185228 worker: DLNA server started
20191028 185228 worker: UPnP browser started
20191028 185228 worker: USB auto-mounter (udisks-glue)
20191028 185228 worker: -- Music sources
20191028 185228 worker: USB sources (none attached)
20191028 185229 worker: NAS and UPnP sources (mountall initiated)
20191028 185229 worker: -- Miscellaneous
20191028 185229 worker: Saved MPD vol level (0)
20191028 185229 worker: Preamp volume level (0)
20191028 185229 worker: MPD volume level (0) restored
20191028 185229 worker: ALSA volume level (100%)
20191028 185229 worker: Auto-play (Off)
20191028 185229 worker: Maintenance interval (6 hrs)
20191028 185229 worker: Screen saver activation (Never)
20191028 185229 worker: Session permissions (OK)
20191028 185229 worker: Watchdog started
20191028 185229 worker: Ready
pi@moode:~ $ 


p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #9fa01c; background-color: #000000} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #000000} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000; min-height: 13.0px} p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #400bd9; background-color: #000000} p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2fb41d; background-color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures; color: #2fb41d} span.s2 {font-variant-ligatures: no-common-ligatures} span.s3 {font-variant-ligatures: no-common-ligatures; color: #400bd9} span.s4 {font-variant-ligatures: no-common-ligatures; color: #000000} span.s5 {font-variant-ligatures: no-common-ligatures; color: #ffffff} span.s6 {font-variant-ligatures: no-common-ligatures; color: #c0c0c0}
[b]pi@moode[/b]:[b]~ $[/b] alsa-capabilities -s
[b]1[/b]) [b]Analog[/b] output interface [b]hw:0,0[/b] (or [b]hw:ALSA,0[/b])
 - card name         = [b]ALSA                                                        [/b]
 - card label        = [b]bcm2835 ALSA                                                [/b]
 - interface name    = [b]bcm2835 ALSA                                                [/b]
 - usb audio class   = [b](n/a)                                                       [/b]
 - character device  = [b]/dev/snd/pcmC0D0p                                           [/b]
 - samplerates (Hz)  = [b]U8:44100,48000,88200,96000,176400,192000,352800,384000      [/b]
                       [b]S16_LE:44100,48000,88200,96000,176400,192000,352800,384000  [/b]
 - monitor file      = [b]/proc/asound/card0/pcm0p/sub0/hw_params                     [/b]
 - stream file       = [b](n/a)                                                       [/b]

[b]2[/b]) [b]Digital[/b] output interface [b]hw:0,1[/b] (or [b]hw:ALSA,1[/b])
 - card name         = [b]ALSA                                                        [/b]
 - card label        = [b]bcm2835 ALSA                                                [/b]
 - interface name    = [b]bcm2835 IEC958/HDMI                                         [/b]
 - usb audio class   = [b](n/a)                                                       [/b]
 - character device  = [b]/dev/snd/pcmC0D1p                                           [/b]
 - samplerates (Hz)  = [b]S16_LE:44100,48000,88200,96000,176400,192000,352800,384000  [/b]
 - monitor file      = [b]/proc/asound/card0/pcm1p/sub0/hw_params                     [/b]
 - stream file       = [b](n/a)                                                       [/b]

[b]3[/b]) [b]Digital[/b] output interface [b]hw:0,2[/b] (or [b]hw:ALSA,2[/b])
 - card name         = [b]ALSA                                                        [/b]
 - card label        = [b]bcm2835 ALSA                                                [/b]
 - interface name    = [b]bcm2835 IEC958/HDMI1                                        [/b]
 - usb audio class   = [b](n/a)                                                       [/b]
 - character device  = [b]/dev/snd/pcmC0D2p                                           [/b]
 - samplerates (Hz)  = [b]S16_LE:44100,48000,88200,96000,176400,192000,352800,384000  [/b]
 - monitor file      = [b]/proc/asound/card0/pcm2p/sub0/hw_params                     [/b]
 - stream file       = [b](n/a)                                                       [/b]

[b]4[/b]) [b]Digital USB Audio Class[/b] output interface [b]hw:1,0[/b] (or [b]hw:D20,0[/b])
 - card name         = [b]D20                                                         [/b]
 - card label        = [b]Devialet USB Audio 2.0                                      [/b]
 - interface name    = [b]USB Audio                                                   [/b]
 - usb audio class   = [b]2 - isochronous asynchronous                                [/b]
 - character device  = [b]/dev/snd/pcmC1D0p                                           [/b]
 - samplerates (Hz)  = [b]S32_LE:44100,48000,88200,96000,176400,192000                [/b]
                       [b]S16_LE:44100,48000,88200,96000,176400,192000                [/b]
 - monitor file      = [b]/proc/asound/card1/pcm0p/sub0/hw_params                     [/b]
 - stream file       = [b]/proc/asound/card1/stream0                                  [/b]

pi@moode:~ $ 
Please edit your post and place the command output in code boxes for readability. Its the third button from the right on the toolbar.
Reply
#20
Try turning off Squeezelite and UPnP renderers and then verify that the Stereo Test file or a Radio station plays.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: