Thank you for your donation!


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


USB DAC not recognized - "Device Type Nothing selected"
#1
I just installed moOde for the first time; release 6.4.2 on a PI 3 B+.

I'm using a USB DAC: ESS Sabre32 Reference ES9018K2M in a Parasound P6.

Linux correctly detects the DAC via lsusb.

Per the instructions, I deselected I2S audio device, rbooted, etc., as well as trying other changes.

However, in MPD Configuration -> Device type, the only option is "Nothing selected".

Can anyone suggest what to look at?

Thanks in advance!
Reply
#2
Post Moode log

Code:
moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Code:
Thanks for the reply, I appreciate the help. Below is the log (is this the correct one?) Let me know if there is any other information I can collect...

Mar 14 16:52 : ffmpeg/http: HTTP error 403 Forbidden
Mar 14 16:52 : exception: avformat_open_input() failed: Server returned 403 Forbidden (access denied)
Mar 14 16:52 : exception: Failed to decode http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_hig
h/ak/bbc_asian_network.m3u8
Mar 14 16:52 : player: played "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_asi
an_network.m3u8"
Mar 14 16:54 : ffmpeg/http: HTTP error 403 Forbidden
Mar 14 16:54 : exception: avformat_open_input() failed: Server returned 403 Forbidden (access denied)
Mar 14 16:54 : exception: Failed to decode http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_hig
h/ak/bbc_radio_two.m3u8
Mar 14 16:54 : player: played "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_rad
io_two.m3u8"
Mar 14 16:54 : ffmpeg/http: HTTP error 403 Forbidden
Mar 14 16:54 : exception: avformat_open_input() failed: Server returned 403 Forbidden (access denied)
Mar 14 16:54 : exception: Failed to decode http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_hig
h/ak/bbc_radio_fourfm.m3u8
Mar 14 16:54 : player: played "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_rad
io_fourfm.m3u8"
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 16:54 : exception: Failed to open "ALSA default" (alsa)
Mar 14 16:54 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 16:54 : exception: Failed to open "ALSA default" (alsa)
Mar 14 16:54 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 16:54 : player: problems opening audio device while playing "SDCARD/Stereo Test/LRMonoPhase4.flac"
Mar 14 16:55 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 16:55 : exception: Failed to open "ALSA default" (alsa)
Mar 14 16:55 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 16:55 : exception: Failed to open "ALSA default" (alsa)
Mar 14 16:55 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 16:55 : player: problems opening audio device while playing "SDCARD/Stereo Test/LRMonoPhase4.flac"
Mar 14 16:58 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
Mar 14 17:05 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
Mar 14 17:06 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
Mar 14 17:06 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 17:14 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:14 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:14 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:14 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:14 : player: problems opening audio device while playing "SDCARD/Stereo Test/LRMonoPhase4.flac"
Mar 14 17:14 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 17:14 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:14 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:14 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:14 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:14 : player: problems opening audio device while playing "http://stream.wqxr.org/wqxr"
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 17:15 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:15 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:15 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:15 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 17:15 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:15 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:15 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:15 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 17:18 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:18 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:18 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:18 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 17:18 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:18 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:18 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:18 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 17:19 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:19 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:19 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:19 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 17:27 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:27 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:27 : exception: Failed to open "ALSA default" (alsa)
Mar 14 17:27 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 17:31 : player: played "http://stream.wqxr.org/wqxr"
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 18:25 : exception: Failed to open "ALSA default" (alsa)
Mar 14 18:25 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 18:25 : exception: Failed to open "ALSA default" (alsa)
Mar 14 18:25 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 18:25 : player: problems opening audio device while playing "http://stream.wqxr.org/wqxr"
Mar 14 18:26 : player: played "http://stream.wqxr.org/wqxr"
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 18:28 : exception: Failed to open "ALSA default" (alsa)
Mar 14 18:28 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 18:28 : exception: Failed to open "ALSA default" (alsa)
Mar 14 18:28 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 18:28 : player: problems opening audio device while playing "http://subfm.radioca.st/Sub.FM"
Mar 14 18:29 : player: played "http://subfm.radioca.st/Sub.FM"
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 18:44 : exception: Failed to open "ALSA default" (alsa)
Mar 14 18:44 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 18:44 : exception: Failed to open "ALSA default" (alsa)
Mar 14 18:44 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 18:44 : player: problems opening audio device while playing "http://strm112.1.fm/blues_mobile_mp3"
Mar 14 20:02 : player: played "http://strm112.1.fm/blues_mobile_mp3"
Reply
#4
Code:
sudo lsusb -v  -s 001:005
Bus 001 Device 005: ID 262a:11da
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass          239 Miscellaneous Device
bDeviceSubClass         2
bDeviceProtocol         1 Interface Association
bMaxPacketSize0        64
idVendor           0x262a
idProduct          0x11da
bcdDevice            0.01
iManufacturer           1 Resonance Electronics
iProduct                2 PARASOUND
iSerial                 0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength       0x0150
  bNumInterfaces          3
  bConfigurationValue     1
  iConfiguration          0
  bmAttributes         0x80
    (Bus Powered)
  MaxPower              100mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         3 Human Interface Device
    bInterfaceSubClass      0
    bInterfaceProtocol      0
    iInterface              0
      HID Device Descriptor:
        bLength                 9
        bDescriptorType        33
        bcdHID               1.00
        bCountryCode            0 Not supported
        bNumDescriptors         1
        bDescriptorType        34 Report
        wDescriptorLength      99
       Report Descriptors:
         ** UNAVAILABLE **
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0020  1x 32 bytes
      bInterval               6
  Interface Association:
    bLength                 8
    bDescriptorType        11
    bFirstInterface         1
    bInterfaceCount         2
    bFunctionClass          1 Audio
    bFunctionSubClass       0
    bFunctionProtocol      32
    iFunction               3 PARASOUND
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        1
    bAlternateSetting       0
    bNumEndpoints           0
    bInterfaceClass         1 Audio
    bInterfaceSubClass      1 Control Device
    bInterfaceProtocol     32
    iInterface              3 PARASOUND
    AudioControl Interface Descriptor:
      bLength                 9
      bDescriptorType        36
      bDescriptorSubtype      1 (HEADER)
      bcdADC               2.00
      bCategory              10
      wTotalLength       0x0040
      bmControls           0x00
    AudioControl Interface Descriptor:
      bLength                 8
      bDescriptorType        36
      bDescriptorSubtype     10 (CLOCK_SOURCE)
      bClockID                1
      bmAttributes            7 Internal programmable clock (synchronized to SOF)
      bmControls           0x07
        Clock Frequency Control (read/write)
        Clock Validity Control (read-only)
      bAssocTerminal          0
      iClockSource            0
    AudioControl Interface Descriptor:
      bLength                17
      bDescriptorType        36
      bDescriptorSubtype      2 (INPUT_TERMINAL)
      bTerminalID             3
      wTerminalType      0x0101 USB Streaming
      bAssocTerminal          0
      bCSourceID              1
      bNrChannels             2
      bmChannelConfig    0x00000003
        Front Left (FL)
        Front Right (FR)
      iChannelNames           0
      bmControls         0x0000
      iTerminal               0
    AudioControl Interface Descriptor:
      bLength                12
      bDescriptorType        36
      bDescriptorSubtype      3 (OUTPUT_TERMINAL)
      bTerminalID             4
      wTerminalType      0x0605 SPDIF interface
      bAssocTerminal          0
      bSourceID              10
      bCSourceID              1
      bmControls         0x0000
      iTerminal               0
    AudioControl Interface Descriptor:
      bLength                18
      bDescriptorType        36
      bDescriptorSubtype      6 (FEATURE_UNIT)
      bUnitID                10
      bSourceID               3
      bmaControls(0)     0x00000003
        Mute Control (read/write)
      bmaControls(1)     0x0000000c
        Volume Control (read/write)
      bmaControls(2)     0x0000000c
        Volume Control (read/write)
      iFeature                0
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        2
    bAlternateSetting       0
    bNumEndpoints           0
    bInterfaceClass         1 Audio
    bInterfaceSubClass      2 Streaming
    bInterfaceProtocol     32
    iInterface              0
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        2
    bAlternateSetting       1
    bNumEndpoints           2
    bInterfaceClass         1 Audio
    bInterfaceSubClass      2 Streaming
    bInterfaceProtocol     32
    iInterface              0
    AudioStreaming Interface Descriptor:
      bLength                16
      bDescriptorType        36
      bDescriptorSubtype      1 (AS_GENERAL)
      bTerminalLink           3
      bmControls           0x00
      bFormatType             1
      bmFormats          0x00000001
        PCM
      bNrChannels             2
      bmChannelConfig    0x00000003
        Front Left (FL)
        Front Right (FR)
      iChannelNames           0
    AudioStreaming Interface Descriptor:
      bLength                 6
      bDescriptorType        36
      bDescriptorSubtype      2 (FORMAT_TYPE)
      bFormatType             1 (FORMAT_TYPE_I)
      bSubslotSize            2
      bBitResolution         16
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x03  EP 3 OUT
      bmAttributes            5
        Transfer Type            Isochronous
        Synch Type               Asynchronous
        Usage Type               Data
      wMaxPacketSize     0x00c8  1x 200 bytes
      bInterval               1
      AudioStreaming Endpoint Descriptor:
        bLength                 8
        bDescriptorType        37
        bDescriptorSubtype      1 (EP_GENERAL)
        bmAttributes         0x00
        bmControls           0x00
        bLockDelayUnits         2 Decoded PCM samples
        wLockDelay         0x0002
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x84  EP 4 IN
      bmAttributes           17
        Transfer Type            Isochronous
        Synch Type               None
        Usage Type               Feedback
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval               4
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        2
    bAlternateSetting       2
    bNumEndpoints           2
    bInterfaceClass         1 Audio
    bInterfaceSubClass      2 Streaming
    bInterfaceProtocol     32
    iInterface              0
    AudioStreaming Interface Descriptor:
      bLength                16
      bDescriptorType        36
      bDescriptorSubtype      1 (AS_GENERAL)
      bTerminalLink           3
      bmControls           0x00
      bFormatType             1
      bmFormats          0x00000001
        PCM
      bNrChannels             2
      bmChannelConfig    0x00000003
        Front Left (FL)
        Front Right (FR)
      iChannelNames           0
    AudioStreaming Interface Descriptor:
      bLength                 6
      bDescriptorType        36
      bDescriptorSubtype      2 (FORMAT_TYPE)
      bFormatType             1 (FORMAT_TYPE_I)
      bSubslotSize            3
      bBitResolution         24
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x03  EP 3 OUT
      bmAttributes            5
        Transfer Type            Isochronous
        Synch Type               Asynchronous
        Usage Type               Data
      wMaxPacketSize     0x012c  1x 300 bytes
      bInterval               1
      AudioStreaming Endpoint Descriptor:
        bLength                 8
        bDescriptorType        37
        bDescriptorSubtype      1 (EP_GENERAL)
        bmAttributes         0x00
        bmControls           0x00
        bLockDelayUnits         2 Decoded PCM samples
        wLockDelay         0x0002
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x84  EP 4 IN
      bmAttributes           17
        Transfer Type            Isochronous
        Synch Type               None
        Usage Type               Feedback
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval               4
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        2
    bAlternateSetting       3
    bNumEndpoints           2
    bInterfaceClass         1 Audio
    bInterfaceSubClass      2 Streaming
    bInterfaceProtocol     32
    iInterface              0
    AudioStreaming Interface Descriptor:
      bLength                16
      bDescriptorType        36
      bDescriptorSubtype      1 (AS_GENERAL)
      bTerminalLink           3
      bmControls           0x00
      bFormatType             1
      bmFormats          0x00000001
        PCM
      bNrChannels             2
      bmChannelConfig    0x00000003
        Front Left (FL)
        Front Right (FR)
      iChannelNames           0
    AudioStreaming Interface Descriptor:
      bLength                 6
      bDescriptorType        36
      bDescriptorSubtype      2 (FORMAT_TYPE)
      bFormatType             1 (FORMAT_TYPE_I)
      bSubslotSize            4
      bBitResolution         32
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x03  EP 3 OUT
      bmAttributes            5
        Transfer Type            Isochronous
        Synch Type               Asynchronous
        Usage Type               Data
      wMaxPacketSize     0x0190  1x 400 bytes
      bInterval               1
      AudioStreaming Endpoint Descriptor:
        bLength                 8
        bDescriptorType        37
        bDescriptorSubtype      1 (EP_GENERAL)
        bmAttributes         0x00
        bmControls           0x00
        bLockDelayUnits         2 Decoded PCM samples
        wLockDelay         0x0002
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x84  EP 4 IN
      bmAttributes           17
        Transfer Type            Isochronous
        Synch Type               None
        Usage Type               Feedback
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval               4
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        2
    bAlternateSetting       4
    bNumEndpoints           2
    bInterfaceClass         1 Audio
    bInterfaceSubClass      2 Streaming
    bInterfaceProtocol     32
    iInterface              0
    AudioStreaming Interface Descriptor:
      bLength                16
      bDescriptorType        36
      bDescriptorSubtype      1 (AS_GENERAL)
      bTerminalLink           3
      bmControls           0x00
      bFormatType             3
      bmFormats          0x00001381
        PCM
      bNrChannels             2
      bmChannelConfig    0x00000003
        Front Left (FL)
        Front Right (FR)
      iChannelNames           0
    AudioStreaming Interface Descriptor:
      bLength                 6
      bDescriptorType        36
      bDescriptorSubtype      2 (FORMAT_TYPE)
      bFormatType             3 (FORMAT_TYPE_III)
      bSubslotSize            2
      bBitResolution         16
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x03  EP 3 OUT
      bmAttributes            5
        Transfer Type            Isochronous
        Synch Type               Asynchronous
        Usage Type               Data
      wMaxPacketSize     0x0020  1x 32 bytes
      bInterval               1
      AudioStreaming Endpoint Descriptor:
        bLength                 8
        bDescriptorType        37
        bDescriptorSubtype      1 (EP_GENERAL)
        bmAttributes         0x00
        bmControls           0x00
        bLockDelayUnits         2 Decoded PCM samples
        wLockDelay         0x0002
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x84  EP 4 IN
      bmAttributes           17
        Transfer Type            Isochronous
        Synch Type               None
        Usage Type               Feedback
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval               4
Device Qualifier (for other device speed):
bLength                10
bDescriptorType         6
bcdUSB               2.00
bDeviceClass          239 Miscellaneous Device
bDeviceSubClass         2
bDeviceProtocol         1 Interface Association
bMaxPacketSize0        64
bNumConfigurations      1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
(Bus Powered)
Reply
#5
(03-14-2020, 10:47 PM)Tim Curtis Wrote: Post Moode log

