Re: more help with multiple usb devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sonofzev@xxxxxxxxxxxx wrote:
> Thanks Yan 
>
> I did actually read this in my research. The documentation was a little too brief for me to extrapolate out for my needs. It may actually fix another problem I have with the default card but not this issue, which is to setup all MIDI devices in a specific order to make life easy. 
>
> I need all MIDI devices in my setup and I can't intuitively see how this will set the order in which the MIDI ports appear in ALSA  (and hence jack midi as a flow on). 
>
> I will try and work it out.. but I just can't see it from this yet. 
>   
Oh well, this won't let you set your cards in order.  The only way you 
can do that is via udev.

That wiki entry will allow you to set ALSA_CARD so that you use a 
specific card of your choosing, no matter where it ends up at....

udev really isn't that hard; what you want is to create a symlink 
incorporating the physical path:

KERNEL=="dsp*", \
        SYMLINK+="sound/$env{PHYSDEVPATH}/dsp"

I think that will work.

Of course you end up with ridiculous device names like

/dev/sound/devices/pci0000:00/0000:00:02.1/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4.4/1-1.4.4.4.1/1-1.4.4.4.1:1.0/dsp

(OK, that usb sound card is at the end of a daisy chain of 4 USB hubs, 
but you get the idea.)

You get names that don't change, but are not intuitive by any stretch of 
the imagination.

--Yan


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux