Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA no sound devices found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Sun Jan 18, 2015 1:55 pm    Post subject: ALSA no sound devices found Reply with quote

Hello everybody,

I have been struggling to install Gentoo on my "big" machine the other day. I managed to get around dmraid issues when installing to an OCZ Revodrive. But now I have another completely weird issue, namely no sound.
I have gnome3 (thus systemd) and frankly I don't know where to put a line to load the correct module for my soundcard. Here is the dmesg output:

Code:

[    8.416190] snd_hda_intel 0000:00:1b.0: irq 31 for MSI/MSI-X
[    8.416346] registered taskstats version 1
[    8.417090] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    8.417360] EDD information not available.
[    8.417689] ALSA device list:
[    8.417963]   No soundcards found.
[    8.426687] sound hdaudioC0D0: No codec parser is available
[    9.698750] sound hdaudioC1D0: No codec parser is available
[    9.703041] sound hdaudioC1D1: No codec parser is available
[    9.707250] sound hdaudioC1D2: No codec parser is available
[    9.711469] sound hdaudioC1D3: No codec parser is available


lspci | grep Audio

Code:

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller (rev a1)


Apparently I want the first one to work.

Code:

localhost ~ # lsmod | grep snd
snd_usb_audio         104685  1
snd_usbmidi_lib        16764  1 snd_usb_audio
snd_rawmidi            14745  1 snd_usbmidi_lib
snd_seq_device          4676  1 snd_rawmidi


So no modules are probably loaded?

Code:

localhost ~ # alsactl init
Found hardware: "HDA-Intel" "" "HDA:11060441,104383d1,00100100" "0x1043" "0x8375"
Hardware is initialized using a generic method


But no sound anyway. (used speaker-test)

All things SND are compiled as modules:

Code:

localhost ~ # cat /usr/src/linux/.config | grep SND
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=m
CONFIG_SND_COMPRESS_OFFLOAD=m
CONFIG_SND_JACK=y
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_KCTL_JACK=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_RAWMIDI_SEQ=m
CONFIG_SND_OPL3_LIB_SEQ=m
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
CONFIG_SND_EMU10K1_SEQ=m
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DRIVERS=y
CONFIG_SND_PCSP=y
CONFIG_SND_DUMMY=m
CONFIG_SND_ALOOP=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_MTS64=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_PORTMAN2X4=m
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
CONFIG_SND_SB_COMMON=m
CONFIG_SND_PCI=y
CONFIG_SND_AD1889=m
CONFIG_SND_ALS300=m
CONFIG_SND_ALS4000=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ASIHPI=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AW2=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
CONFIG_SND_BT87X_OVERCLOCK=y
CONFIG_SND_CA0106=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_OXYGEN_LIB=m
CONFIG_SND_OXYGEN=m
CONFIG_SND_CS4281=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_CTXFI=m
CONFIG_SND_DARLA20=m
CONFIG_SND_GINA20=m
CONFIG_SND_LAYLA20=m
CONFIG_SND_DARLA24=m
CONFIG_SND_GINA24=m
CONFIG_SND_LAYLA24=m
CONFIG_SND_MONA=m
CONFIG_SND_MIA=m
CONFIG_SND_ECHO3G=m
CONFIG_SND_INDIGO=m
CONFIG_SND_INDIGOIO=m
CONFIG_SND_INDIGODJ=m
CONFIG_SND_INDIGOIOX=m
CONFIG_SND_INDIGODJX=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_ES1968_INPUT=y
CONFIG_SND_FM801=m
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_KORG1212=m
CONFIG_SND_LOLA=m
CONFIG_SND_LX6464ES=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MAESTRO3_INPUT=y
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_PCXHR=m
CONFIG_SND_RIPTIDE=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VIRTUOSO=m
CONFIG_SND_VX222=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_DSP_LOADER=y
CONFIG_SND_HDA_PREALLOC_SIZE=2048
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
CONFIG_SND_USB_USX2Y=m
CONFIG_SND_USB_CAIAQ=m
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=m
CONFIG_SND_USB_6FIRE=m
CONFIG_SND_USB_HIFACE=m
CONFIG_SND_BCD2000=m
CONFIG_SND_SOC=m
CONFIG_SND_ATMEL_SOC=m
CONFIG_SND_DESIGNWARE_I2S=m
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
CONFIG_SND_SOC_INTEL_SST=m
CONFIG_SND_SOC_INTEL_SST_ACPI=m
CONFIG_SND_SOC_INTEL_HASWELL=m
CONFIG_SND_SOC_INTEL_BAYTRAIL=m
CONFIG_SND_SOC_INTEL_HASWELL_MACH=m
CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH=m
CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH=m
CONFIG_SND_SOC_I2C_AND_SPI=m
CONFIG_SND_SOC_ADAU1701=m
CONFIG_SND_SOC_AK4554=m
CONFIG_SND_SOC_AK4642=m
CONFIG_SND_SOC_AK5386=m
CONFIG_SND_SOC_ALC5623=m
CONFIG_SND_SOC_CS42L52=m
CONFIG_SND_SOC_CS42L56=m
CONFIG_SND_SOC_CS42L73=m
CONFIG_SND_SOC_CS4265=m
CONFIG_SND_SOC_CS4270=m
CONFIG_SND_SOC_CS4271=m
CONFIG_SND_SOC_CS42XX8=m
CONFIG_SND_SOC_CS42XX8_I2C=m
CONFIG_SND_SOC_HDMI_CODEC=m
CONFIG_SND_SOC_MAX98090=m
CONFIG_SND_SOC_PCM1681=m
CONFIG_SND_SOC_PCM512x=m
CONFIG_SND_SOC_PCM512x_I2C=m
CONFIG_SND_SOC_RL6231=m
CONFIG_SND_SOC_RT5640=m
CONFIG_SND_SOC_SGTL5000=m
CONFIG_SND_SOC_SIGMADSP=m
CONFIG_SND_SOC_SIGMADSP_I2C=m
CONFIG_SND_SOC_SIRF_AUDIO_CODEC=m
CONFIG_SND_SOC_SPDIF=m
CONFIG_SND_SOC_STA350=m
CONFIG_SND_SOC_TAS2552=m
CONFIG_SND_SOC_TAS5086=m
CONFIG_SND_SOC_TLV320AIC31XX=m
CONFIG_SND_SOC_TLV320AIC3X=m
CONFIG_SND_SOC_WM8510=m
CONFIG_SND_SOC_WM8523=m
CONFIG_SND_SOC_WM8580=m
CONFIG_SND_SOC_WM8711=m
CONFIG_SND_SOC_WM8728=m
CONFIG_SND_SOC_WM8731=m
CONFIG_SND_SOC_WM8737=m
CONFIG_SND_SOC_WM8741=m
CONFIG_SND_SOC_WM8750=m
CONFIG_SND_SOC_WM8753=m
CONFIG_SND_SOC_WM8776=m
CONFIG_SND_SOC_WM8804=m
CONFIG_SND_SOC_WM8903=m
CONFIG_SND_SOC_WM8962=m
CONFIG_SND_SOC_TPA6130A2=m
CONFIG_SND_SIMPLE_CARD=m


except the VIA codec, which I suspect I have:

Code:

localhost ~ # cat /proc/asound/card*/codec* | grep Codec
Codec: VIA ID 441
Codec: Nvidia ID a
Codec: Nvidia ID a
Codec: Nvidia ID a
Codec: Nvidia ID a


Code:

localhost ~ # aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server


In the pulseaudio settings dialog I see only "Dummy output" as the output device.

Any clues on how to proceed?
Back to top
View user's profile Send private message
evetsnameloc
n00b
n00b