Code:
moodeutl -l
Missed the Code snippet the first time!


Code:
pi@RPIStreamer:~ $ moodeutl -l
20200314 200310 worker: -- Start
20200314 200310 worker: Successfully daemonized
20200314 200310 worker: Integrity check (passed)
20200314 200310 worker: Session loaded
20200314 200310 worker: Debug logging (on)
20200314 200310 worker: Device raw: (0:|1:empty|i2s:none)
20200314 200310 worker: Device cfg: (On-board audio device|0|0|Invalid card number.|none)
20200314 200310 worker: ALSA volume (None)
20200314 200311 worker: -- System
20200314 200313 worker: Host name     (moode)
20200314 200313 worker: moOde release (6.4.2 2020-02-12)
20200314 200313 worker: Raspbian OS   (10.2)
20200314 200313 worker: Linux kernel  (4.19.97-v7+ #1293)
20200314 200313 worker: Platform      (Pi-3B+ 1GB v1.3)
20200314 200313 worker: Architecture  (armv7l)
20200314 200313 worker: MPD version   (0.21.16)
20200314 200313 worker: CPU governor  (ondemand)
20200314 200313 worker: USB boot enabled
20200314 200313 worker: File system expanded
20200314 200313 worker: HDMI port off
20200314 200314 worker: File check (OK)
20200314 200314 worker: -- Network
20200314 200314 worker: eth0 exists
20200314 200314 worker: eth0 address not assigned
20200314 200314 worker: wlan0 exists
20200314 200314 worker: wifi country (US)
20200314 200314 worker: wlan0 trying SSID (redacted)
20200314 200314 worker: IP addr (192.168.1.xxx)
20200314 200314 worker: Netmask (255.255.255.0)
20200314 200314 worker: Gateway (192.168.1.x)
20200314 200314 worker: Pri DNS (192.168.1.x)
20200314 200314 worker: Domain  (home)
20200314 200315 worker: -- Audio
20200314 200315 worker: ALSA outputs unmuted
20200314 200315 worker: ALSA card number (0)
20200314 200315 worker: Audio output (On-board audio device)
20200314 200315 worker: Audio formats (cat: /proc/asound/card0/pcm0p/sub0/hw_params: No such file or directory)
20200314 200315 worker: ALSA mixer name (Invalid card number.)
20200314 200315 worker: MPD volume control (disabled)
20200314 200315 worker: Hdwr volume controller exists
20200314 200315 worker: Max ALSA volume (100%)
20200314 200315 worker: -- Services
20200314 200315 worker: Reset renderer active state
20200314 200316 worker: MPD conf updated
20200314 200316 worker: MPD started
20200314 200316 openMpdSocket(): connection failed (1)
20200314 200316 openMpdSocket(): errorno: 111, Connection refused
20200314 200316 worker: MPD accepting connections
20200314 200316 worker: Configure MPD outputs
20200314 200316 worker: MPD output 1 ALSA default (on)
20200314 200316 worker: MPD output 2 ALSA crossfeed (off)
20200314 200316 worker: MPD output 3 ALSA parametric eq (off)
20200314 200316 worker: MPD output 4 ALSA graphic eq (off)
20200314 200316 worker: MPD output 5 ALSA polarity inversion (off)
20200314 200316 worker: MPD output 6 ALSA bluetooth (off)
20200314 200316 worker: MPD output 7 HTTP stream (off)
20200314 200316 worker: MPD crossfade (off)
20200314 200316 worker: Audio source (Local)
20200314 200316 worker: Output device (Local)
20200314 200317 worker: USB auto-mounter (udisks-glue)
20200314 200317 worker: -- Music sources
20200314 200317 worker: USB sources (none attached)
20200314 200317 worker: NAS and UPnP sources (none configured)
20200314 200317 worker: -- Miscellaneous
20200314 200317 worker: Saved MPD vol level (0)
20200314 200317 worker: Preamp volume level (0)
20200314 200317 worker: MPD volume level (0) restored
20200314 200317 worker: ALSA volume level (Invalid card number.)
20200314 200317 worker: Auto-play (Off)
20200314 200317 worker: LocalUI started
20200314 200317 worker: Auto-shuffle service (Off)
20200314 200317 worker: Maintenance interval (3 hrs)
20200314 200317 worker: Screen saver activation (Never)
20200314 200317 worker: Session permissions (OK)
20200314 200317 worker: Watchdog started
20200314 200317 worker: Ready
20200314 200320 enhanceMetadata(): Radio station
20200314 200320 engine-mpd: Metadata returned to client: Size=(28)
20200314 200446 enhanceMetadata(): Radio station
20200314 200446 engine-mpd: Metadata returned to client: Size=(28)
20200314 200447 loadLibrary(): Cache data returned to client, length (305)
20200314 200621 waitWorker(): Start (mpd-config, w_active=0)
20200314 200621 waitWorker(): End   (mpd-config, w_active=0)
20200314 200622 enhanceMetadata(): Radio station
20200314 200622 engine-mpd: Metadata returned to client: Size=(28)
20200314 202022 waitWorker(): Start (mpd-config, w_active=0)
20200314 202022 waitWorker(): End   (mpd-config, w_active=0)
20200314 202023 enhanceMetadata(): Radio station
20200314 202023 engine-mpd: Metadata returned to client: Size=(28)
20200314 202023 waitWorker(): Start (mpd-config, w_active=0)
20200314 202023 waitWorker(): End   (mpd-config, w_active=0)
20200314 202024 enhanceMetadata(): Radio station
20200314 202024 engine-mpd: Metadata returned to client: Size=(28)
20200314 202024 waitWorker(): Start (mpd-config, w_active=0)
20200314 202024 waitWorker(): End   (mpd-config, w_active=0)
20200314 202025 enhanceMetadata(): Radio station
20200314 202025 engine-mpd: Metadata returned to client: Size=(28)
20200314 202029 waitWorker(): Start (mpd-config, w_active=0)
20200314 202029 waitWorker(): End   (mpd-config, w_active=0)
20200314 202030 enhanceMetadata(): Radio station
20200314 202030 engine-mpd: Metadata returned to client: Size=(28)
20200314 202036 waitWorker(): Start (sys-config, w_active=0)
20200314 202036 waitWorker(): End   (sys-config, w_active=0)
20200314 202036 enhanceMetadata(): Radio station
20200314 202036 engine-mpd: Metadata returned to client: Size=(28)
20200314 202038 waitWorker(): Start (lib-config, w_active=0)
20200314 202038 waitWorker(): End   (lib-config, w_active=0)
20200314 202038 enhanceMetadata(): Radio station
20200314 202038 engine-mpd: Metadata returned to client: Size=(28)
20200314 202042 enhanceMetadata(): Radio station
20200314 202042 engine-mpd: Metadata returned to client: Size=(28)
20200314 202042 loadLibrary(): Cache data returned to client, length (305)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): File is NULL
20200314 202046 engine-mpd: Metadata returned to client: Size=(25)
20200314 202046 enhanceMetadata(): Radio station
20200314 202046 engine-mpd: Metadata returned to client: Size=(28)
20200314 202046 enhanceMetadata(): Radio station
20200314 202046 engine-mpd: Metadata returned to client: Size=(28)
20200314 202046 enhanceMetadata(): Radio station
20200314 202046 engine-mpd: Metadata returned to client: Size=(28)
20200314 202048 enhanceMetadata(): Radio station
20200314 202048 engine-mpd: Metadata returned to client: Size=(31)
20200314 202048 enhanceMetadata(): Radio station
20200314 202048 engine-mpd: Metadata returned to client: Size=(31)
20200314 202048 enhanceMetadata(): Radio station
20200314 202048 engine-mpd: Metadata returned to client: Size=(31)
20200314 202108 enhanceMetadata(): File is NULL
20200314 202108 engine-mpd: Metadata returned to client: Size=(26)
20200314 202108 enhanceMetadata(): Radio station
20200314 202108 engine-mpd: Metadata returned to client: Size=(28)
20200314 202108 enhanceMetadata(): File is NULL
20200314 202108 engine-mpd: Metadata returned to client: Size=(26)
20200314 202112 enhanceMetadata(): Radio station
20200314 202112 engine-mpd: Metadata returned to client: Size=(30)
20200314 202112 enhanceMetadata(): Radio station
20200314 202112 engine-mpd: Metadata returned to client: Size=(30)
20200314 202112 enhanceMetadata(): Radio station
20200314 202112 engine-mpd: Metadata returned to client: Size=(30)
20200314 202743 waitWorker(): Start (blu-config, w_active=0)
20200314 202743 waitWorker(): End   (blu-config, w_active=0)
20200314 202743 enhanceMetadata(): Radio station
20200314 202743 engine-mpd: Metadata returned to client: Size=(30)
20200314 202802 waitWorker(): Start (net-config, w_active=0)
20200314 202802 waitWorker(): End   (net-config, w_active=0)
20200314 202802 enhanceMetadata(): Radio station
20200314 202802 engine-mpd: Metadata returned to client: Size=(30)
20200314 202821 waitWorker(): Start (snd-config, w_active=0)
20200314 202821 waitWorker(): End   (snd-config, w_active=0)
20200314 202821 enhanceMetadata(): Radio station
20200314 202821 engine-mpd: Metadata returned to client: Size=(30)
Reply
#6
Interesting looking at the spec sheet and feature sheet for your P6

