linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Shaw Terwilliger <sterwill@io.nu>
To: Joseph Garcia <jpgarcia@execpc.com>
Cc: "linuxppc-dev@lists.linuxppc.org" <linuxppc-dev@lists.linuxppc.org>
Subject: Re: patches: MacOS-like Wallstreet sound in/out controls
Date: Sun, 19 Sep 1999 11:54:35 -0500	[thread overview]
Message-ID: <19990919115435.A24214@io.nu> (raw)
In-Reply-To: <37E50C29.CA2CE536@execpc.com>


Joseph Garcia wrote:
> since we aren't psychics, the daemon should have a configuration and script
> place in /etc (/etc/pmu?).  the config would allow the user to control some
> standard responses on how it acts internally. (like volume control, switching,
> etc)  then the option to do additional things in scripts.  Given the potential
> flexibility people may want, does this mean C is too static, and thus perl or
> another more script-friendly language should be used?

ALSA takes a reasonable approach to this problem; there's a user-space
utility called alsactl that can read a simple configuration file and
apply those values to the hardware or read the settings from the hardware
and write them to a file.  Normally this program is used during startup
and shutdown, to keep mixer settings between them.  A daemon would be
more appropriate for sleep or other PMU events.

Also, does anyone have a solution to my Lombard audio problem?
After a snooze, it comes back up and my audio is gone.  The kernel
driver seems to be there (mixers remember all previous levels and
can set new ones), and user-space access to /dev/dsp and /dev/audio
works, but nothing comes out of the speakers.

-- 
Shaw Terwilliger (sterwill@io.nu)

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~1999-09-19 16:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-19  8:54 patches: MacOS-like Wallstreet sound in/out controls Benjamin Herrenschmidt
1999-09-19 16:15 ` Joseph Garcia
1999-09-19 16:54   ` Shaw Terwilliger [this message]
1999-09-19 16:59     ` sound sleep Joseph Garcia
1999-09-19 17:18       ` sound sleep (more) Joseph Garcia
1999-09-20  2:17       ` sound sleep Takashi Oe
1999-09-20 22:24         ` Joseph Garcia
  -- strict thread matches above, loose matches on Subject: below --
1999-09-19  6:55 patches: MacOS-like Wallstreet sound in/out controls Joseph Garcia
1999-09-19  7:55 ` Dan Malek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990919115435.A24214@io.nu \
    --to=sterwill@io.nu \
    --cc=jpgarcia@execpc.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).