Moode Forum
[SOLVED] Hardware volume control on Topping D10 - 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: [SOLVED] Hardware volume control on Topping D10 (/showthread.php?tid=1970)

Pages: 1 2


RE: Hardware volume control on Topping D10 - inthemoode - 12-11-2019

(12-11-2019, 01:48 PM)Tim Curtis Wrote: @TheOldPresbyope
On your Khadas rig whats the output from cmd below? I think for last release I'd like to slip in an improved routine for parsing out the mixer name :-)

Code:
awk -F"'" '/Simple mixer control/{print "(" $2 ")" ;}' <(amixer -c 0)

Mine returns

(D10 )


RE: Hardware volume control on Topping D10 - Tim Curtis - 12-12-2019

Fixed for upcoming 6.4.1 :-)


RE: Hardware volume control on Topping D10 - inthemoode - 12-12-2019

(12-12-2019, 01:58 AM)Tim Curtis Wrote: Fixed for upcoming 6.4.1 :-)

Brilliant.      Thanks, small donation made   Wink


RE: Hardware volume control on Topping D10 - sszpila - 01-09-2020

Hi.
I've made test changes to my moode installation followed by git commits to enable hardware mixer on my Topping D10. Still no luck, no hardware mixer, only playback at 100% volume. After restart mpd,  log says this:



Code:
Jan 09 17:31 : exception: Failed to read mixer for 'ALSA default': no such mixer control: (D10 )
Jan 09 17:33 : exception: Failed to read mixer for 'ALSA default': no such mixer control: (D10 )
Jan 09 17:36 : exception: Failed to read mixer for 'ALSA default': no such mixer control: (D10 )
Jan 09 17:37 : exception: Failed to read mixer for 'ALSA default': no such mixer control: (D10 )
Jan 09 17:38 : exception: Failed to read mixer for 'ALSA default': no such mixer control: (D10)
Jan 09 17:40 : exception: Failed to read mixer for 'ALSA default': no such mixer control: D10
Jan 09 17:40 : exception: Failed to read mixer for 'ALSA default': no such mixer control: (D10 )



RE: Hardware volume control on Topping D10 - Tim Curtis - 01-09-2020

What Git commits?


RE: Hardware volume control on Topping D10 - sszpila - 01-10-2020

I have made changes according to those two commits:

https://github.com/moode-player/moode/commit/3a701e52ebc139f1776ab54f80257559f0c47d84
https://github.com/moode-player/moode/commit/e1c11220b086b088420d47a112a2f6405dd88745

--edit

It's working Smile
I have changed mixer name in /etc/mpd.conf in "ALSA default":

from mixer_control "(D10 )"  to  mixer_control "D10 ".

And changing volume level in moode also change volume level in alsamixer.

--edit2
I have set "i2s device" to "none" (was "none", but set again for sure), restarted moode and everything work as expected when switching from software to hardware mixer.


RE: Hardware volume control on Topping D10 - inthemoode - 01-31-2020

Just a final message to thank you guys and mark the thread as solved.  My Topping D10 is working with hardware volume control now after the 6.4.1 update.

Great work!