https://parasound.com/p6.php

This jumps out...
Quote:Upgraded USB receiver with "plug and play" operation with Windows 10

Because another site lists the Savitech Sa9227/Sabre ES9018K2M as...
Quote:The 9018 DAC has the following specs:
  • Audiophile Sabre ES9018K2M chip, Savitech SA9227 USB receiver
  • Accepts all sample rates up to 384kHz/32bit
  • No drivers required for Mac and Linux. Drivers available for Windows
Unless you have been able to run any other Linux audio then you might want to check with Parasound their Linux compatibility/support ?
----------
bob
Reply
#7
Good point. Yes, the Parasound has worked with Linux.

In the log, it looks like the problem starts at:
Code:
Audio formats (cat: /proc/asound/card0/pcm0p/sub0/hw_params: No such file or directory)

Not sure what this means yet, or if it's the root cause or a symptom...
Reply
#8
@martinb0820 

I don't think there's necessarily  problem with your USB DAC.

An excerpt from your moodeutl -l output


Code:
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Mar 14 16:54 : exception: Failed to open "ALSA default" (alsa)
Mar 14 16:54 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 16:54 : exception: Failed to open "ALSA default" (alsa)
Mar 14 16:54 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory
Mar 14 16:54 : player: problems opening audio device while playing "SDCARD/Stereo Test/LRMonoPhase4.flac"