Joined: 14 Dec 2014
Posts: 26
Location: Colorado Springs, CO

PostPosted: Sun Jan 18, 2015 3:20 pm    Post subject: Reply with quote

To start with, I think you can uncheck all the devices listed under "PCI sound devices" since both of your sound devices rely only on the HD-audio drivers. Next, it looks like the VIA codec is compiled into the kernel (CONFIG_SND_HDA_CODEC_VIA=y). I don't see how this happened since in my configurator it is offered only as a module, but at any rate neither of your sound devices look like they need it so I would uncheck it completely and recompile and see what happens.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Sun Jan 18, 2015 8:31 pm    Post subject: Reply with quote

evetsnameloc wrote:
I don't see how this happened since in my configurator it is offered only as a module, but at any rate neither of your sound devices look like they need it so I would uncheck it completely and recompile and see what happens.


Thank you for the quick reply. I'll do that and report on what happened.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Sun Jan 18, 2015 9:05 pm    Post subject: Reply with quote

Ok. Now the kernel was rebuilt with these options:

Code:

CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_COMPRESS_OFFLOAD=m
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_KCTL_JACK=y
CONFIG_SND_DMA_SGBUF=y
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_DRIVERS=y
CONFIG_SND_PCSP=y
CONFIG_SND_DUMMY=m
CONFIG_SND_ALOOP=m
CONFIG_SND_MTPAV=m
CONFIG_SND_MTS64=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_PORTMAN2X4=m
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_PREALLOC_SIZE=2048
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
CONFIG_SND_HDA_CODEC_VIA=m
# CONFIG_SND_HDA_CODEC_HDMI is not set
CONFIG_SND_HDA_I915=y
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
CONFIG_SND_USB_USX2Y=m
CONFIG_SND_USB_CAIAQ=m
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=m
CONFIG_SND_USB_6FIRE=m
CONFIG_SND_USB_HIFACE=m
CONFIG_SND_BCD2000=m
CONFIG_SND_SOC=m
CONFIG_SND_ATMEL_SOC=m
CONFIG_SND_DESIGNWARE_I2S=m


A bit different boot messages:

Code:

[    8.574212] snd_hda_intel 0000:01:00.1: Disabling MSI
[    8.574555] TCP: cubic registered
[    8.574832] NET: Registered protocol family 17
[    8.575116] Key type dns_resolver registered
[    8.575547] snd_hda_intel 0000:00:1b.0: irq 31 for MSI/MSI-X
[    8.575702] registered taskstats version 1
[    8.576449] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    8.576721] EDD information not available.
[    8.577048] ALSA device list:
[    8.577320]   No soundcards found.
[    8.586192] sound hdaudioC0D0: No codec parser is available
[    9.858837] sound hdaudioC1D0: No codec parser is available
[    9.863085] sound hdaudioC1D1: No codec parser is available
[    9.867352] sound hdaudioC1D2: No codec parser is available
[    9.871602] sound hdaudioC1D3: No codec parser is available


I also added some stuff to /etc/modprobe.d/alsa.conf (as suggested on the wiki http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel)

Code:

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
# module options should go here
       
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
       
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


(God knows what that means)

And also specified the modules to load explicitly in the modules files here:

Code:

anydoby@localhost ~ $ cat /etc/modules-load.d/alsa.conf
snd
snd-hda-intel
soundcore
snd-mixer-oss
snd-seq-oss
snd-pcm-oss


