Bug 10263 - Уровни регуляторов по умолчанию > 0
Summary: Уровни регуляторов по умолчанию > 0
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: alsa-utils (show other bugs)
Version: unstable
Hardware: all Linux
: P2 enhancement
Assignee: Michael Shigorin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-13 17:30 MSK by Yury Aliaev
Modified: 2007-11-10 14:18 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Aliaev 2006-11-13 17:30:23 MSK
Вот, нарыл в рассылке alsa-devel:

could someone tell me why sound is muted by default? Especially for 
beginners this looks like the sound isn't working. As I started to use 
alsa, I didn't know I have to unmute my sound first and finally went 
back to OSS, as I knew that this worked. Later someone told me about 
this problem and I finally was able to use ALSA.

Of course some distributions are doing some tricks to get sound enabled, 
but is this really a good solution. Let's look at the Ubuntu package 
diff against the original files:
http://archive.ubuntu.com/ubuntu/pool/main/a/alsa-utils/alsa-utils_1.0.10-1ubuntu14.diff.gz

Search for "sanify_levels_on_card()" there and you'll find a long list 
where they try to set default values. A long list noone would need if 
there would be a better default in ALSA.

а также оттуда же:

Possibly with the distribution packagers. I find alsaconf in Debian 
quite helpful - it sets default levels (un-muted) and reminds the user 
to adjust the levels in alsamixer or another sound mixer package.

Может, и нам стоит перенять что-то из этого? Я-то уже привык, а вот новичкам
часто действительно невдомёк, почему при загруженных модулях звука нет...
Comment 1 Michael Shigorin 2006-11-13 19:04:56 MSK
С одной стороны, у нас в sound-scripts есть
/etc/rc.d/init.d/sound::fix_alsa_levels() схожего толка; с другой -- с hotplug
что-то сейчас сломано, поскольку у меня на ноуте после загрузки уровни
оказываются нулевыми.

Спасибо, попробую глянуть -- diff здоровенный и по диагонали неясно, что из него
может иметь смысл повтягивать.
Comment 2 Yury Aliaev 2006-11-13 19:29:54 MSK
Кстати да, я тоже наблюдаю подобное: после загрузки уровни почему-то оказываются
нулевыми. Думал, дело в руках (ещё со времён RH6.0 не могу избавиться от
привычки время от времени ковырять initscripts), а похоже, что и не только в них...
Comment 3 Michael Shigorin 2007-06-11 17:33:14 MSD
Юр, бага актуальна?  Вообще-то WORKSFORME, но на всякий даю копию возможно
заинтересованным.
Comment 4 Valery Inozemtsev 2007-06-11 17:43:57 MSD
не актуально. сейчас всё выставляется в 50%