On Tue, Jan 27, 2009 at 11:36 PM, Chris Burel <chrisbu...@gmail.com> wrote: > Hi support, > I'm trying to get my 2 audio cards to get the same dsp/dsp1 link > across reboots. I tried this approach based on their PCI id: >> cat 70-persistent-dsp.rules > # Audigy card is dsp > BUS="pci", ID="02:0a.0", NAME="dsp" > # Intel AC'97 is dsp1 > BUS="pci", ID="00:1f.5", NAME="dsp1" > >> lspci | grep Audigy > 02:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04) > 02:0a.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04) > 02:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04) >> lspci | grep "AC'97" > 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER > (ICH5/ICH5R) AC'97 Audio Controller (rev 02) > > This approach isn't working though. I set the sound device in an > application to the audigy one, and then on reboot it's set to the > AC'97 one.
I would highly suggest using persistent symlinks and letting the kernel/udev name the nodes as it wants. Just use SYMLINK+="audigy" or something. However, I think your udev rules just aren't working. For one, you need to use the comparison operator == rather than = for tests. Second, I think how you're trying to match the device won't work. You didn't say what version of udev you have, but try: udevadm info --attribute-walk --name=/dev/dsp That should show you some values you can match on to pick your device. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page