Well. Nothing still works :(
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Sun Jan 18, 2015 9:22 pm    Post subject: Reply with quote

With the systemd loading the modules I see an error in systemd logs

Code:

Jan 18 22:19:37 localhost systemd-modules-load[9601]: Module 'snd_hda_intel' is builtin


Looks like rebuilding the kernel with this thing as a module did not work. I'll try cleaning everything and do it again :(
Back to top
View user's profile Send private message
evetsnameloc
n00b
n00b


Joined: 14 Dec 2014
Posts: 26
Location: Colorado Springs, CO

PostPosted: Mon Jan 19, 2015 3:02 am    Post subject: Reply with quote

Try deselecting PC-speaker support (CONFIG_SND_PCSP). This is from the info blurb in the kernel:
Quote:
WARNING: if you already have a soundcard, enabling this
driver may lead to a problem. Namely, it may get loaded
before the other sound driver of yours, making the
pc-speaker a default sound device. Which is likely not
what you want. To make this driver play nicely with other
sound driver, you can add this in a configuration file under
/etc/modprobe.d/ directory:
options snd-pcsp index=2

You don't need this driver if you only want your pc-speaker to beep.
You don't need this driver if you have a tablet piezo beeper
in your PC instead of the real speaker.

Say N if you have a sound card.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Mon Jan 19, 2015 12:51 pm    Post subject: Reply with quote

evetsnameloc wrote:
Try deselecting PC-speaker support (CONFIG_SND_PCSP).


A sound idea. I'll try that, since now when I rebooted Pulseaudio is showing "pcsp" (speaker?) as the output device. Maybe I'm just one step away from hearing something.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Mon Jan 19, 2015 5:23 pm    Post subject: Reply with quote

Blacklisted snd-pcsp module now I'm getting the 'Dummy output' in Pulseaudio again.

Here is my alsa.conf:

Code:

anydoby@localhost ~ $ cat /etc/modprobe.d/alsa.conf
blacklist snd-pcsp
# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-hda-intel
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
#options snd-ca0106 index=0
#alias snd-card-1 snd-hda-intel
options snd-hda-intel index=0
#options snd cards_limit=2
options snd cards_limit=1


So I do not want the second soundcard (the NVidia) but still nothing worked :(
Back to top
View user's profile Send private message
evetsnameloc
n00b
n00b


Joined: 14 Dec 2014
Posts: 26
Location: Colorado Springs, CO

PostPosted: Mon Jan 19, 2015 6:08 pm    Post subject: Reply with quote

I'm running out of ideas, but could you post the output of "lsmod" and "lspci -v"?
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Mon Jan 19, 2015 9:19 pm    Post subject: Reply with quote

evetsnameloc wrote:
I'm running out of ideas, but could you post the output of "lsmod" and "lspci -v"?


I'm going for another round of rebuilds and report on what happens next.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Mon Jan 19, 2015 9:51 pm    Post subject: Reply with quote

Well. This is really annoying.

Code:

localhost ~ # modprobe -r snd-hda-intel
modprobe: FATAL: Module snd_hda_intel is builtin.


My .config looks like this though:

Code:

localhost ~ # cat /usr/src/linux/.config | grep SND
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VMASTER=y
CONFIG_SND_KCTL_JACK=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_DRIVERS=y
CONFIG_SND_PCI=y
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_PREALLOC_SIZE=2048
# CONFIG_SND_HDA_HWDEP is not set
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m


Everything is built as a module yet snd-hda-intel is builtin?

Code:

lspci -v

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
   Subsystem: ASUSTeK Computer Inc. Device 8375
   Flags: bus master, fast devsel, latency 0, IRQ 31
   Memory at f5ff8000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [50] Power Management version 2
   Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
   Capabilities: [100] Virtual Channel
   Capabilities: [130] Root Complex Link
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel

01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller (rev a1)
   Subsystem: ASUSTeK Computer Inc. Device 834e
   Flags: bus master, fast devsel, latency 0, IRQ 16
   Memory at f7afc000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: [60] Power Management version 3
   Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [78] Express Endpoint, MSI 00
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel



the lsmod gives nothing, well, something new appeared:

Code:

localhost ~ # lsmod | grep snd
snd_usbmidi_lib        16764  0
snd_rawmidi            14328  1 snd_usbmidi_lib


hell knows why i'd need these for :) On an ubuntu which is installed next to gentoo on this machine the same command returns a plenty of things:

Code:

snd_hda_codec_hdmi     46368  4
snd_hda_codec_via      27860  1
snd_usb_audio         154041  1
snd_hda_intel          56451  8
snd_usbmidi_lib        29215  1 snd_usb_audio
snd_hda_codec         192906  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep              13602  2 snd_usb_audio,snd_hda_codec
snd_pcm               102099  5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30144  2 snd_usbmidi_lib,snd_seq_midi
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29482  2 snd_pcm,snd_seq
snd                    69322  30 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
soundcore              12680  1 snd


I tried to load the modules manually one by one: snd, soundcore, snd-hda-codec and failed ton snd-hda-codec-via (which is what I need to load for intel card).

Code:

localhost ~ # modprobe -a snd soundcore snd-hda-codec snd-hda-codec-via
modprobe: ERROR: could not insert 'snd_hda_codec_via': Invalid argument


What argument do I need?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Jan 19, 2015 10:09 pm    Post subject: Reply with quote

Are you actually running the kernel you compiled those as modules for?
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Tue Jan 20, 2015 7:52 am    Post subject: Reply with quote

Ant P. wrote:
Are you actually running the kernel you compiled those as modules for?


Ok now I got it. I have 2 boots :) This is what I got when logged into ubuntu and checked my raid where gentoo is installed. Partition 2 is boot and partition 4 is root:

Code:

root@anydoby-xubuntu:~# mount /dev/mapper/sil_bgbhajacbddh2 /mnt/gentoo/
root@anydoby-xubuntu:~# ls -la /mnt/gentoo/
total 10907
drwxr-xr-x 4 root root    1024 jan 17 12:30 .
drwxr-xr-x 3 root root    4096 jan 17 18:51 ..
drwxr-xr-x 6 root root    1024 jan 18 22:59 grub
-rw-r--r-- 1 root root 3638056 jan 17 19:44 initramfs-genkernel-x86_64-3.17.7-gentoo
-rw-r--r-- 1 root root       0 dec  4 02:25 .keep
-rw-r--r-- 1 root root 4641056 jan 17 19:44 kernel-genkernel-x86_64-3.17.7-gentoo
drwx------ 2 root root   12288 jan 15 21:48 lost+found
-rw-r--r-- 1 root root 2822712 jan 17 19:44 System.map-genkernel-x86_64-3.17.7-gentoo

root@anydoby-xubuntu:~# umount /mnt/gentoo

root@anydoby-xubuntu:~# mount /dev/mapper/sil_bgbhajacbddh4 /mnt/gentoo/
root@anydoby-xubuntu:~# ls -la /mnt/gentoo/boot/
total 12436
drwxr-xr-x  3 root root     4096 jan 19 19:08 .
drwxr-xr-x 21 root root     4096 jan 17 23:36 ..
drwxr-xr-x  6 root root     4096 jan 18 22:48 grub
-rw-r--r--  1 root root        0 jan 18 22:44 .keep
-rw-r--r--  1 root root 10024448 jan 19 22:28 kernel-genkernel-x86_64-3.17.7-gentoo
-rw-r--r--  1 root root  2691419 jan 19 22:28 System.map-genkernel-x86_64-3.17.7-gentoo
root@anydoby-xubuntu:~#


So first I mounted my boot partition to /mnt/gentoo and see very old kernel builds. Then I unmounted it and mounted my root gentoo partition (4) and got a totally different view on the boot partition :) - it is from my yesterday's trials and errors where I built initramfs into kernel - hence no initramfs in the boot.

