Posts: 13,453
Threads: 305
Joined: Mar 2018
Reputation:
545
@ DRONE7,
Mixer name = "Master" is correct for the Piano 2.1. and IIRC it should support Hardware volume.
Try looking at alsamixer (or amixer) to see what is recognized by Linux/ALSA.
Posts: 369
Threads: 9
Joined: Apr 2018
Reputation:
10
(03-14-2022, 03:45 PM)jonners Wrote: (03-14-2022, 02:39 PM)TheOldPresbyope Wrote: Has anyone else noticed how often reports of difficulty connecting to a NAS turn out to be for systems using a WiFi router's file-sharing capability as the NAS. This has been true for a long time with respect to Fritz!Box routers and now we see the GL-MT300N-V2 as well. As my grandmother used to say, "there's many a slip 'twixt the cup and the lip."
@jonners
To rule out any dns vs mdns silliness, what happens when you try manually entering host/share either as GL-MT300N-V2.local/sda1 or as <router IP address>/sda1?
Were the router on my network, for example, the latter would be 10.0.0.1/sda1
I looked at https://docs.gl-inet.com/en/3/tutorials/file_sharing/ and didn't see anything out of the ordinary. The router seems to be based on OpenWRT which is a venerable piece of kit. The documentation is heavily skewed toward MS-Windows users, though, which can be annoying.
Regards,
Kent
Thanks for the help Kent, but no luck with either of those entries. For the time being I'm reverting to 7.6.1, which mounts my NAS disc with the SCAN showing the path as GL-MT300N-V2/sda1
Posts: 1,538
Threads: 106
Joined: Mar 2018
Reputation:
73
03-14-2022, 10:47 PM
(This post was last modified: 03-14-2022, 10:49 PM by DRONE7.)
(03-14-2022, 10:01 PM)Tim Curtis Wrote: @DRONE7,
Mixer name = "Master" is correct for the Piano 2.1. and IIRC it should support Hardware volume.
Try looking at alsamixer (or amixer) to see what is recognized by Linux/ALSA.
Yes, correct, alsamixer reports it as Master and it can be adjusted. MoOde reports it as Master but MoOde volume control does not adjust it in Hardware setting.
However the O/P's mixer is listed as HDMI for the Piano which is wrong and I can't repro.
----------
bob
Posts: 45
Threads: 9
Joined: Sep 2020
Reputation:
0
03-14-2022, 11:08 PM
(This post was last modified: 03-14-2022, 11:08 PM by carmol.)
(03-14-2022, 09:38 PM)philrandal Wrote: Try adding
sec=ntlm, vers=1.0
to the mount parameters.
Phil
ntlm is not even recognized anymore
I used vers=1.0, that worked in moode 7.0
but in moode 8 dont work.
(03-14-2022, 09:59 PM)TheOldPresbyope Wrote: @carmol
A log message like
Code: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
is informational and not a statment of error.
From the IP address it appears you are using a file-sharing function on your router as your NAS. What is the router? How have you made sure the share name is "CD"? How have you inferred that "ntlm" is in play and the protocol level version is "1.0"?
As Phil has said, you can force these parameters in the Advanced flags settings in the Music Source screen but they have to be correct for the source.
ETA - and as Tim has said, the SCAN function does a good job of figuring out the protocol level version in play.
Regards,
Kent
router is Zyxel 8825
share name is correct,
the same configuration worked flawlessy in moode 7;
no luck with the scan function.
It seems that ntlm is not supported anymore
Posts: 247
Threads: 15
Joined: Apr 2018
Reputation:
10
My workaround would be to use a Raspberry Pi running OpenMediaVault instead of the router as your NAS. Really easy to set up.
Cheers,
Phil
Posts: 1,870
Threads: 43
Joined: Mar 2020
Reputation:
85
(03-14-2022, 06:10 PM)Mr.R0b0t Wrote: ok there is a problem. with camilladsp turned on
when the song ends it's a new song with no sound
or the music plays for 3 seconds and then silence
I'm running CamillaDSP without issues on 8.0.
When the sound stops, does the UI still show that the track is playing? Are there changes of bit depth/sample rate between songs when it stops? If you post one of your config files here I'll gladly try it on my system to see if there is an issue with the config itself.
----------------
Robert
Posts: 369
Threads: 9
Joined: Apr 2018
Reputation:
10
(03-15-2022, 07:59 AM)philrandal Wrote: My workaround would be to use a Raspberry Pi running OpenMediaVault instead of the router as your NAS. Really easy to set up.
Cheers,
Phil
Would that entail running a separate RPi with a screen?
Posts: 71
Threads: 10
Joined: Nov 2019
Reputation:
2
03-15-2022, 09:25 AM
(This post was last modified: 03-15-2022, 09:26 AM by Mr.R0b0t.)
(03-15-2022, 08:19 AM)the_bertrum Wrote: (03-14-2022, 06:10 PM)Mr.R0b0t Wrote: ok there is a problem. with camilladsp turned on
when the song ends it's a new song with no sound
or the music plays for 3 seconds and then silence
I'm running CamillaDSP without issues on 8.0.
When the sound stops, does the UI still show that the track is playing? Are there changes of bit depth/sample rate between songs when it stops? If you post one of your config files here I'll gladly try it on my system to see if there is an issue with the config itself.
Yes .UI still show that the track is playing
no changes of bit depth/sample rate between songs
Posts: 247
Threads: 15
Joined: Apr 2018
Reputation:
10
(03-15-2022, 09:09 AM)jonners Wrote: (03-15-2022, 07:59 AM)philrandal Wrote: My workaround would be to use a Raspberry Pi running OpenMediaVault instead of the router as your NAS. Really easy to set up.
Cheers,
Phil
Would that entail running a separate RPi with a screen? Mine is a repurposed headless rpi 3.
Posts: 46
Threads: 9
Joined: Mar 2022
Reputation:
0
(03-14-2022, 08:21 PM)DRONE7 Wrote: (03-14-2022, 02:51 PM)Tim Curtis Wrote: (03-14-2022, 01:50 PM)Sunfish Wrote: Today I tried to upgrade from moOde 7.6.1 to 8.0.0.
Burned an image with Etcher. And selected the Allo Piano 2.1 dac. Tested for sound and it worked. Because I have an Allo Kali Reclocker I selected under driver options --> glb-mclk Enabled. After reboot no more sound. Reverting to Disabled did not solve the problem. Several restarts of my Raspberry Pi 3B+ still no sound to be heard.
Apparently it should work as the timer on the mainscreen progresses. I've tried all kind of settings, including volume settings (software, hardware etc), but no sound to be heared. Also reburning the image on the same SD did not work. Using a new SD did resolve the problem shortly, but altering the setting under driver options seems to destroy something.
below a moodeutl -l log just after changing the setting from Disabled to enabled.
Code: Last login: Mon Mar 14 08:11:16 2022 from 192.168.1.100
pi@moode:~ $ moodeutl -l
20220314 081317 worker: --
20220314 081317 worker: -- Start moOde 8 series
20220314 081317 worker: --
20220314 081317 worker: Successfully daemonized
20220314 081317 worker: File check (OK)
20220314 081318 worker: Session vacuumed
20220314 081318 worker: Session loaded
20220314 081318 worker: Debug logging (OFF)
20220314 081318 worker: --
20220314 081318 worker: -- Audio debug
20220314 081318 worker: --
20220314 081318 worker: ALSA cards: (0:PianoDACPlus | 1:empty | 2:empty | 3:empty
20220314 081318 worker: MPD config: (0:Allo Piano 2.1 Hi-Fi DAC | mixer:(HDMI) | card:0)
20220314 081318 worker: ALSA mixer actual (Digital)
20220314 081318 worker: ALSA Digital volume set to (amixer: Unable to find simple control 'Digital',0)
20220314 081318 worker: --
20220314 081318 worker: -- System
20220314 081318 worker: --
20220314 081319 moode.php: MPD connect failed: cmd=(loadlib)
20220314 081319 moode.php: MPD connect failed: cmd=(lsinfo)
20220314 081320 worker: Host (moode)
20220314 081320 worker: moOde (8.0.0 2022-03-12)
20220314 081320 worker: RaspiOS (11.2)
20220314 081320 worker: Kernel (5.15.23-v7+ #1525)
20220314 081320 worker: Platform (Pi-3B+ 1.3 1GB)
20220314 081320 worker: ARM arch (armv7l, 32-bit)
20220314 081320 worker: MPD ver (0.23.5)
20220314 081320 worker: CPU gov (ondemand)
20220314 081320 worker: USB boot (enabled)
20220314 081320 worker: File sys (expanded)
20220314 081320 worker: HDMI port (On)
20220314 081320 worker: Sys LED0 (On)
20220314 081320 worker: Sys LED1 (On)
20220314 081320 worker: --
20220314 081320 worker: -- Network
20220314 081320 worker: --
20220314 081320 worker: eth0 adapter exists
20220314 081320 worker: eth0 wait for address (No)
20220314 081320 worker: IP addr (192.168.1.185)
20220314 081320 worker: Netmask (255.255.255.0)
20220314 081321 worker: Gateway (192.168.1.1)
20220314 081321 worker: Pri DNS (192.168.1.177)
20220314 081321 worker: Domain ()
20220314 081321 worker: wlan0 adapter exists
20220314 081321 worker: wlan0 country (US)
20220314 081321 worker: wlan0 SSID is blank
20220314 081321 worker: wlan0 AP mode not started (eth0 active)
20220314 081321 worker: wlan0 address not assigned
20220314 081321 worker: wlan0 power save disabled
20220314 081321 worker: --
20220314 081321 worker: -- Audio config
20220314 081321 worker: --
20220314 081321 worker: MPD conf updated
20220314 081321 worker: ALSA card number (0)
20220314 081321 worker: MPD audio output (Allo Piano 2.1 Hi-Fi DAC)
20220314 081321 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20220314 081321 worker: ALSA mixer name (Digital)
20220314 081321 worker: MPD mixer type (software)
20220314 081321 worker: Hdwr volume controller not detected
20220314 081321 worker: ALSA output mode (Default: plughw)
20220314 081321 worker: ALSA loopback (Off)
20220314 081322 worker: Piano 2.1 output mode (2.0)
20220314 081326 worker: Piano 2.1 initialized
20220314 081326 worker: Reset renderer active flags
20220314 081327 worker: CamillaDSP (off)
20220314 081327 worker: --
20220314 081327 worker: -- MPD startup
20220314 081327 worker: --
20220314 081327 worker: MPD started
20220314 081327 worker: MPD accepting connections
20220314 081327 worker: MPD output 1 ALSA Default (on)
20220314 081327 worker: MPD output 2 ALSA Bluetooth (off)
20220314 081327 worker: MPD output 3 HTTP Server (off)
20220314 081327 worker: MPD crossfade (off)
20220314 081327 worker: MPD ignore CUE files (yes)
20220314 081327 worker: --
20220314 081327 worker: -- Feature availability
20220314 081327 worker: --
20220314 081327 worker: Source select (available)
20220314 081327 worker: Source select (source: MPD)
20220314 081327 worker: Source select (output: Allo Piano 2.1 Hi-Fi DAC)
20220314 081327 worker: Bluetooth (available)
20220314 081327 worker: Airplay renderer (available)
20220314 081327 worker: Spotify renderer (available)
20220314 081327 worker: Squeezelite (available)
20220314 081327 worker: RoonBridge renderer (not installed)
20220314 081327 worker: Multiroom sender (available)
20220314 081327 worker: Multiroom receiver (available)
20220314 081327 worker: UPnP renderer (available)
20220314 081327 worker: DLNA server (available)
20220314 081327 worker: UPnP browser (available)
20220314 081327 worker: GPIO button handler (available)
20220314 081327 worker: Stream recorder (n/a)
20220314 081327 worker: --
20220314 081327 worker: -- Music sources
20220314 081327 worker: --
20220314 081327 worker: USB sources (none attached)
20220314 081327 worker: NAS and UPnP sources (none configured)
20220314 081327 worker: --
20220314 081327 worker: -- Other
20220314 081327 worker: --
20220314 081327 worker: USB volume knob (Off)
20220314 081327 worker: USB auto-mounter (udisks-glue)
20220314 081327 worker: Saved MPD vol level (0)
20220314 081327 worker: Preamp volume level (0)
20220314 081327 worker: MPD volume level (0) restored
20220314 081327 worker: ALSA volume level (None)
20220314 081327 worker: Auto-play (Off)
20220314 081327 worker: Maintenance interval (120 minutes)
20220314 081327 worker: Screen saver activation (Never)
20220314 081327 worker: Session permissions (OK)
20220314 081327 worker: Watchdog started
20220314 081327 worker: Ready
20220314 081410 worker: Job mpdcfg
20220314 081411 watchdog: Error: MPD restarted (check syslog for errors)
20220314 081411 worker: Job mpdcfg: devchg|mixchg (0|0), alsavol (none), playstate (playing)
I don't have a Piano or Kali anymore and so will not be able to try and debug but in the log the record below is suspicious since IIRC the Piano 2.1 does support hardware volume.
Code: 20220314 081321 worker: Hdwr volume controller not detected
To troubleshoot try the following:
1. Fresh image
2. No Kali, just the Piano
3. Verify that moOde log shows "Hardware volume controller detected"
4. Repeat 2 and 3 but with the Kali
5. In Audio Config set "glb-mclk Enabled"
6. Verify /boot/config.txt has the line below
Code: dtoverlay=allo-piano-dac-plus-pcm512x-audio,glb_mclk
7. Reboot
8. Examine moOde log for "Hardware volume controller not detected" and if present then it would suggest some sort of issue with the Piano plus driver in kernel 5.15.y.
9. To revert set Named I2S device to "None" in Audio Config.
I can confirm some oddity with setting the volume control preference. I can set Fixed/Hardware/Software.
Fixed and Software behave as expected but Hardware has no control and outputs as Fixed (0dB output)
Is the Piano Hardware controller exposed when used with Kali ??
Other settings to note... the Kali 24 bit bug remains so O/P has to set Sox resampling to 32 bit.
I changed the output mode from plug:hw to Direct (hw)
Code: pi@moode:~ $ moodeutl -l
20220315 084843 worker: --
20220315 084843 worker: -- Start moOde 8 series
20220315 084843 worker: --
20220315 084843 worker: Successfully daemonized
20220315 084844 worker: File check (OK)
20220315 084845 worker: Session vacuumed
20220315 084845 worker: Session loaded
20220315 084845 worker: Debug logging (OFF)
20220315 084845 worker: --
20220315 084845 worker: -- Audio debug
20220315 084845 worker: --
20220315 084845 worker: ALSA cards: (0:PianoDACPlus | 1:empty | 2:empty | 3:empty
20220315 084845 worker: MPD config: (0:Allo Piano 2.1 Hi-Fi DAC | mixer:(Master) | card:0)
20220315 084845 worker: ALSA mixer actual (Master)
20220315 084845 worker: ALSA Master volume set to (0%)
20220315 084845 worker: --
20220315 084845 worker: -- System
20220315 084845 worker: --
20220315 084848 worker: Host (moode)
20220315 084848 worker: moOde (8.0.0 2022-03-12)
20220315 084848 worker: RaspiOS (11.2)
20220315 084848 worker: Kernel (5.15.23-v7+ #1525)
20220315 084848 worker: Platform (Pi-2B 1.1 1GB)
20220315 084848 worker: ARM arch (armv7l, 32-bit)
20220315 084848 worker: MPD ver (0.23.5)
20220315 084848 worker: CPU gov (ondemand)
20220315 084848 worker: USB boot (not available)
20220315 084848 worker: File sys (expanded)
20220315 084848 worker: HDMI port (Off)
20220315 084849 worker: Sys LED0 (On)
20220315 084849 worker: Sys LED1 (On)
20220315 084849 worker: --
20220315 084849 worker: -- Network
20220315 084849 worker: --
20220315 084849 worker: eth0 adapter exists
20220315 084849 worker: eth0 wait for address (No)
20220315 084849 worker: IP addr (192.168.xxx.xx)
20220315 084849 worker: Netmask (255.255.255.0)
20220315 084849 worker: Gateway (192.168.xxx.xx)
20220315 084849 worker: Pri DNS (192.168.xxx.xx)
20220315 084849 worker: Domain (xxxx.box)
20220315 084849 worker: wlan0 adapter does not exist
20220315 084849 worker: --
20220315 084849 worker: -- Audio config
20220315 084849 worker: --
20220315 084850 worker: MPD conf updated
20220315 084850 worker: ALSA card number (0)
20220315 084850 worker: MPD audio output (Allo Piano 2.1 Hi-Fi DAC)
20220315 084850 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20220315 084850 worker: ALSA mixer name (Master)
20220315 084850 worker: MPD mixer type (fixed 0dB)
20220315 084850 worker: Hdwr volume controller exists
20220315 084850 worker: Max ALSA volume (100%)
20220315 084850 worker: ALSA output mode (Direct: hw)
20220315 084851 worker: ALSA loopback (Off)
20220315 084851 worker: Piano 2.1 output mode (Dual-Stereo)
20220315 084856 worker: Piano 2.1 initialized
20220315 084856 worker: Reset renderer active flags
20220315 084856 worker: CamillaDSP (off)
20220315 084856 worker: --
20220315 084856 worker: -- MPD startup
20220315 084856 worker: --
20220315 084858 worker: MPD started
20220315 084858 worker: MPD accepting connections
20220315 084858 worker: MPD output 1 ALSA Default (on)
20220315 084858 worker: MPD output 2 ALSA Bluetooth (off)
20220315 084858 worker: MPD output 3 HTTP Server (off)
20220315 084858 worker: MPD crossfade (off)
20220315 084858 worker: MPD ignore CUE files (yes)
20220315 084858 worker: --
20220315 084858 worker: -- Feature availability
20220315 084858 worker: --
20220315 084858 worker: Source select (available)
20220315 084858 worker: Source select (source: MPD)
20220315 084858 worker: Source select (output: Allo Piano 2.1 Hi-Fi DAC)
20220315 084858 worker: Bluetooth (available)
20220315 084858 worker: Airplay renderer (available)
20220315 084858 worker: Spotify renderer (available)
20220315 084858 worker: Squeezelite (available)
20220315 084858 worker: RoonBridge renderer (not installed)
20220315 084858 worker: Multiroom sender (available)
20220315 084858 worker: Multiroom receiver (available)
20220315 084858 worker: UPnP renderer (available)
20220315 084858 worker: DLNA server (available)
20220315 084858 worker: UPnP browser (available)
20220315 084858 worker: GPIO button handler (available)
20220315 084858 worker: Stream recorder (n/a)
20220315 084858 worker: --
20220315 084858 worker: -- Music sources
20220315 084858 worker: --
20220315 084858 worker: USB sources (none attached)
20220315 084858 worker: NAS and UPnP sources (none configured)
20220315 084858 worker: --
20220315 084858 worker: -- Other
20220315 084858 worker: --
20220315 084858 worker: USB volume knob (Off)
20220315 084858 worker: USB auto-mounter (udisks-glue)
20220315 084858 worker: Saved MPD vol level (0)
20220315 084858 worker: Preamp volume level (0)
20220315 084859 worker: MPD volume level (0) restored
20220315 084859 worker: ALSA Master volume (100%)
20220315 084859 worker: Auto-play (Off)
20220315 084859 worker: Maintenance interval (120 minutes)
20220315 084859 worker: Screen saver activation (Never)
20220315 084859 worker: Session permissions (OK)
20220315 084859 worker: Watchdog started
20220315 084859 worker: Ready
20220315 084932 worker: Job mpdcfg
20220315 084935 worker: Job mpdcfg: devchg|mixchg (0|hardware), alsavol (0%), playstate (playing)
20220315 085029 worker: Job mpdcfg
20220315 085032 worker: Job mpdcfg: devchg|mixchg (0|0), alsavol (100%), playstate (playing)
20220315 085111 worker: Job mpdcfg
20220315 085114 worker: Job mpdcfg: devchg|mixchg (0|0), alsavol (100%), playstate (playing)
20220315 085144 worker: Job mpdcfg
20220315 085147 worker: Job mpdcfg: devchg|mixchg (0|fixed), alsavol (100%), playstate (paused)
20220315 085417 worker: Job mpdcfg
20220315 085420 worker: Job mpdcfg: devchg|mixchg (0|hardware), alsavol (0%), playstate (playing)
20220315 085703 worker: Job mpdcfg
20220315 085705 worker: Job mpdcfg: devchg|mixchg (0|0), alsavol (100%), playstate (playing)
All 3 volume controls give output.
From the O/P logs
Code: 20220314 081318 worker: MPD config: (0:Allo Piano 2.1 Hi-Fi DAC | mixer:(HDMI) | card:0)
mixer is HDMI...odd if the Pi restarted after the Piano was selected in hardware.
Just checked the dip-switches on the piano 2.1 and I have both set to OFF. @ Tim Curtis
Thanks for the suggestions. Without Kali there is an hardware volume control, but as soon as Kali is introduced and the proper drivers selected sound disappears.
Re-checked all settings as per @ DRONE7 and changed plug:hw to Direct (hw) which resulted in sound only on the right channel.
For now I will stick to version 7.6.1. Which also gives no hardware volume control, but is working flawless.
|