Michael Sullivan schreef:
> On Sat, 2005-10-22 at 00:46 +0200, Holly Bostick wrote:
> 
>> Michael Sullivan schreef:
>> 
>>> On Fri, 2005-10-21 at 14:59 -0700, Mark Knecht wrote:
>>> 
>>> 
>>> 
>>>> If alsamixer doesn't work then you may need to run amixer at 
>>>> the command line to unmute your card. I'll let you slog through
>>>>  the man page on that one. amixer commands can be placed in 
>>>> /etc/conf.d/local.start if needed. For instance, possibly
>>>> 
>>>> amixer -c 0 unmute
>>> 
>>> 
>>> camille ~ # amixer -c 0 unmute amixer: Unknown command 
>>> 'unmute'...
>> 
>> Now, really, Michael, this is a bit silly; the program obviously 
>> works, and doesn't even fall over your card, so the card is 
>> apparently working, but you're stumped by the lack of the 'unmute' 
>> command (which is the very least of all the problems you could 
>> encounter at this stage)?
>> 

> According to "man amixer":
> 
> INVOKING amixer with no arguments will display the current mixer 
> settings for  the default soundcard and device. This is a good way to
>  see a list of the sim- ple mixer controls you can use.
> 
> Yet, when I issue:
> 
> camille ~ # amixer amixer: Mixer default load error: Invalid argument
> 
> 
> 
> What argument(s) does it want?  The man page doesn't even list an 
> example of the syntax.
> 

amixer amixer? That actually *isn't* a valid command, the command meant
is simply

amixer

And yes, the man page does tell you the syntax:

NAME
       amixer - command-line mixer for ALSA soundcard driver

SYNOPSIS
       amixer [-c card] [cmd]

That, there, under "SYNOPSIS" is the syntax

--help also lists the syntax:

amixer --help
Usage: amixer <options> command

That would be the syntax, there under 'Usage'.

Now if I just run 'amixer' with nothing after it, I get a whole lot of
info (partial):

 amixer
Simple mixer control 'Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 25 [81%]
  Front Right: Playback 25 [81%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 16 [52%] [on] Capture [off]
  Front Right: Playback 16 [52%] [on] Capture [off]
Simple mixer control 'Synth',0
  Capabilities: pvolume pswitch pswitch-joined cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 26 [84%] [on] Capture [on]
  Front Right: Playback 26 [84%] [on] Capture [on]

Try just 'amixer' or maybe 'amixer -c 0' and see if it tells you anything.

Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to