How could this have happened I can only guess. I will sort out the mess and report back on what this has fixed :)


Last edited by anydoby on Tue Jan 20, 2015 6:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
evetsnameloc
n00b
n00b


Joined: 14 Dec 2014
Posts: 26
Location: Colorado Springs, CO

PostPosted: Tue Jan 20, 2015 3:24 pm    Post subject: Reply with quote

Instead of running
Code:
cat /usr/src/linux/.config | grep SND
run this:
Code:
cat /boot/config<your kernel version> | grep SND

This will show the config options of the kernel you have loaded.

And just to be safe, after you compile and install your kernel, assuming you're using grub2 as your boot manager, run the grub installer
Code:
grub2-mkconfig -o /boot/grub/grub.cfg
to make sure that it gets picked up in the boot menu.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Tue Jan 20, 2015 6:23 pm    Post subject: Reply with quote

evetsnameloc wrote:
Instead of running
Code:
cat /usr/src/linux/.config | grep SND
run this:
Code:
cat /boot/config<your kernel version> | grep SND

This will show the config options of the kernel you have loaded.

And just to be safe, after you compile and install your kernel, assuming you're using grub2 as your boot manager, run the grub installer
Code:
grub2-mkconfig -o /boot/grub/grub.cfg
to make sure that it gets picked up in the boot menu.


