dCore Import Debian Packages to Mountable SCE extensions > dCore X86
Getting Alsa / sound working
Jason W:
Try using no spaces after the comma in between the entries in your "blacklist=" bootcode and see if that helps.
Jason W:
Also, post your resulting /etc/modprobe.d/blacklist.conf file after booting. Thanks.
EDIT: I tested with a "blacklist=snd_mixer_oss, snd_seq_oss, snd_pcm_oss" entry and saw the same error message of: modprobe: bad line 2: 1 tokens found, 2 needed. I changed it to "blacklist=snd_mixer_oss,snd_seq_oss,snd_pcm_oss" and no error, so that explains at least that error message.
liam391:
Thanks, that has resolved that error (I tried blacklisting the OSS modules after reading something about this in the wiki in relation to intel hda soundcards). My issue is really that I'm not sure which troubleshooting steps to go through, and whether I should only be using modprobe in the command line or editing a conf file. I've been reading up quite a lot on Alsa and the errors I've encountered but as a newb I struggle to understand it or the examples are for different soundcards and I don't know how to adapt (e..g there is kots of good info on https://alsa.opensrc.org/Sound_cards and associated pages but I've been unable to use it effectively so far).
Reloading Alsa now gives:
--- Code: ---sudo alsa reload
Unloading ALSA sound driver modules: snd-seq-dummy snd-pcm-oss snd-mixer-oss snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-hda-intel snd-hda-codec-analog snd-hda-codec-generic snd-hda-codec snd-hwdep snd-hda-core snd-pcm snd-timer.
Loading ALSA sound driver modules: snd-seq-dummy snd-pcm-oss snd-mixer-oss snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-hda-intel snd-hda-codec-analog snd-hda-codec-generic snd-hda-codec snd-hwdep snd-hda-core snd-pcm snd-timer.
--- End code ---
amixer stille gives:
--- Code: ---amixer: Mixer attach default error: No such file or directory
--- End code ---
blacklist.conf:
--- Code: ---blacklist snd_mixer_oss
blacklist snd_seq_oss
blacklist snd_pcm_oss
--- End code ---
I also read about editing the index numbers in the conf file but am unsure if this applies to my issue.
alsa-base.conf:
--- Code: ---# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
--- End code ---
Thanks very much for the help, much appreciated.
liam391:
Tinycore wiki gives the following advice - this is not available as an sce in dCore I believe but should I take this from Tinycore repos to perform the below?
--- Code: ---alsaconf when the aplay list is empty
If you downloaded alsa and its in your onboot list and you rebooted, you should have sound devices configured. You may need to adjust the mixers to hear sound. However, if
aplay -l
does not show any devices, then download alsaconf so its also an “onboot” tcz and reboot to retest your sound. If on reboot, no sound devices are detected, then run
sudo alsaconf
and follow the prompts to search and configure your sound device.
--- End code ---
Jason W:
You can try the alsaconf script, I will review it and see if it would work with dCore and make adjustments if needed and upload it to the prebuilt section.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version