Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86306 - alsasound should start before coldplug
Summary: alsasound should start before coldplug
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-22 13:54 UTC by Akos Ladanyi
Modified: 2005-04-21 02:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akos Ladanyi 2005-03-22 13:54:27 UTC
The alsasound init script in alsa-utils-1.0.8 declares the following:
        need bootmisc localmount
        after modules isapnp coldplug hotplug
My problem is with "after coldplug hotplug". The gentoo handbook suggests to add hotplug to the default runlevel, the hotpug ebuild suggests to add coldplug to the boot runlevel, and the gentoo alsa guide suggests to add alsasound to the boot runlevel. All this means that alsasound is started _after_ coldplug (and before hotplug). This means that coldplug loads the alsa modules and not alsasound. And in case you have multiple sound cards the order in they are recognized by the driver is _not_ determined by the contents of /etc/modules.d/alsa. So I think alsasound should be started _before_ coldplug. Is there a reason why this is not the case?

Reproducible: Always
Steps to Reproduce:
Comment 1 Akos Ladanyi 2005-04-04 12:28:59 UTC
Unless I am mistaken Jeremy Huddleston (eradicator@gentoo.org) wrote the problematic line in the alsasound init script.

Dear Jeremy, could you comment on this?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-21 02:26:36 UTC
it needs to be started after coldplug, but older 'hotplug' init script provided the 'coldplug' functionality, so it's still in there for that reason.

yes, coldplug will load alsa modules if you don't tell it not to... that's fine.  good for it... nothing bad there...

If youu have multiple sound cards, you can tell coldplug to not load those drivers.  but it's more out-of-box friendly for USB audio devices if it starts after coldplug, so that's where it's going.  Most people who have multiple sound cards probably know or can figure out how to hack their system to work with them nicely.