PINE64
Cannot control volume with amixer command - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Cannot control volume with amixer command (/showthread.php?tid=5698)



Cannot control volume with amixer command - user_rock - 02-12-2018

Hi everyone,

I am using Rock64 and trying to play mp3 files on headphone jack. The playback part is working fine. I having trouble with controlling the volume with amixer command. When I try amixer sset Master 100 it shows me error "Cannot find simple control 'Master',0"

The reason behind the use of amixer is I have ported this application from raspberry pi and I need to keep it consistent on either device. I am using Debian stretch minimal image.
Exact version:
Code:
Linux rock64 4.4.77-rockchip-ayufan-136 #1 SMP Thu Oct 12 09:14:48 UTC 2017 aarch64 GNU/Linux


Also, amixer scontrols command does not return anything.

Kindly help.

Thanks!


RE: Cannot control volume with amixer command - evilbunny - 02-13-2018

(02-12-2018, 12:22 PM)user_rock Wrote: Also, amixer scontrols command does not return anything.

Mth kindly gave me amixer settings to control the master volume.


RE: Cannot control volume with amixer command - user_rock - 02-19-2018

(02-13-2018, 04:06 PM)evilbunny Wrote:
(02-12-2018, 12:22 PM)user_rock Wrote: Also, amixer scontrols command does not return anything.

Mth kindly gave me amixer settings to control the master volume.

Thanks a lot! Please mention the actual linux file name to copy these settings into..


RE: Cannot control volume with amixer command - evilbunny - 02-19-2018

(02-19-2018, 04:08 PM)user_rock Wrote: Thanks a lot! Please mention the actual linux file name to copy these settings into..

try putting it in /etc/asound.conf