I guess I'm going to borrow the SND flags from my currently running ubuntu, which sits on another disk and also take the alsa-base.conf from it as well. And see what happens.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Tue Jan 20, 2015 8:35 pm    Post subject: Reply with quote

Ok. The problem is solved. I formatted the boot partition, booted to ubuntu and borrowed some of the SND flags, ran genkernel and the system looks nice. I did not build all the modules that it uses, only VIA and built everything as modules. I omitted OSS/PCM stuff which probably was causing the problem. Now I have both soundcards in the pulseaudio menu and even more that I did not expect - 5.1 and 7.1 support.

Here is the excerpt of SND properties, just for the history:

Code:

localhost ~ # zcat /proc/config.gz | grep SND
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_COMPRESS_OFFLOAD=m
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
CONFIG_SND_HRTIMER=m
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not set
CONFIG_SND_PCM_XRUN_DEBUG=y
CONFIG_SND_VMASTER=y
CONFIG_SND_KCTL_JACK=y
CONFIG_SND_DMA_SGBUF=y
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_ALOOP is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_DSP_LOADER=y
CONFIG_SND_HDA_PREALLOC_SIZE=2048
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_USB_HIFACE is not set
# CONFIG_SND_BCD2000 is not set
CONFIG_SND_SOC=m
# CONFIG_SND_ATMEL_SOC is not set
# CONFIG_SND_DESIGNWARE_I2S is not set
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
# CONFIG_SND_SOC_INTEL_SST is not set
CONFIG_SND_SOC_I2C_AND_SPI=m
# CONFIG_SND_SOC_ADAU1701 is not set
# CONFIG_SND_SOC_AK4554 is not set
# CONFIG_SND_SOC_AK4642 is not set
# CONFIG_SND_SOC_AK5386 is not set
# CONFIG_SND_SOC_ALC5623 is not set
# CONFIG_SND_SOC_CS42L52 is not set
# CONFIG_SND_SOC_CS42L56 is not set
# CONFIG_SND_SOC_CS42L73 is not set
# CONFIG_SND_SOC_CS4265 is not set
# CONFIG_SND_SOC_CS4270 is not set
# CONFIG_SND_SOC_CS4271 is not set
# CONFIG_SND_SOC_CS42XX8_I2C is not set
# CONFIG_SND_SOC_HDMI_CODEC is not set
# CONFIG_SND_SOC_PCM1681 is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_SGTL5000 is not set
# CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set
# CONFIG_SND_SOC_SPDIF is not set
# CONFIG_SND_SOC_STA350 is not set
# CONFIG_SND_SOC_TAS2552 is not set
# CONFIG_SND_SOC_TAS5086 is not set
# CONFIG_SND_SOC_TLV320AIC31XX is not set
# CONFIG_SND_SOC_TLV320AIC3X is not set
# CONFIG_SND_SOC_WM8510 is not set
# CONFIG_SND_SOC_WM8523 is not set
# CONFIG_SND_SOC_WM8580 is not set
# CONFIG_SND_SOC_WM8711 is not set
# CONFIG_SND_SOC_WM8728 is not set
# CONFIG_SND_SOC_WM8731 is not set
# CONFIG_SND_SOC_WM8737 is not set
# CONFIG_SND_SOC_WM8741 is not set
# CONFIG_SND_SOC_WM8750 is not set
# CONFIG_SND_SOC_WM8753 is not set
# CONFIG_SND_SOC_WM8776 is not set
# CONFIG_SND_SOC_WM8804 is not set
# CONFIG_SND_SOC_WM8903 is not set
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_TPA6130A2 is not set
# CONFIG_SND_SIMPLE_CARD is not set


