On Saturday 25 January 2025 08:00:12 Greenwich Mean Time k...@aspodata.se wrote: > Alan Mackenzie: > ... > > > Then I attempt to use alsamixer to unmute the speakers and, hopefully get > > some sound out of them. This is where my problems start. > > > > alsamixer displays just one object, labelled S/PDIF in the middle of the > > screen. I don't have an S/PDIF connection, just an ordinary audio cable > > with a green 3.5 mm jack plug at each end. > > ... > > I have: > # aplay --list-devices > **** List of PLAYBACK Hardware Devices **** > card 0: SB [HDA ATI SB], device 0: ALC888 Analog [ALC888 Analog] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 0: SB [HDA ATI SB], device 1: ALC888 Digital [ALC888 Digital] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: NVidia [HDA NVidia], device 3: Generic Digital [Generic Digital] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 2: M1010LT [M Audio Delta 1010LT], device 0: ICE1712 multi [ICE1712 > multi] Subdevices: 0/1 > Subdevice #0: subdevice #0 > > And if I do alsamixer -c 1 I also get just one s/pdif in the middle of > the screen, the graphics card appearantly have one. > > alsamixer -c 0 shows the motherboard interface, > alsamizer -c 2 shows the pci one. > > Perhaps you have more than one interface. > > /// > > There is a debug tool /usr/sbin/alsa-info.sh if you install > media-sound/alsa-utils > > You can possible get better help at linux-audio-user at > lists.linuxaudio.org > > Regards, > /Karl Hammar
Assuming kernel drivers for all your devices are configured, either in kernel or as loadable modules, you may have to specify the desired order in which different sound devices are initialised. This is achieved by adding an option in /etc/asound.conf, or ~/.asoundrc, to specify which should be the default card/device, and/or specifying the order in which the devices are initialised by the driver if you only have one sound card, using a sound module option, e.g. this is what I have in /etc/modprobe.d/alsa.conf on a desktop here; # Set this to the correct number of cards. options snd cards_limit=2 options snd-hda-intel id=Generic_1 index=0 options snd-hda-intel id=Generic index=1 options snd-hda-intel index=1,0 See this section in the wiki page: https://wiki.gentoo.org/wiki/ALSA#Laptops_with_HDMI_audio_output To find your cards and devices you can 'cat /proc/asound/cards', run 'aplay - L', or press F2 and F6 in alsamixer. Once the cards/devices have been initialised in the desired order you can use your alsamixer or the sound mixer of your desktop GUI to unmute the port/jack you connect your speakers to and adjust their volume. You may also want to read this page to make your desktop work with pipewire/ wireplumber: https://wiki.gentoo.org/wiki/PipeWire
signature.asc
Description: This is a digitally signed message part.