![]() |
[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
|
Hardware volume control on Topping D10 - inthemoode - 12-10-2019 I am not getting any result when setting the volume control to hardware, using a Topping D10. It just plays at full 0db volume, same as turning volume control off. The volume control changes values, but has no effect. Software volume works. Running Moode 6.4.0 2019-11-24 RE: Hardware volume control on Topping D10 - Tim Curtis - 12-10-2019 It may have a unique mixer name. Post the output from the command below and I'll have a look. Code: amixer -c1 scontrols RE: Hardware volume control on Topping D10 - inthemoode - 12-11-2019 (12-10-2019, 12:54 PM)Tim Curtis Wrote: It may have a unique mixer name. Post the output from the command below and I'll have a look.pi@moode:~ $ amixer -c1 scontrols Simple mixer control 'D10 ',0 RE: Hardware volume control on Topping D10 - Tim Curtis - 12-11-2019 Looks like the mixer name has a trailing space. I'll need to see what moOde is using as the mixer name and whether the trailing space is being carried forward. Post output from cmd below. Code: moodeutl -l | grep 'Device cfg' RE: Hardware volume control on Topping D10 - TheOldPresbyope - 12-11-2019 @Tim Curtis Ah, yes, the trailing space! I don't know the details of the Topping D10, but as described on the Topping website, there's more than a passing similarity in system design to that of the Khadas Tone Board I have. In particular, they both use the XMOS XU208 to implement the USB-to-I2S interface. I wouldn't be surprised if their XMOS firmware was based on the same understanding of some XMOS "reference" code or even if the writer of the first (likely Topping) implementation was then hired to write the second. Just a random musing over first cup of coffee for the day. Regards, Kent RE: Hardware volume control on Topping D10 - Tim Curtis - 12-11-2019 @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) RE: Hardware volume control on Topping D10 - TheOldPresbyope - 12-11-2019 (12-11-2019, 01:48 PM)Tim Curtis Wrote: @TheOldPresbyope Here's that along with full amixer outputs for cards 0 and 1: Code: pi@moodeLR:~ $ awk -F"'" '/Simple mixer control/{print "(" $2 ")" ;}' <(amixer -c 0) RE: Hardware volume control on Topping D10 - Tim Curtis - 12-11-2019 My bad. Should have been amixer -c 1 in the awk command. Can you rerun? Thx. RE: Hardware volume control on Topping D10 - TheOldPresbyope - 12-11-2019 @Tim Curtis Oh, duh. Like Winnie the Pooh I'm a bear of very little brain. You probably meant card 1 to begin with. As you can infer from my last response, here's what you get Code: pi@moodeLR:~ $ awk -F"'" '/Simple mixer control/{print "(" $2 ")" ;}' <(amixer -c 1) RE: Hardware volume control on Topping D10 - inthemoode - 12-11-2019 (12-11-2019, 12:38 PM)Tim Curtis Wrote: Looks like the mixer name has a trailing space. I'll need to see what moOde is using as the mixer name and whether the trailing space is being carried forward. Yep... 20191205 150347 worker: Device cfg: Name (USB audio device) | Card (1) | MPDdev (1) | Mixer (PCM) | Alsavol: (0) |