From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: Q: hotplug vs two sound/network cards
Date: Sun, 27 Jun 2004 18:53:50 +0300
Message-ID: <20040627155350.GR21000@osdn.org.ua> (raw)
In-Reply-To: <20040611090128.GW29312@osdn.org.ua>
[-- Attachment #1: Type: text/plain, Size: 4531 bytes --]
PreScriptum: можно отложить разборки с hotplug/pci на
post-Master, но тогда бы где написать, что поддержка Linux 2.6 в
ALM2.4 -- экспериментальная и известны такие-то проблемы.
Дальше -- скорее ссылки и обрывки, что-то голова не варит связать
в одну нить. Но, с другой стороны, про противоречия
install/boot-timt настраивалок и "вечнозеленого" hotplug уже
кой-чего с pilot@, rider@ и vsu@ успели обсудить.
Пожалуй, самая ёмкая по степени суммирования ссылка:
http://lists.debian.org/debian-devel/2004/03/msg02466.html
On Fri, Jun 11, 2004 at 12:01:28PM +0300, Michael Shigorin wrote:
> Другой вопрос -- куда вообще движется hotplug? Ведь эти вопросы
> явно возникли не только у нас и сейчас и явно должны были
> предвидеться его авторами -- насчет противоречия hotplug unix-way
> по части "автомат vs прибили_и_держится", которое особенно бьет
> по дорогим/"невозможным" для автодетекта старым железкам и
> администраторам. (*grin*)
http://lists.debian.org/debian-devel/2004/03/msg02479.html
http://lists.debian.org/debian-devel/2004/03/msg02409.html:
> #2) ALSA's init script is executed after hotplug. The mixer
> settings are
> then "restored."
Same issue: a init script is the wrong place to restore the mixer
settings. Two correct places are /etc/modprobe.d/ or a script in
/etc/dev.d/.
С этим и хотелось бы согласиться, но udev в Sisyphus не наблюдаю,
да и 2.6 у нас пока не дефолтное.
К этому по мелочи можно прибавить
http://lists.debian.org/debian-devel/2004/03/msg02526.html
http://lists.debian.org/debian-devel/2004/03/msg02487.html:
>> You need to add something like this in /etc/modprobe.d/ to
>> make modprobe automatically load the OSS compatibility
>> module. (snd-mixer-oss is loaded anyway, does anybody know
>> why?)
>> install snd-pcm /sbin/modprobe --ignore-install snd-pcm &&
>> /sbin/modprobe snd-pcm-oss
> Isn't "above snd-pcm snd-pcm-oss" a simpler and clearer way to
> express the same thing?
Yes, but it's a modprobe (modutils) thing; modprobe
(module-init-tools) doesn't support it.
Здесь накладывается на вопрос о будущем modutils vs hotplug,
который, помнится, был оставлен открытым до выяснения.
http://lists.debian.org/debian-devel/2004/03/msg02449.html:
It's not at all clear to me that the hotplug framework is the
right way to deal with automatically loading modules at boot
time. We have other schemes, such as /etc/modules, which work
just as well, if not better.
-- Theodore Ts'o
Followup с все тем же вопросом о порядке сетевых интерфейсов как
результате определения discover vs hotplug:
http://lists.debian.org/debian-devel/2004/03/msg02456.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240582:
предложение добавить "ручку" для выбора нужных задеваемых
компонент в hotplug. В итоге он получил такой changelog entry:
---
Changes:
hotplug (0.0.20040329-3) unstable; urgency=low
.
* debian/hotplug.postinst
preserve /etc/default/hotplug
closes: Bug#240582
anyway, current debconf configurations are deprecated, and
I plan to delete these configuration variables in future.
If you need something to load at start time, use /etc/modules instead.
* debian/hotplug.postinst
move deprecated /etc/hotplug/usb.usermap.local
to /etc/hotplug/usb/local.usermap
closes: Bug#241144
* debian/hotplug.dirs: add /etc/hotplug/blacklist.d
patches/014_load_drivers_blacklist_dir
blacklist can be added by other packages, such as ALSA
closes: Bug#241225
* patches/013_load_drivers_check_module_dup
patches/012_usb.agent_check_driver
don't load drivers several times.
closes: Bug#232909, Bug#237952, Bug#241326
* patches/012_usb.rc_try_all_interfaces
for TYPE=0/* USB devices, it will have several interfaces, so
try them at startup time. problem reported by mat@nask.pl
* patches/012_pci.rc_return_value
backported
* patches/011_hotplug.functions_quote_loaded
backported
---
PS: еще момент, который, видимо, может иметь отношение к ALM2.4
и/или 3.x:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75015
(краткий смысл -- "отключите USB-звук перед установкой и добавьте
его _после_ установки, если дефолтной должна быть внутренняя
звуковая карта")
(здесь припоминается btaudio и опять идут мысли про
приоретизацию модулей)
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-06-27 15:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-10 18:18 ` [devel] Re: UQ: hotplugs vs two sound cards Michael Shigorin
2004-06-10 18:46 ` Anton Farygin
2004-06-10 20:36 ` [devel] Re: UQ: hotplug vs two sound/network cards Michael Shigorin
2004-06-11 6:04 ` Anton Farygin
2004-06-11 9:01 ` Michael Shigorin
2004-06-27 15:53 ` Michael Shigorin [this message]
2004-06-10 21:48 ` [devel] Re: UQ: hotplugs vs two sound cards Denis Ovsienko
2004-06-11 6:08 ` Anton Farygin
2004-06-11 6:38 ` Denis Ovsienko
2004-06-11 7:00 ` Anton Farygin
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=20040627155350.GR21000@osdn.org.ua \
--to=mike@osdn.org.ua \
--cc=devel@altlinux.ru \
/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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git