1

Controlling Volume via Rotary Encoder

I'm trying to set up volume control on my amp 4 via a rotary encoder following this guide:

https://gist.github.com/savetheclocktower/9b5f67c20f6c04e65ed88f2e594d43c1

I have the encoder itself talking to the P when I set it to control "Master" (as shown in the "amixer scontrols" results here):

Simple mixer control 'Master',0
Simple mixer control 'Capture',0

However, this does not actually change the volume for the Amp4.

when I run alsamixer, I can see the amp 4 and can control the volume by sliding the 'digital' slider on the far right, but can't figure out how to link the encoder to 'Digital' as that doesn't appear as a valid 'simple control'.

If I set the encoder to control 'Master" and choose that in alsamixer, I can see it moving the slider.

Any ideas on what I need to do to make this work?

 

Update: one thing I just noticed, my soundcared is lisgted as a dacplus but it's an Amp 4 (not Pro).  Is this the issue? if so how do i fix it?  I set the dtoverlay to amp4pro (as there's no overlay listed in the instructions for the non pro).

 

 

 

 

12 comments

Please sign in to leave a comment.