[linux-audio-user] Is it possible to force a USB MIDI device to use a fixed ALSA client ID?

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

 



On Fri, 2005-09-09 at 18:47 +0200, Clemens Ladisch wrote:
> Lars Luthman wrote:
> > the keyboard can get a different ALSA client ID every time I turn
> > it on.
> 
> The client ID depends on the sound card number.  ALSA drivers grab the
> first free sound card number when they're loaded unless told
> otherwise, so the client ID will change if drivers are loaded in a
> different order.
> 
> In your /etc/modprobe.conf (or whatever your distribution uses), add
> "index" options to your drivers to force them to always have the same
> ID:
> 
> options snd-whatever index=0
> options snd-usb-audio index=1

Thanks! I added "options snd-usb-audio index=1" and ran depmod, and now
it looks like the keyboard gets client ID 72 every time I turn it on.


--ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://music.columbia.edu/pipermail/linux-audio-user/attachments/20050909/9bb84fbd/attachment.bin

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux