Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2004 06:11:15 -0500
From:      Sean Kelly <smkelly@FreeBSD.org>
To:        Josef El-Rayes <josef@FreeBSD.org>
Cc:        John Baldwin <jhb@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/sound/pcm mixer.c
Message-ID:  <20040626111115.GA50834@edgemaster.zombie.org>
In-Reply-To: <20040624181801.GD583@jenny.daemon.li>
References:  <200406241741.i5OHfKjn052472@repoman.freebsd.org> <200406241408.08014.jhb@FreeBSD.org> <20040624181801.GD583@jenny.daemon.li>

next in thread | previous in thread | raw e-mail | index | archive | help

--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 24, 2004 at 08:18:01PM +0200, Josef El-Rayes wrote:
> John Baldwin <jhb@FreeBSD.org> wrote:
> > Does this really need to be here considering that with rcNG (on by defa=
ult on=20
> > current) and /etc/rc.d/mixer this has no effect?
>=20
> Eugene Grosbein requested this (kern/63771) implicitely
> and Cameron Grant decided that it is good to accomplish
> this via kenv variables.
>=20
> It literally adds only ~5 lines of code, it does not
> decrease stability but adds a feature, I see
> lots of kernel modules configurated via hints and
> bootloader, why not let pcm be configured via this too.
> Why do we have to force users to use mixer script, which
> is not documented anywhere too.
>=20
> I will, of course, remove it, if it is wished, I just
> dont see why anyone would have a problem.

There is a real argument for keeping this and not just letting the rcNG
script do it all. Other than being a feature, the real argument goes
something like this.

If I have something plugged into "Line In" on my soundcard and I mute teh
channel, next time I reboot I will hear that "Line In" signal until the
rcNG script runs and mutes it. There is a small time period between sound
being up and the rcNG script running. If I had something constantly,  loud
and annoying connected to "Line In", that would suck.

If you really wanted to be evil, you could have the rcNG script load and
save the mixer settings from/to the loader.conf/device.hints files (or save
to another file and 'include' it somehow). Then you don't have to wait for
the rc scripts to run for the volumes to be reset.

--=20
Sean Kelly          | PGP KeyID: D2E5E296
smkelly@FreeBSD.org | http://www.sean-kelly.org/

--82I3+IH0IqGh5yIs
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA3VnSPm7A9NLl4pYRAqUEAKCrToocYifvd+MH/ieNmE1ebUEBVQCgmqYT
GT/2s5q/b+R8qtRdLkiOf/M=
=9yB1
-----END PGP SIGNATURE-----

--82I3+IH0IqGh5yIs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040626111115.GA50834>