On Tue, Apr 21, 2009 at 12:56:22PM +0200, LEVAI Daniel wrote: > Hi! > > I'm using this ThinkPad T60, and just realized that if using an earphone, the > console's audible bell is blowing my ears off. I couldn't find anything > relevant in mixerctl -a output, nevertheless I've changed every outputs > control's volume to 0 to see which one could be it (no luck). Is it possible > to lower the system beep's volume, so my ears won't bleed by tomorrow? :)
hopefully this gets you 'beep' controls. please let me know. beep generators should be considered i/o endpoints, like pins and converters. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Index: azalia.c =================================================================== RCS file: /cvs/src/sys/dev/pci/azalia.c,v retrieving revision 1.117 diff -u -r1.117 azalia.c --- azalia.c 4 Apr 2009 02:59:39 -0000 1.117 +++ azalia.c 21 Apr 2009 12:32:53 -0000 @@ -1364,6 +1364,7 @@ if (depth > 0 && (w->type == COP_AWTYPE_PIN_COMPLEX || + w->type == COP_AWTYPE_BEEP_GENERATOR || w->type == COP_AWTYPE_AUDIO_INPUT)) return -1; if (++depth >= 10) @@ -2361,6 +2362,7 @@ if (depth > 0 && (w->type == COP_AWTYPE_PIN_COMPLEX || + w->type == COP_AWTYPE_BEEP_GENERATOR || w->type == COP_AWTYPE_AUDIO_OUTPUT || w->type == COP_AWTYPE_AUDIO_INPUT)) { if (w->enable) Index: azalia_codec.c =================================================================== RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v retrieving revision 1.114 diff -u -r1.114 azalia_codec.c --- azalia_codec.c 24 Jan 2009 09:44:02 -0000 1.114 +++ azalia_codec.c 21 Apr 2009 12:32:54 -0000 @@ -417,6 +417,7 @@ /* back at the beginning or a bad end */ if (depth > 0 && (w->type == COP_AWTYPE_PIN_COMPLEX || + w->type == COP_AWTYPE_BEEP_GENERATOR || w->type == COP_AWTYPE_AUDIO_OUTPUT || w->type == COP_AWTYPE_AUDIO_INPUT)) return -1;