Re: [ubuntu-studio-users] USB device order/naming
Please, remove my email from this list. I cant do it because a frgot my password and there is no optios to recover it. Thanks On 10-11-2014 08:05, Thijs van severen wrote: Hi All What is the recommended way to force a USB audio device to always use the same name ? (dev1, dev3..) I have tried this procedure : http://alsa.opensrc.org/MultipleUSBAudioDevices But that doesnt seem to work (on ubuntu 12.4) all tips are wlecome ! grtz Thijs -- follow me on my Audio Linux blog http://audio-and-linux.blogspot.com/ ! -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: [ubuntu-studio-users] USB device order/naming
On Mon, 10 Nov 2014 11:05:21 +0100 Thijs van severen thijsvanseve...@gmail.com wrote: What is the recommended way to force a USB audio device to always use the same name ? (dev1, dev3..) devX? If it should be hw:X, then you can try this: [rocketmouse@archlinux ~]$ cat /etc/modprobe.d/alsa-base.conf # ALSA module ordering options snd slots=snd_hdspm,snd_ice1712,snd_ice1712 Explanation: I've got three audio cards, a HDSP and two Envy24 cards, internal audio is disabled by the BIOS settings. The HDSP always becomes hw:0, the Envy24 cards always will become hw:1 and hw:2. Even if I unload the snd_hdspm and/or snd_ice1712 modules, hw:0 to hw:2 are always reserved, any first audio USB device I plug in will become hw:3. IOW, if you add all sound devices drivers of others than USB audio devices to cat /etc/modprobe.d/alsa-base.conf, one USB device always will become the same hw:X, after the reserved hws. If you're using more than one USB devices, it could be an issue. Perhaps it could be solved by an udev rule. You also could add snd_usb_audio at the first position, so if you're using just one USB audio device, it always will become hw:0. JFTR the index method is obsolet, use the above mentioned slot method instead. Hth, Ralf -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: [ubuntu-studio-users] USB device order/naming
PS: If more than one USB audio devices are _audio_ devices, it should be solvable. If more than one audio device (USB or PCI etc.) shares the same module and they should have the same name, you're screwed, you need to restore Jack and ALSA MIDI connections with each session manually. -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: [ubuntu-studio-users] USB device order/naming
PPS: PS: If more than one USB audio devices are _audio_ devices, it should be solvable. If more than one audio device (USB or PCI etc.) shares ASSUMED THEY SHOULD BE USED FOR MIDI AND NOT FOR AUDIO the same module and they should have the same name, you're screwed, you need to restore Jack and ALSA MIDI connections with each session manually. -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: [ubuntu-studio-users] USB device order/naming
On Mon, 10 Nov 2014 08:46:08 -0200 Fredd Oliveiras fredd.olivei...@gmail.com wrote: Please, remove my email from this list. I cant do it because a frgot my password and there is no optios to recover it. It usually is impossible to remove emails from archives, since they usually are cloned by GMANE etc.. You can usnubscribe, you can get a password reminder at https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users , but you can't delete an email from the archive. -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: [ubuntu-studio-users] USB device order/naming
On Mon, Nov 10, 2014, at 11:05 AM, Thijs van severen wrote: Hi All What is the recommended way to force a USB audio device to always use the same name ? (dev1, dev3..) I have tried this procedure : http://alsa.opensrc.org/MultipleUSBAudioDevices But that doesnt seem to work (on ubuntu 12.4) all tips are wlecome ! grtz Thijs I suppose you want jack to always start with your device? Forcing your hardware to load in a certain order is not a good option. Instead, start jack with the name of your device, instead of the hw order. For instance, the result of me running: cat /proc/asound/cards 0 [PCH]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf160 irq 43 The name of the card in this case is PCH (I only have one atm). So, in my case I would start jack using hw:PCH, instead of hw:0. -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: [ubuntu-studio-users] USB device order/naming
On Mon, Nov 10, 2014 at 5:05 AM, Thijs van severen thijsvanseve...@gmail.com wrote: Hi All What is the recommended way to force a USB audio device to always use the same name ? (dev1, dev3..) on my audio production rig, i disable the internal audio device in the bios.. if that is an option for you, it will make the naming consistent.. cheers! I have tried this procedure : http://alsa.opensrc.org/MultipleUSBAudioDevices But that doesnt seem to work (on ubuntu 12.4) all tips are wlecome ! grtz Thijs -- follow me on my Audio Linux blog http://audio-and-linux.blogspot.com/ ! -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users -- MH likethecow.com -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: [ubuntu-studio-users] USB device order/naming
On Mon, Nov 10, 2014, at 08:52 PM, Mike Holstein wrote: On Mon, Nov 10, 2014 at 5:05 AM, Thijs van severen thijsvanseve...@gmail.com wrote: Hi All What is the recommended way to force a USB audio device to always use the same name ? (dev1, dev3..) on my audio production rig, i disable the internal audio device in the bios.. if that is an option for you, it will make the naming consistent.. cheers! There's a problem if you have usb midi devices or such. They will also be listed in the list of hardware. The simplest method is starting jack using the hw:name, instead of hw:number. qjacktl defaults to that these days, unless you use the default choice, which is the same as hw:0. -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: [ubuntu-studio-users] USB device order/naming
On Mon, 10 Nov 2014 20:59:33 +0100 Kaj Ailomaa zeque...@mousike.me wrote: On Mon, Nov 10, 2014, at 08:52 PM, Mike Holstein wrote: On Mon, Nov 10, 2014 at 5:05 AM, Thijs van severen thijsvanseve...@gmail.com wrote: Hi All What is the recommended way to force a USB audio device to always use the same name ? (dev1, dev3..) on my audio production rig, i disable the internal audio device in the bios.. if that is an option for you, it will make the naming consistent.. cheers! There's a problem if you have usb midi devices or such. They will also be listed in the list of hardware. The simplest method is starting jack using the hw:name, instead of hw:number. qjacktl defaults to that these days, unless you use the default choice, which is the same as hw:0. One of my hints was the same as Mike's hint. Perhaps the OP not only wants to use the device with jack, but have it as a general default hw:0 device. Anyway, disabling a crappy device is good for several reasons, but not needed, if just one device always should become hw:0. To /etc/modprobe.d/alsa-base.conf the OP could add options snd slots=snd_usb_audio that will make a single USB device always hw:0. Yes, if the OP is using several USB devices it's not that easy. As a side note, using USB for MIDI is very bad, much too much jitter and depending to the kind of device, most likely no galvanic isolation. Usage of opto-couplers is rendered useless, if ground is looped through. -- ubuntu-studio-users mailing list ubuntu-studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users