Unfortunately there are no serial numbers, so my rules are based on the path
given by the kernetl. Here's my current script:
#!/bin/bash
kernelStr=$1
devicePathStr=$2
# TEST DATA - PCM
# kernelStr="pcmC1D0pc"
#
devicePathStr=/devices/pci:00/:00:1d.0/usb2/2-1/2-1:1.0/sound/card1/pcmC1D0
On Thu, 21 Jan 2010, Diego Tognola wrote:
> Thanks Clemens,
>
> I tried /dev/snd as well but maybe my 'test' is invalid ?
>
> My expectations was that if I have rules for USB1-> card1, USB2->card2
> and USB3->card3 setup, then reboot with the audio card on USB2
> unplugged, then I should not see
Thanks Clemens,
I tried /dev/snd as well but maybe my 'test' is invalid ?
My expectations was that if I have rules for USB1-> card1, USB2->card2 and
USB3->card3 setup, then reboot with the audio card on USB2 unplugged, then I
should not see a card2 in /dev/snd or cat /proc/asound/cards ? What
Hi guys.
Could you please post the rule, as soon as you've figured how it works.
This information is missing in the Wiki. Would be nice to update the Wiki
accordingly. ( I could do that)
Cheers
On Wed, Jan 20, 2010 at 1:50 PM, Clemens Ladisch wrote:
> Diego Tognola wrote:
> > I'm trying to a
Diego Tognola wrote:
> I'm trying to assign identical USB cards (3 x M-Audio Mobile Pre) to
> fixed card numbers, based on their USB port. So far, I've created a
> udev rule that maps the kernel and device name to /dev/dsp[cardnumber].
>
> I know that this rule is working, as changes are reflected