As you see it's basically empty.

And the loaded modules listing looks exactly like it should.

Code:

localhost ~ # lsmod | grep snd
snd_hda_codec_hdmi     32165  3
snd_usb_audio         104125  1
snd_usbmidi_lib        16812  1 snd_usb_audio
snd_rawmidi            13672  1 snd_usbmidi_lib
snd_hda_codec_via      17134  1
snd_hda_codec_generic    41102  1 snd_hda_codec_via
snd_hda_intel          16690  5
snd_hda_controller     15632  1 snd_hda_intel
snd_hda_codec          76331  5 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep               4771  2 snd_usb_audio,snd_hda_codec
snd_pcm                67321  5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              14863  1 snd_pcm
snd                    40365  23 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel
soundcore                888  2 snd,snd_hda_codec


Forgot to mention. I also borrowed the whole elaborate /etc/alsa-base.conf from ubuntu as well.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Tue Jan 20, 2015 9:18 pm    Post subject: Reply with quote

Hmm. Looks like the sound problem was not a problem at all. Now I booted to gentoo again and tried to rebuild kernel with support for 32bit executables and after reboot I not only got "Dummy output" again, but also had not network at all. And I again have a discrepancy between boot partition contents and the contents of the /boot :( genkernel has something to do with this
Back to top
View user's profile Send private message
jlmunix
n00b
n00b


Joined: 06 Sep 2009
Posts: 3

PostPosted: Tue Sep 29, 2015 2:50 am    Post subject: Reply with quote

It worked for me also, but just copying the config you shared, I didn't anything to the Alsa config file. Thanks.

anydoby wrote:
...
[code]
localhost ~ # zcat /proc/config.gz | grep SND
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_COMPRESS_OFFLOAD=m
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
CONFIG_SND_HRTIMER=m
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not set
CONFIG_SND_PCM_XRUN_DEBUG=y
CONFIG_SND_VMASTER=y
CONFIG_SND_KCTL_JACK=y
CONFIG_SND_DMA_SGBUF=y
...
CONFIG_SND_HDA_PREALLOC_SIZE=2048
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_USB_HIFACE is not set
# CONFIG_SND_BCD2000 is not set
CONFIG_SND_SOC=m

_________________
I love you Gentoo!
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 194

PostPosted: Sat Oct 10, 2015 9:31 pm    Post subject: What i would do if I was you Reply with quote

Take notice what sound modules you have loaded in Ubuntu.(not necessary)


1. make sure your system is bootable and all more or less is working as expected.
2. compile kernel with all sound related drivers as modules. boot using it.
3. lsmod / modprobe -r anything sound related. this will remove everything sound related.
4. modprobe driver for sound card you want to use.(first line could be of use)
5. give output of "aplay -L" here. try to run "alsamixer". Run "speaker-test -c 2".
6. Rename ~/.asoundrc.(take not of this action)
7. Try sound in Xorg app.

IMHE, having more than one sound card loaded is sure way to have issues. They can be adjusted to coexist, but I can't be bothered with my built in one, when i have asus xonair.
_________________
Just a user.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum