[ltp] Volume control on x60s

Marius Gedminas marius at gedmin.as
Fri Feb 9 12:26:35 CET 2018


On Thu, Feb 08, 2018 at 01:52:54PM +0100, Francesco Ariis wrote:
> Hello Thinkpad users,
>     I own an x60s and I spent this morning battling a sound problem.
> 
> Long story short: there are two grey buttons on my laptop and they
> control the volume (3 if we consider the mute button); I would like to
> control the volume via command line and not using those.

A long time ago I remember using aumix to control the volume from the
console.

> Now, I can *see* where the volume change happens, i.e.
> 
>     f at x60s:~$ amixer -c 29
>     Simple mixer control 'Console',0
>       Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>       Playback channels: Mono
>       Limits: Playback 0 - 14
>       Mono: Playback 6 [43%] [on]
>                         ^-- pressing the grey buttons will change
>                             this number
> 
> but when I try to set the relevant parameter it fails:
> 
>     f at x60s:~$ amixer -c 29 set Console 100%
>     amixer: Invalid command!

I think it wants you to use 'set Console,0 100%', judging from the
examples in the amixer manual page.

> I am a bit at loss now, so here is the question: is there a way to
> control the internal mixer via command line?

Marius Gedminas
-- 
Power corrupts, but we need electricity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/attachments/20180209/98fc5cea/attachment.sig>


More information about the Linux-Thinkpad mailing list