Re: [Alsa-user] Slot assignment not working
Paul D. DeRocco wrote: > Can this parameter be supplied on the kernel command line as snd.slots=...? Yes; this is possible for all parameters. Regards, Clemens -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Slot assignment not working
On Sun, 8 Oct 2017 11:44:06 -0700, Paul D. DeRocco wrote: >> From: Clemens Ladisch via Alsa-user >> >> > I tried the following, and nothing changed: >> > >> > options snd cards_limit=8 \ >> > slots=snd-soc-hifiberry-dacplus,vc4,snd-bcm2835,snd-usb-audio >> >> Are these drivers actually compiled as modules? >> Are the names the same as in /proc/asound/modules? > >The subsidiary ones are, but snd isn't. Can this parameter be supplied >on the kernel command line as snd.slots=...? Or would it be better to >recompile the kernel with snd as a module? If so, what's the CONFIG_ >symbol? Probably it's [rocketmouse@archlinux ~]$ zgrep -i snd /proc/config.gz | head -1 CONFIG_SND=m https://cateee.net/lkddb/web-lkddb/SND.html -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Slot assignment not working
> From: Clemens Ladisch via Alsa-user > > > I tried the following, and nothing changed: > > > > options snd cards_limit=8 \ > > slots=snd-soc-hifiberry-dacplus,vc4,snd-bcm2835,snd-usb-audio > > Are these drivers actually compiled as modules? > Are the names the same as in /proc/asound/modules? The subsidiary ones are, but snd isn't. Can this parameter be supplied on the kernel command line as snd.slots=...? Or would it be better to recompile the kernel with snd as a module? If so, what's the CONFIG_ symbol? -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Slot assignment not working
Paul D. DeRocco wrote: >> Anyway, that slots options specifies only two slots. >> If you have five devices, it's a better idea to specify five slots. > > What I have is three devices that always exist, one of which is the > Hifiberry DAC that I want to use, and the others are the PWM audio and the > HDMI audio. Then there are the unknown number of MIDI devices that someone > might plug in. I tried specifying various cards_limit values. cards_limit is not related with that. > I tried the following, and nothing changed: > > options snd cards_limit=8 \ > slots=snd-soc-hifiberry-dacplus,vc4,snd-bcm2835,snd-usb-audio Are these drivers actually compiled as modules? Are the names the same as in /proc/asound/modules? > This is really behaving as though "snd" isn't the right device name to > address the slots option to. Check in /sys/module/snd/parameters/slots. Regards, Clemens -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Slot assignment not working
> From: Clemens Ladisch via Alsa-user > > Paul D. DeRocco wrote: > >> Paul D. DeRocco wrote: > >>> options snd slots=snd-soc-hifiberry-dacplus,snd-usb-audio > >>> > >>> midiC0D0 a USB MIDI device > >>> midiC1D0 another USB MIDI device > >>> pcmC2D0p and pcmC2D1p on-board crappy PWM audio > >>> pcmC3D0p Hifiberry DAC > >>> pcmC4D0p HDMI audio > >> > >> Show your entire alsa.conf. > > > > I did. The one-liner you just quoted is all I used to need. > > In theory, it should not be possible for snd-usb-audio to > grab the first slot. > Are you sure there isn't any other "options snd" line in some > .conf file? There are no other files in /etc/modprobe.d, and no /etc/modprobe.conf file. There is a /lib/modprobe.d directory, although such a directory isn't mentioned in the relevant man pages, but it's empty anyway. > Anyway, that slots options specifies only two slots. > If you have five devices, it's a better idea to specify five slots. What I have is three devices that always exist, one of which is the Hifiberry DAC that I want to use, and the others are the PWM audio and the HDMI audio. Then there are the unknown number of MIDI devices that someone might plug in. I tried specifying various cards_limit values. I tried the following, and nothing changed: options snd cards_limit=8 \ slots=snd-soc-hifiberry-dacplus,vc4,snd-bcm2835,snd-usb-audio (vc4 is the HDMI, apparently). This is really behaving as though "snd" isn't the right device name to address the slots option to. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Slot assignment not working
Paul D. DeRocco wrote: >> Paul D. DeRocco wrote: >>> options snd slots=snd-soc-hifiberry-dacplus,snd-usb-audio >>> >>> midiC0D0 a USB MIDI device >>> midiC1D0 another USB MIDI device >>> pcmC2D0p and pcmC2D1p on-board crappy PWM audio >>> pcmC3D0p Hifiberry DAC >>> pcmC4D0p HDMI audio >> >> Show your entire alsa.conf. > > I did. The one-liner you just quoted is all I used to need. In theory, it should not be possible for snd-usb-audio to grab the first slot. Are you sure there isn't any other "options snd" line in some .conf file? Anyway, that slots options specifies only two slots. If you have five devices, it's a better idea to specify five slots. Regards, Clemens -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Slot assignment not working
> From: Clemens Ladisch via Alsa-user > > Paul D. DeRocco wrote: > > options snd slots=snd-soc-hifiberry-dacplus,snd-usb-audio > > > > midiC0D0 a USB MIDI device > > midiC1D0 another USB MIDI device > > pcmC2D0p and pcmC2D1p on-board crappy PWM audio > > pcmC3D0p Hifiberry DAC > > pcmC4D0p HDMI audio > > Show your entire alsa.conf. I did. The one-liner you just quoted is all I used to need. The three-liner just added some test stuff to prove that modprobe was installing drivers. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Slot assignment not working
Paul D. DeRocco wrote: > options snd slots=snd-soc-hifiberry-dacplus,snd-usb-audio > > midiC0D0 a USB MIDI device > midiC1D0 another USB MIDI device > pcmC2D0p and pcmC2D1p on-board crappy PWM audio > pcmC3D0p Hifiberry DAC > pcmC4D0p HDMI audio Show your entire alsa.conf. Regards, Clemens -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user