Thank you for your donation!


Hardware volume control on Topping D10
#11
(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 )
Reply
#12
Fixed for upcoming 6.4.1 :-)
Reply
#13
Thumbs Up 
(12-12-2019, 01:58 AM)Tim Curtis Wrote: Fixed for upcoming 6.4.1 :-)

Brilliant.      Thanks, small donation made   Wink
Reply
#14
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 )
Reply
#15
What Git commits?
Reply
#16
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.
Reply


Forum Jump: