Re: Slot assignment not working

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

 



> > Paul D. DeRocco wrote:
> > Can this parameter be supplied on the kernel command line 
> > as snd.slots=...?

> From: Clemens Ladisch via Alsa-user 
> 
> Yes; this is possible for all parameters.

My first try was to leave snd as a built-in module, and pass the slots
parameter via the kernel command line:

snd.slots=snd-soc-hifiberry-dacplus,vc4,snd-bcm2835,snd-usb-audio

It showed up correctly in /proc/cmdline, but was totally ignored. All of
the slots were still wrong.

I recompiled the kernel with snd as a module, put the options back into
/etc/modprobe.d/alsa.conf, and it worked, basically. However, what I
thought was called vc4 (the HDMI sound) didn't get assigned to slot 1. But
slot 1 was still reserved, so the two USB MIDI ports took slots 3 and 4,
and the HDMI ended up in slot 5.

Does anyone know the name of the Raspberry Pi HDMI sound device? udevadm
info shows a driver name of "vc4_hdmi" and an id attribute of "vc4hdmi".
lsmod only lists "vc4", nothing else with "vc4" in it. alsamixer shows
"vc4-hdmi". None of these names in the slots option made any difference.
When I read /proc/asound/modules, I get this:

 0 snd_soc_hifiberry_dacplus
 2 snd_bcm2835
 3 snd_usb_audio
 4 snd_usb_audio
 5 (null)

Yet vc4 is indeed a loadable module, according to modinfo. Any ideas why
it appears to have no name to ALSA?

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@xxxxxxxxxxxxx


------------------------------------------------------------------------------
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@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