Moode Forum

Full Version: Hardware volume control on Topping D10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(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 )
Fixed for upcoming 6.4.1 :-)
(12-12-2019, 01:58 AM)Tim Curtis Wrote: [ -> ]Fixed for upcoming 6.4.1 :-)

Brilliant.      Thanks, small donation made   Wink
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 )
What Git commits?
I have made changes according to those two commits:

https://github.com/moode-player/moode/co...59f0c47d84
https://github.com/moode-player/moode/co...405dd88745

--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.
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!
Pages: 1 2