I seem to recall running into this kind of behavior a while back.

In my case IIRC I had a player configured for a USB DAC, had removed the DAC while the player was off, and forgot about it (I was using the DAC in a test of another moOde player). I saw the same ALSA errors albeit for a different device. They went away when I plugged the DAC back in.

Not quite your situation, but from your first post,

Quote:I just installed moOde for the first time; release 6.4.2 on a PI 3 B+.

I'm using a USB DAC: ESS Sabre32 Reference ES9018K2M in a Parasound P6.

Linux correctly detects the DAC via lsusb.

Per the instructions, I deselected I2S audio device, rbooted, etc., as well as trying other changes.

If this was a fresh install, why did you have to "deselect I2S audio device"? Perhaps the configuration settings in moOde's database (/var/local/www/db/moode-sqlite3.db) and elsewhere no longer match the hardware environment.

Regards,
Kent
Reply
#9
- Download a fresh image from moodeaudio.org.
- Install it onto a known good SDCard.
- Boot up without any audio device or other hardware connected and don't change any Moode settings.

Post the Moode log

Code:
moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#10
(03-15-2020, 01:43 PM)TheOldPresbyope Wrote: @martinb0820 

I don't think there's necessarily  problem with your USB DAC.

An excerpt from your moodeutl -l output

...

I seem to recall running into this kind of behavior a while back.

In my case IIRC I had a player configured for a USB DAC, had removed the DAC while the player was off, and forgot about it (I was using the DAC in a test of another moOde player). I saw the same ALSA errors albeit for a different device. They went away when I plugged the DAC back in.

Not quite your situation, but from your first post,

...

If this was a fresh install, why did you have to "deselect I2S audio device"? Perhaps the configuration settings in moOde's database (/var/local/www/db/moode-sqlite3.db) and elsewhere no longer match the hardware environment.

Regards,
Kent

Thanks for the reply.The DAC is definitely OK. It has worked with Linux and Windows, and is connected to the PI.

Either the I2S device is selected by default on a new moOde install, or this installation is corrupted because I don't have an I2S device. The Setup Guide, below, suggests that I2S is selected by default.

Code:
2. AUDIO DEVICE SETUP
   - USB DEVICE
    a) Menu, Configure, Audio
   b) Select "None" for I2S audio device then SET
   c) Reboot
Reply


Forum Jump: