Re: Volume control on x60s

Marius Gedminas <[email protected]>
Newsgroups gmane.linux.hardware.thinkpad
Message-ID <20180209112635.tokqnlfjgrtrzeur@platonas>
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@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@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.

-- 
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
signature.asc (application/pgp-signature, 163 B)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlp9hWcACgkQkVdEXeem148giACeKt8MNOUKsQ5ty3yeMeCPcQrf
4MsAn09/ZNmF3MY0mlX4sVsvpjS3XxDa
=67/X
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.