Posts: 30
Threads: 4
Joined: Apr 2020
Reputation:
0
01-08-2024, 02:56 PM
(This post was last modified: 01-08-2024, 03:31 PM by PeterLustig33.)
Hello everyone,
maybe someone can help me with my problem. I would like to use my Raspi4 together with an "SMSL M300SE DAC". Connected via USB. Unfortunately, the device is only ever recognised as a "QinHeng Electronics CH340 serial converter", but not as an audio device. I have tried USB 2.0 and USB 3.
Does anyone have any advice on what I can do?
Posts: 14,017
Threads: 319
Joined: Mar 2018
Reputation:
571
Reboot and then post the contents of the startup log. The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from the any of the Config screens. The startup log will be at the end of System info output.
Posts: 30
Threads: 4
Joined: Apr 2020
Reputation:
0
01-08-2024, 04:45 PM
(This post was last modified: 01-08-2024, 05:25 PM by Tim Curtis.
Edit Reason: Place log output in code box for readability
)
Great, thank you very much, by the way, I have tested the system both as 32 bit and as 64 bit.
Here is the start log of the 32-bit version:
Code: M O O D E S T A R T U P L O G
20240108 163904 worker: --
20240108 163905 worker: -- Start moOde 8 series
20240108 163905 worker: --
20240108 163905 worker: Successfully daemonized
20240108 163905 worker: Wait for Linux startup...
20240108 173446 worker: Linux startup complete
20240108 173446 worker: Boot config backed up
20240108 173447 worker: Session loaded
20240108 173448 worker: Package holds applied
20240108 173449 worker: File check complete
20240108 173449 worker: Debug logging off
20240108 173449 worker: Reduced logging off
20240108 173449 worker: --
20240108 173449 worker: -- Audio debug
20240108 173449 worker: --
20240108 173449 worker: ALSA cards: 0:b1 | 1:Headphones | 2:empty | 3:empty
20240108 173449 worker: MPD config: 0:Pi HDMI 1 | mixer:PCM | cardnum:0
20240108 173449 worker: Mixer name: [PCM]
20240108 173449 worker: Hdwr volume: set to 0%
20240108 173449 worker: --
20240108 173449 worker: -- System
20240108 173449 worker: --
20240108 173451 worker: Host: MOODE-Pro
20240108 173451 worker: Model: Pi-4B 1.1 2GB
20240108 173451 worker: moOde: 8.3.7 2023-12-07
20240108 173451 worker: RaspiOS: 11.8 Bullseye 32-bit
20240108 173451 worker: Kernel: 6.1.21 64-bit
20240108 173451 worker: MPD ver: 0.23.14
20240108 173451 worker: CPU gov: ondemand
20240108 173451 worker: Userid: pi
20240108 173451 worker: Homedir: /home/pi
20240108 173451 worker: Timezone: Europe/Berlin
20240108 173451 worker: Keyboard: de
20240108 173451 worker: USB boot: enabled
20240108 173451 worker: File sys: expanded
20240108 173451 worker: HDMI out: on
20240108 173451 worker: Sys LED0: on
20240108 173451 worker: Sys LED1: on
20240108 173451 worker: --
20240108 173451 worker: -- Network
20240108 173451 worker: --
20240108 173451 worker: Eth: adapter exists
20240108 173451 worker: Eth: timeout off
20240108 173451 worker: Eth: address not assigned
20240108 173451 worker: Wlan: adapter exists
20240108 173451 worker: Wlan: country US
20240108 173451 worker: Wlan: SSID FRITZ_X
20240108 173451 worker: Wlan: other none
20240108 173451 worker: Wlan: router off
20240108 173451 worker: Wlan: timeout up to 90 secs
20240108 173451 worker: Wlan: connect to FRITZ_X
20240108 173451 worker: Wlan: sleep disabled
20240108 173451 worker: Wlan: method dhcp
20240108 173451 worker: Wlan: address 192.168.6.180
20240108 173451 worker: Wlan: netmask 255.255.255.0
20240108 173451 worker: Wlan: gateway 192.168.6.1
20240108 173451 worker: Wlan: pri DNS 192.168.6.4
20240108 173451 worker: Wlan: domain fritz.box
20240108 173451 worker: --
20240108 173451 worker: -- Software update
20240108 173451 worker: --
20240108 173451 worker: Automatic check off
20240108 173451 worker: --
20240108 173451 worker: -- File sharing
20240108 173451 worker: --
20240108 173451 worker: SMB file sharing: off
20240108 173451 worker: NFS file sharing: off
20240108 173451 worker: DLNA file sharing: off
20240108 173451 worker: --
20240108 173451 worker: -- Audio config
20240108 173451 worker: --
20240108 173452 worker: MPD config: updated
20240108 173452 worker: Audio device: Pi HDMI 1
20240108 173452 worker: Formats: U8, S16_LE
20240108 173452 worker: Mixer type Hardware
20240108 173452 worker: Mixer name PCM
20240108 173452 worker: Hdwr volume: controller detected
20240108 173452 worker: ALSA max vol: 100%
20240108 173452 worker: ALSA card: 0
20240108 173452 worker: ALSA mode: Default
20240108 173452 worker: ALSA loopback: off
20240108 173452 worker: CamillaDSP: off
20240108 173452 worker: Renderers: active flags reset
20240108 173452 worker: --
20240108 173452 worker: -- MPD startup
20240108 173452 worker: --
20240108 173452 worker: MPD service: started
20240108 173452 worker: MPD port 6600: accepting connections
20240108 173452 worker: MPD ALSA Default: on
20240108 173452 worker: MPD ALSA Bluetooth: off
20240108 173452 worker: MPD HTTP Server: off
20240108 173452 worker: MPD crossfade: off
20240108 173452 worker: MPD ignore CUE: yes
20240108 173452 worker: MPD first boot: SDCARD scanned
20240108 173453 worker: MPD first boot: default playlist loaded
20240108 173453 worker: MPD CDSP volsync: off
20240108 173453 worker: MPD CDSP volrange: 60 dB
20240108 173453 worker: --
20240108 173453 worker: -- Music sources
20240108 173453 worker: --
20240108 173453 worker: USB auto-mount: devmon
20240108 173454 worker: USB drives: no drives found
20240108 173454 worker: NAS sources: no music sources defined
20240108 173454 worker: --
20240108 173454 worker: -- Feature availability
20240108 173454 worker: --
20240108 173454 worker: Input select: available, src MPD, out Pi HDMI 1
20240108 173454 worker: Bluetooth: available, ALSA mode Default
20240108 173454 worker: AirPlay: available
20240108 173454 worker: Spotify Connect: available
20240108 173454 worker: Squeezelite: available
20240108 173454 worker: RoonBridge: not installed
20240108 173454 worker: Multiroom: available
20240108 173454 worker: UPnP client: available
20240108 173454 worker: GPIO buttons: available
20240108 173454 worker: Stream recorder: n/a
20240108 173454 worker: HTTPS-Only mode: n/a
20240108 173454 worker: --
20240108 173454 worker: -- Volume levels
20240108 173454 worker: --
20240108 173454 worker: Volume knob: 0
20240108 173454 worker: Saved MPD volume: 0
20240108 173454 worker: Saved SRC volume: 0
20240108 173454 worker: Hdwr volume: 0%
20240108 173454 worker: --
20240108 173454 worker: -- Peripherals
20240108 173454 worker: --
20240108 173454 worker: Local display: off
20240108 173454 worker: On-screen kbd: off
20240108 173454 worker: Rotary encoder: off
20240108 173454 worker: USB volume knob: off
20240108 173454 worker: LCD updater: off
20240108 173454 worker: --
20240108 173454 worker: -- Miscellaneous
20240108 173454 worker: --
20240108 173454 worker: Auto-CoverView: off
20240108 173454 worker: CoverView timeout: Never
20240108 173454 worker: Auto-shuffle: off
20240108 173454 worker: Auto-play: off
20240108 173454 worker: Web SSH server: on
20240108 173454 worker: Maintenance task: 360 mins
20240108 173454 worker: Current view: reset to Playback
20240108 173454 worker: Session check: ok
20240108 173454 worker: --
20240108 173454 worker: -- Startup complete
20240108 173454 worker: --
20240108 173454 worker: Mount monitor: off
20240108 173454 worker: MPD monitor: off
20240108 173455 worker: Watchdog monitor: started
20240108 173455 worker: Responsiveness: Default
20240108 173455 worker: Ready
Posts: 30
Threads: 4
Joined: Apr 2020
Reputation:
0
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Posts: 1,404
Threads: 24
Joined: Jun 2022
Reputation:
50
01-08-2024, 05:08 PM
(This post was last modified: 01-08-2024, 05:08 PM by Nutul.)
(01-08-2024, 04:56 PM)PeterLustig33 Wrote: lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
can you open alsamixer on a console, and press F6, this will open a small window on the screen, where you can see the devices recognized by the system.
My Linux box too identifies my Scarlett 2i2 as a digital camera (that is generally just a description, wrong, but a description only), but it plays audio through it, nevertheless...
Posts: 6,217
Threads: 185
Joined: Apr 2018
Reputation:
250
To elaborate on Al's reply, the string "QinHeng Electronics CH340 serial converter" is just a place keeper embedded in the USB interface chip by the manufacturer. It's being reported back through USB as the DAC's iProduct descriptor. Apparently SMSL is too cheap to pay its chip supplier to customize the string for the M300SE DAC.
Where do you see this string reported in the moOde webUI? If it is listed in the pull-down menu of Output device in the Audio configuration screen, then just select it and continue.
Al's proposed use of alsamixer would confirm this because it reports only the audio devices recognized by the system (and, possibly, only those with one or more mixers?)
Regards,
Kent
Posts: 14,017
Threads: 319
Joined: Mar 2018
Reputation:
571
(01-08-2024, 04:45 PM)PeterLustig33 Wrote: Great, thank you very much, by the way, I have tested the system both as 32 bit and as 64 bit.
Here is the start log of the 32-bit version:
Code: M O O D E S T A R T U P L O G
20240108 163904 worker: --
20240108 163905 worker: -- Start moOde 8 series
20240108 163905 worker: --
20240108 163905 worker: Successfully daemonized
20240108 163905 worker: Wait for Linux startup...
20240108 173446 worker: Linux startup complete
20240108 173446 worker: Boot config backed up
20240108 173447 worker: Session loaded
20240108 173448 worker: Package holds applied
20240108 173449 worker: File check complete
20240108 173449 worker: Debug logging off
20240108 173449 worker: Reduced logging off
20240108 173449 worker: --
20240108 173449 worker: -- Audio debug
20240108 173449 worker: --
20240108 173449 worker: ALSA cards: 0:b1 | 1:Headphones | 2:empty | 3:empty
20240108 173449 worker: MPD config: 0:Pi HDMI 1 | mixer:PCM | cardnum:0
20240108 173449 worker: Mixer name: [PCM]
20240108 173449 worker: Hdwr volume: set to 0%
20240108 173449 worker: --
20240108 173449 worker: -- System
20240108 173449 worker: --
20240108 173451 worker: Host: MOODE-Pro
20240108 173451 worker: Model: Pi-4B 1.1 2GB
20240108 173451 worker: moOde: 8.3.7 2023-12-07
20240108 173451 worker: RaspiOS: 11.8 Bullseye 32-bit
20240108 173451 worker: Kernel: 6.1.21 64-bit
20240108 173451 worker: MPD ver: 0.23.14
20240108 173451 worker: CPU gov: ondemand
20240108 173451 worker: Userid: pi
20240108 173451 worker: Homedir: /home/pi
20240108 173451 worker: Timezone: Europe/Berlin
20240108 173451 worker: Keyboard: de
20240108 173451 worker: USB boot: enabled
20240108 173451 worker: File sys: expanded
20240108 173451 worker: HDMI out: on
20240108 173451 worker: Sys LED0: on
20240108 173451 worker: Sys LED1: on
20240108 173451 worker: --
20240108 173451 worker: -- Network
20240108 173451 worker: --
20240108 173451 worker: Eth: adapter exists
20240108 173451 worker: Eth: timeout off
20240108 173451 worker: Eth: address not assigned
20240108 173451 worker: Wlan: adapter exists
20240108 173451 worker: Wlan: country US
20240108 173451 worker: Wlan: SSID FRITZ_X
20240108 173451 worker: Wlan: other none
20240108 173451 worker: Wlan: router off
20240108 173451 worker: Wlan: timeout up to 90 secs
20240108 173451 worker: Wlan: connect to FRITZ_X
20240108 173451 worker: Wlan: sleep disabled
20240108 173451 worker: Wlan: method dhcp
20240108 173451 worker: Wlan: address 192.168.6.180
20240108 173451 worker: Wlan: netmask 255.255.255.0
20240108 173451 worker: Wlan: gateway 192.168.6.1
20240108 173451 worker: Wlan: pri DNS 192.168.6.4
20240108 173451 worker: Wlan: domain fritz.box
20240108 173451 worker: --
20240108 173451 worker: -- Software update
20240108 173451 worker: --
20240108 173451 worker: Automatic check off
20240108 173451 worker: --
20240108 173451 worker: -- File sharing
20240108 173451 worker: --
20240108 173451 worker: SMB file sharing: off
20240108 173451 worker: NFS file sharing: off
20240108 173451 worker: DLNA file sharing: off
20240108 173451 worker: --
20240108 173451 worker: -- Audio config
20240108 173451 worker: --
20240108 173452 worker: MPD config: updated
20240108 173452 worker: Audio device: Pi HDMI 1
20240108 173452 worker: Formats: U8, S16_LE
20240108 173452 worker: Mixer type Hardware
20240108 173452 worker: Mixer name PCM
20240108 173452 worker: Hdwr volume: controller detected
20240108 173452 worker: ALSA max vol: 100%
20240108 173452 worker: ALSA card: 0
20240108 173452 worker: ALSA mode: Default
20240108 173452 worker: ALSA loopback: off
20240108 173452 worker: CamillaDSP: off
20240108 173452 worker: Renderers: active flags reset
20240108 173452 worker: --
20240108 173452 worker: -- MPD startup
20240108 173452 worker: --
20240108 173452 worker: MPD service: started
20240108 173452 worker: MPD port 6600: accepting connections
20240108 173452 worker: MPD ALSA Default: on
20240108 173452 worker: MPD ALSA Bluetooth: off
20240108 173452 worker: MPD HTTP Server: off
20240108 173452 worker: MPD crossfade: off
20240108 173452 worker: MPD ignore CUE: yes
20240108 173452 worker: MPD first boot: SDCARD scanned
20240108 173453 worker: MPD first boot: default playlist loaded
20240108 173453 worker: MPD CDSP volsync: off
20240108 173453 worker: MPD CDSP volrange: 60 dB
20240108 173453 worker: --
20240108 173453 worker: -- Music sources
20240108 173453 worker: --
20240108 173453 worker: USB auto-mount: devmon
20240108 173454 worker: USB drives: no drives found
20240108 173454 worker: NAS sources: no music sources defined
20240108 173454 worker: --
20240108 173454 worker: -- Feature availability
20240108 173454 worker: --
20240108 173454 worker: Input select: available, src MPD, out Pi HDMI 1
20240108 173454 worker: Bluetooth: available, ALSA mode Default
20240108 173454 worker: AirPlay: available
20240108 173454 worker: Spotify Connect: available
20240108 173454 worker: Squeezelite: available
20240108 173454 worker: RoonBridge: not installed
20240108 173454 worker: Multiroom: available
20240108 173454 worker: UPnP client: available
20240108 173454 worker: GPIO buttons: available
20240108 173454 worker: Stream recorder: n/a
20240108 173454 worker: HTTPS-Only mode: n/a
20240108 173454 worker: --
20240108 173454 worker: -- Volume levels
20240108 173454 worker: --
20240108 173454 worker: Volume knob: 0
20240108 173454 worker: Saved MPD volume: 0
20240108 173454 worker: Saved SRC volume: 0
20240108 173454 worker: Hdwr volume: 0%
20240108 173454 worker: --
20240108 173454 worker: -- Peripherals
20240108 173454 worker: --
20240108 173454 worker: Local display: off
20240108 173454 worker: On-screen kbd: off
20240108 173454 worker: Rotary encoder: off
20240108 173454 worker: USB volume knob: off
20240108 173454 worker: LCD updater: off
20240108 173454 worker: --
20240108 173454 worker: -- Miscellaneous
20240108 173454 worker: --
20240108 173454 worker: Auto-CoverView: off
20240108 173454 worker: CoverView timeout: Never
20240108 173454 worker: Auto-shuffle: off
20240108 173454 worker: Auto-play: off
20240108 173454 worker: Web SSH server: on
20240108 173454 worker: Maintenance task: 360 mins
20240108 173454 worker: Current view: reset to Playback
20240108 173454 worker: Session check: ok
20240108 173454 worker: --
20240108 173454 worker: -- Startup complete
20240108 173454 worker: --
20240108 173454 worker: Mount monitor: off
20240108 173454 worker: MPD monitor: off
20240108 173455 worker: Watchdog monitor: started
20240108 173455 worker: Responsiveness: Default
20240108 173455 worker: Ready
The log shows that Pi HDMI 1 device is the configured audio device.
When you open Audio Config is your SMSL DAC listed in the "Output device" dropdown?
Posts: 30
Threads: 4
Joined: Apr 2020
Reputation:
0
Posts: 14,017
Threads: 319
Joined: Mar 2018
Reputation:
571
(01-08-2024, 05:52 PM)PeterLustig33 Wrote: Such a quick response, I'm happy.
@ Nutuil :The alsamixer shows x- default / x0- HDMI / Headphones (screenshot). Does that mean default is my DAC?
@ Tom Curtis & TheOldPresbyope: Yes, currently the HDMI port is selected. But I only have HDMI and headphone jack to choose from.
This all looks to me like the device is not recognised as an audio device. Is that correct?
Try the command aplay -l
It lists all audio devices that Linux/ALSA have successfully recognized.
Posts: 6,217
Threads: 185
Joined: Apr 2018
Reputation:
250
01-08-2024, 06:37 PM
(This post was last modified: 01-08-2024, 06:40 PM by TheOldPresbyope.
Edit Reason: expanded explanation
)
(01-08-2024, 05:52 PM)PeterLustig33 Wrote: Such a quick response, I'm happy.
@ Nutuil :The alsamixer shows x- default / x0- HDMI / Headphones (screenshot). Does that mean default is my DAC?
@ Tom Curtis & TheOldPresbyope: Yes, currently the HDMI port is selected. But I only have HDMI and headphone jack to choose from.
This all looks to me like the device is not recognised as an audio device. Is that correct?
Sadly, I think you are correct.
Your DAC (even if identified as the serial converter) should show up in both places if Linux can figure out it's a USB audio device.
And no, the default isn't your DAC. If you select it, you'll probably find the default is the HDMI port. That's true in my case, even with my Khadas USB Tone1 board selected as the moOde output device.
Regards,
Kent
|