All of lore.kernel.org
 help / color / mirror / Atom feed
* newbie problem with control settings
@ 2005-03-23  7:04 D. Hugh Redelmeier
  2005-03-23 18:07 ` Takashi Iwai
  2005-03-24 10:06 ` Clemens Ladisch
  0 siblings, 2 replies; 7+ messages in thread
From: D. Hugh Redelmeier @ 2005-03-23  7:04 UTC (permalink / raw)
  To: alsa-devel

[I realize that with a bit of knowledge, I wouldn't have had this
problem.  But I think that my experience suggests how to improve
things for other newbies.  By the time I am no longer a newbie, I
will no longer see the things that confuse newbies.]

I updated my system from Fedora Core 1 to Fedora Core 3.  So I
switched from OSS to Alsa.

I had great difficulty getting the sound system to pass line-in
through.  I was trying to use gnome-volume-control to set things up.
Once I understood what was going on, it was easy.

What confused me?  It turns out that my system's sound chip (C-Media
Electronics Inc CM8738 built into my Asus A7V333 motherboard) has a
couple of switches to change the line-in jack into an output.  They are
called "Line-In As Rear" and "Line-In As Bass".  The way to control
them in gnome-volume-control is to select or deselect "mute" for each
of these controls.  I find this not at all obvious.

	Line-In As Bass
	[ ] Mute

	Line-In As Rear
	[ ] Mute

How would I improve it?  I would make the values of these switches be
an enumerated type.  In UI terms: a set of radio buttons.

    Line-in jack is:

    [*] Line-in
    [ ] bass output
    [ ] rear Left and Right output

(Notice that I've replaced two switches with an enumerated type that
has three values.  What happened to the fourth state?  I have no idea
what it would mean, so I didn't provide a choice for it.)

Although I am complaining about gnome-volume-control (not a part of
Alsa), I am guessing that gnome-volume-control is just displaying
names and choices that it is presented by Alsa.

I must say that some of the controls have odd names.  One that really
surprised me was "IEC958 Copyright" with a choice of mute or not.  (I
do now have an idea what this is about.)

Recommendation: I think that there should be support for controls with
enumerated type values.  Perhaps also boolean controls that could have
a name other than "mute".

PS: here are the control names that I extracted from the driver
source.  gnome-volume-control massaged them somewhat.  Some names are
quite obscure.
    Master Playback Volume
    3D Control - Switch
    PCM Playback Volume
    PCM Playback Switch
    PCM Capture Switch
    Synth Playback Volume
    Synth Playback Switch
    Synth Capture Route
    CD Playback Volume
    CD Playback Switch
    CD Capture Route
    Line Playback Volume
    Line Playback Switch
    Line Capture Route
    Mic Playback Volume
    Mic Playback Switch
    Mic Capture Switch
    PC Speaker Playback Volume
    Aux Playback Volume
    Aux Playback Switch
    Aux Capture Switch
    Mic Boost
    Mic Capture Volume
    Four Channel Mode
    Line-In As Rear
    IEC958 Output Switch
    IEC958 In Valid
    IEC958 Copyright
    IEC958 5V
    IEC958 Loop
    IEC958 In Monitor
    IEC958 Playback Default
    IEC958 Playback Con Mask
    IEC958 Playback PCM Stream
    Line-In As Bass
    IEC958 In Select
    IEC958 In Phase Inverse
    Mic As Center/LFE
    Modem


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-04-01  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-23  7:04 newbie problem with control settings D. Hugh Redelmeier
2005-03-23 18:07 ` Takashi Iwai
2005-03-29 16:08   ` Takashi Iwai
2005-03-31 19:07     ` D. Hugh Redelmeier
2005-04-01  9:55       ` Takashi Iwai
2005-03-24 10:06 ` Clemens Ladisch
2005-03-24 15:27   ` Lee Revell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.