![]() |
[PROBLEM] Setting volume at booting time MoOde 7.60 - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Setting volume at booting time MoOde 7.60 (/showthread.php?tid=4651) |
Setting volume at booting time MoOde 7.60 - Streamer - 01-11-2022 Hi all, I have a little trouble with the volume after rebooting MoOde 7.60. My settings look as follow: Hardware = RPI 2B HAT-DAC = Hifiberry Dac+ Alsa Options Max Volume = 100% MPD Volume Type = Hardware UpnP Client for MPD = ON UpnP Service type = OpenHome Control Point = BubbleUpnP on Android Smartphone My Problem is, the volume is always muted directly after rebooting the RPI. I have to scroll up the volume slider manually each time to hear the music after rebooting the RPI. Therefore, I installed the following service called "my-set-volume.service" to set the volume after rebooting, but it doesn't work. Code: [Unit] I also have checked, the service is correctly started at booting time. And if I manually start the service from the console with "systemctl start my-set-volume.service" later, it also works as expected. Has anyone an idea why it doesn't work? I guess, there is a hidden script which will mute or set the volume to 0 after my-set-volume.service is started. But I don't know which? Thank you! RE: Setting volume at booting time MoOde 7.60 - Streamer - 01-12-2022 Hmm, it seems to be I have to live with that issue:-( RE: Setting volume at booting time MoOde 7.60 - Tim Curtis - 01-12-2022 Reboot and then post the Moode startup log and I'll have a look. Code: moodeutl -l RE: Setting volume at booting time MoOde 7.60 - Streamer - 01-12-2022 (01-12-2022, 04:30 PM)Tim Curtis Wrote: Reboot and then post the Moode startup log and I'll have a look. Thank you for your reply, Tim. Here is moodeutl output. pi@moode:~ $ moodeutl -l 20220112 165945 worker: -- Start 20220112 165945 worker: Successfully daemonized 20220112 165946 worker: Integrity check (passed) 20220112 165947 worker: File check (OK) 20220112 165948 worker: Session vacuumed 20220112 165948 worker: Session loaded 20220112 165948 worker: Debug logging (OFF) 20220112 165948 worker: -- Audio debug 20220112 165948 worker: ALSA cards: (0 ![]() 20220112 165948 worker: MPD config: (0:hifiberry-dacplus | mixer ![]() 20220112 165948 worker: ALSA mixer actual (Digital) 20220112 165949 worker: ALSA Digital volume set to (0%) 20220112 165949 worker: -- System 20220112 165951 worker: Host (moode) 20220112 165951 worker: moOde (7.6.0 2021-11-20) 20220112 165951 worker: RaspiOS (10.6) 20220112 165951 worker: Kernel (5.4.77-v7+ #1371) 20220112 165951 worker: Platform (Pi-2B 1.1 1GB) 20220112 165951 worker: ARM arch (armv7l, 32-bit kernel) 20220112 165951 worker: MPD ver (0.23.4_p0x3) 20220112 165951 worker: CPU gov (ondemand) 20220112 165951 worker: USB boot not available 20220112 165952 worker: File system not expanded yet 20220112 165952 worker: HDMI port on 20220112 165952 worker: -- Network 20220112 165952 worker: IP address check timeout (90 secs) 20220112 165952 worker: eth0 adapter exists 20220112 165952 worker: eth0 IP address check (No) 20220112 165952 worker: IP addr (192.168.178.143) 20220112 165952 worker: Netmask (255.255.255.0) 20220112 165952 worker: Gateway (192.168.178.1) 20220112 165952 worker: Pri DNS (192.168.178.1) 20220112 165952 worker: Domain (fritz.box) 20220112 165952 worker: wlan0 adapter does not exist 20220112 165952 worker: -- Audio config 20220112 165953 worker: MPD conf updated 20220112 165953 worker: ALSA card number (0) 20220112 165953 worker: MPD audio output (None) 20220112 165954 worker: Audio formats (S16_LE, S24_LE, S32_LE) 20220112 165954 worker: ALSA mixer name (Digital) 20220112 165954 worker: MPD mixer type (hardware) 20220112 165954 worker: Hdwr volume controller exists 20220112 165954 worker: Max ALSA volume (100%) 20220112 165954 worker: ALSA output mode (Default: plughw) 20220112 165954 worker: ALSA loopback (Off) 20220112 165954 worker: Reset renderer active flags 20220112 165954 worker: CamillaDSP (off) 20220112 165954 worker: -- MPD startup 20220112 165954 worker: MPD started 20220112 165955 worker: MPD accepting connections 20220112 165955 worker: MPD output 1 ALSA Default (on) 20220112 165955 worker: MPD output 2 ALSA Bluetooth (off) 20220112 165955 worker: MPD output 3 HTTP Server (off) 20220112 165955 worker: MPD crossfade (off) 20220112 165955 worker: MPD ignore CUE files (yes) 20220112 165955 worker: -- Feature availability 20220112 165955 worker: Source select (available) 20220112 165955 worker: Source select (source: MPD) 20220112 165955 worker: Source select (output: hifiberry-dacplus) 20220112 165955 worker: Bluetooth (available) 20220112 165955 worker: Airplay renderer (available) 20220112 165955 worker: Spotify renderer (available) 20220112 165955 worker: Squeezelite (available) 20220112 165955 worker: RoonBridge renderer (not installed) 20220112 165955 worker: Multiroom sender (available) 20220112 165955 worker: Multiroom receiver (available) 20220112 165956 worker: UPnP renderer (available: started) 20220112 165956 worker: DLNA server (available) 20220112 165956 worker: UPnP browser (available) 20220112 165956 worker: GPIO button handler (available) 20220112 165956 worker: Stream recorder (n/a) 20220112 165956 worker: -- Music sources 20220112 165956 worker: USB sources (none attached) 20220112 165956 worker: NAS and UPnP sources (none configured) 20220112 165956 worker: -- Other 20220112 165956 worker: USB volume knob (Off) 20220112 165956 worker: USB auto-mounter (udisks-glue) 20220112 165956 worker: LED0 (On) 20220112 165956 worker: LED1 (On) 20220112 165956 worker: Saved MPD vol level (0) 20220112 165956 worker: Preamp volume level (0) 20220112 165956 worker: MPD volume level (0) restored 20220112 165956 worker: ALSA Digital volume (0%) 20220112 165956 worker: Auto-play (Off) 20220112 165956 worker: Maintenance interval (3 hours) 20220112 165956 worker: Screen saver activation (Never) 20220112 165956 worker: Session permissions (OK) 20220112 165956 worker: Watchdog started 20220112 165956 worker: Ready RE: Setting volume at booting time MoOde 7.60 - Tim Curtis - 01-12-2022 The log entries below indicate MPD volume is 0. Since you are using a UPnP control point to set volume it would suggest that the control point or some other component eternal to moOde software is resetting MPD volume to 0 after reboot. Code: 20220112 165956 worker: MPD volume level (0) restored RE: Setting volume at booting time MoOde 7.60 - Streamer - 01-13-2022 (01-12-2022, 11:19 PM)Tim Curtis Wrote: The log entries below indicate MPD volume is 0. Since you are using a UPnP control point to set volume it would suggest that the control point or some other component eternal to moOde software is resetting MPD volume to 0 after reboot. No control point is running. The sequence is 1. Power off RPI 2. Power off all control points 3. Power on RPI 4. ssh pi@RPi-IP 5. moodeutl -l I got same moodeutl output. RE: Setting volume at booting time MoOde 7.60 - Tim Curtis - 01-13-2022 I'm not able to repro. Only the UPnP renderer is On and MPD volume prior to power Off/On was restored and not zeroed out. Code: . RE: Setting volume at booting time MoOde 7.60 - Streamer - 01-13-2022 Very weird, I don't have other config except my HAT is hifiberry-dacplus and volume type is set to "hardware". Maybe I try MoOde 7.61 then. Thank you anyway! |