
On 7/31/06, Daniel Lawson <daniel(a)meta.net.nz> wrote:
Yesterday I upgraded to dapper and now all the sound devices come up in completely unpredictable order, not even the same on two consecutive boots. Even though the correct modules are still listed in /etc/modules.
Is there a proper way to force devices to get detected in the order I want?
You can use a udev rule to force device name allocation, although I can't even hazard a guess as to what that would look like in this case. It's been a while since I played with udev. I think matt or craig added a rule for eth* device allocation to a wiki page a while back though
You can find this at http://wlug.org.nz/UDev which has links to a number of websites. One little tip - what I would do is name the devices (using udev) something like /dev/soundev1, /dev/soundev2 or similar rather than variations on dsp as it seems like you can't lock down a pre-existing name. For example my ethernet cards are lan0, lan1 which are locked down and eth0/1 randomly change. -- Ian McDonald Web: http://wand.net.nz/~iam4 Blog: http://imcdnzl.blogspot.com WAND Network Research Group Department of Computer Science University of Waikato New Zealand