View previous topic :: View next topic |
Author |
Message |
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Sun Jul 22, 2012 3:19 pm Post subject: [SOLVED] Help with alsamixer |
|
|
I just got my Gentoo system running, after a few struggles (documented in the Installation forum). It's an Acer Aspire One AOA150 1447. Now I'm trying to get Alsa working and I'm having a bit of a problem.
Here's what I've done so far.
Code: | # emerge alsa-utils
# alsaconf
=============================
Now ALSA is ready to use
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
# rc-update add alsasound boot
* alsasound added to runlevel boot
# gpasswd -a tbrauch audio
Adding user tbrauch to group audio
# alsamixer
cannot open mixer: No such file or directory |
alsaconf found my sound card and there were no errors from that process. I've searched the forums and it seems that this most frequently happens when the sound card is not configured correctly in the kernel.
The output of http://kmuto.jp/debian/hcl/ for my soundcard is:
Code: | 808627d8 Yes Intel Corporation N10/ICH 7 Family High Definition Audio Controller snd-hda-intel v3.1.0- |
And here's the relevant part of my kernel .config
Code: | #
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FB_CON_DECOR is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY 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_SEQUENCER_OSS is not set
# CONFIG_SND_HRTIMER is not set
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_SUPPORT_OLD_API=y
# 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 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 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_CS5530 is not set
# CONFIG_SND_CS5535AUDIO 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_HDA_INTEL=m
CONFIG_SND_HDA_PREALLOC_SIZE=64
# CONFIG_SND_HDA_HWDEP is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_INPUT_JACK is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
# 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_SIS7019 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_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_SOC is not set
# CONFIG_SOUND_PRIME is not set
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y |
And modules:
Code: | # find /lib/modules/3.3.8-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | less
/lib/modules/3.3.8-gentoo/kernel/drivers/scsi/scsi_wait_scan.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/watchdog/iTCO_wdt.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/firmware/dmi-sysfs.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/i2c/busses/i2c-i801.ko
/lib/modules/3.3.8-gentoo/kernel/net/netfilter/xt_mark.ko
/lib/modules/3.3.8-gentoo/kernel/fs/fuse/fuse.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc7.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc16.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc-ccitt.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc8.ko
/lib/modules/3.3.8-gentoo/kernel/lib/libcrc32c.ko
/lib/modules/3.3.8-gentoo/kernel/lib/cordic.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-cmedia.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-ca0132.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-conexant.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-realtek.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-cirrus.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-hdmi.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-ca0110.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-via.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-si3054.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-analog.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-idt.ko
/lib/modules/3.3.8-gentoo/kernel/sound/usb/snd-usbmidi-lib.ko
/lib/modules/3.3.8-gentoo/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-rawmidi.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-timer.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-pcm.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-hwdep.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-page-alloc.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/seq/snd-seq.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd.ko |
I am guessing the problem is something wrong either with the kernel or with a module not loading. But I'm not sure what to try to change.
Last edited by tbrauch on Tue Jul 24, 2012 4:45 pm; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Jul 22, 2012 4:30 pm Post subject: Re: Help with alsamixer |
|
|
tbrauch wrote: | Code: | [...]
# gpasswd -a tbrauch audio
Adding user tbrauch to group audio
# alsamixer
cannot open mixer: No such file or directory |
|
tbrauch ... group modification doesn't come into effect until the login/session is restarted. I suspect this is the reason for you not being able to modify the mixer settings
best ... khay |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Sun Jul 22, 2012 6:55 pm Post subject: |
|
|
Hmm... I tried a reboot. No such luck. I went through the Gentoo Linux ALSA Guide again, made a few changes to my kernel, rebooted, still no alsamixer. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Jul 22, 2012 7:15 pm Post subject: |
|
|
tbrauch
please try adding the following to /etc/modprobe.d/alsa.conf
Code: | options snd-hda-intel model=acer-aspire |
HTH & best ...
khay |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Sun Jul 22, 2012 7:40 pm Post subject: |
|
|
Still having problems, whether logged in as root or as a user.
Here's my /etc/modprobe.d/alsa.conf
Code: | # Alsa kernel modules' configuration file.
# ALSA portion
# OSS/Free portion
##
## 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-interwave
## alias snd-card-1 snd-ens1371
options snd-hda-intel model=acer-aspire
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
## 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.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.25 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. --- |
And since I made some changes to my kernel, here's (what I think is) the relevant part of my .config again
Code: | #
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FB_CON_DECOR is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=m
CONFIG_SOUND_OSS_CORE=y
# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY 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_SEQUENCER_OSS is not set
# CONFIG_SND_HRTIMER is not set
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_SUPPORT_OLD_API=y
# 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_AC97_CODEC=m
# CONFIG_SND_DRIVERS 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_CS5530 is not set
# CONFIG_SND_CS5535AUDIO 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_HDA_INTEL=m
CONFIG_SND_HDA_PREALLOC_SIZE=64
# CONFIG_SND_HDA_HWDEP is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_INPUT_JACK is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
# 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=m
CONFIG_SND_INTEL8X0M=m
# 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_SIS7019 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_USB is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=m
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y |
|
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Sun Jul 22, 2012 8:29 pm Post subject: |
|
|
When I start up the computer, I noticed something scrolling past the screen.
* No mixer config in /var/lib/alsa/asound.state, you have to umute your [ ok ]
I imagine that is somehow related to my problem... |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Jul 22, 2012 9:09 pm Post subject: |
|
|
Two questions:
- 'lsmod'
- 'ls -l /dev/snd/' |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon Jul 23, 2012 2:24 am Post subject: |
|
|
How about just providing some decent debugging info in 1 post:
Code: | wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh
bash alsa-info.sh --upload |
Then show us the URL that the script shows at the end. |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Mon Jul 23, 2012 3:34 pm Post subject: |
|
|
VoidMage wrote: | Two questions:
- 'lsmod' |
Code: | # lsmod
Module Size Used By
snd_page_alloc 6353 0
iTCO_wdt 11412 0
i2c_i801 7109 0 |
VoidMage wrote: | - 'ls -l /dev/snd/' |
Code: | # ls -l /dev/snd
total 0
crw------- 1 root root 116, 1 Jul 22 12:21 seq
crw------- 1 root root 116, 33 Jul 22 12:21 timer |
PaulBredbury wrote: | How about just providing some decent debugging info in 1 post: |
http://www.alsa-project.org/db/?f=0f2d3ae9698dc60c77d84d756b76102c9c19bf40 |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Jul 23, 2012 4:43 pm Post subject: |
|
|
tbrauch wrote: | VoidMage wrote: | Two questions:
- 'lsmod' |
Code: | # lsmod
Module Size Used By
snd_page_alloc 6353 0
iTCO_wdt 11412 0
i2c_i801 7109 0 |
|
Would you mind loading the module for your card first ? |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Mon Jul 23, 2012 4:48 pm Post subject: |
|
|
VoidMage wrote: |
Would you mind loading the module for your card first ? |
I was told, back in my post in the Installing forum, that I should not load any modules. That Gentoo would load them as needed. I guess someone gave me incorrect information...
cach0rr0 wrote: | modules will be, generally, hotplugged by the system as needed.
especially for the modules i see in your list above, there's nothing that's critical to bootup
if your other kernel bits and pieces are squared away, and assuming grub has things where they need to be, you should be good to go |
Now, how do I load it?
Edit to add: By "how" I mean which ones... here are my modules, which ones need to be loaded?
Code: | /lib/modules/3.3.8-gentoo/kernel/drivers/scsi/scsi_wait_scan.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/watchdog/iTCO_wdt.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/media/video/gspca/gspca_main.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/firmware/dmi-sysfs.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/net/wireless/ath/ath.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/i2c/busses/i2c-i801.ko
/lib/modules/3.3.8-gentoo/kernel/net/netfilter/xt_mark.ko
/lib/modules/3.3.8-gentoo/kernel/fs/fuse/fuse.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc7.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc16.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc-ccitt.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc8.ko
/lib/modules/3.3.8-gentoo/kernel/lib/libcrc32c.ko
/lib/modules/3.3.8-gentoo/kernel/lib/cordic.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-cmedia.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-ca0132.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-conexant.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-realtek.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-cirrus.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-hdmi.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-ca0110.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-via.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-si3054.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-analog.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-idt.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/snd-intel8x0m.ko
/lib/modules/3.3.8-gentoo/kernel/sound/ac97_bus.ko
/lib/modules/3.3.8-gentoo/kernel/sound/soundcore.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-timer.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-pcm.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-page-alloc.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/seq/snd-seq.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd.ko |
|
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Mon Jul 23, 2012 5:08 pm Post subject: |
|
|
Assuming, it is snd-hda-intel that I need to load, it doesn't load.
Code: | # modprobe snd-hda-intel
WARNING: Error inserting snd (/lib/modules/3.3.8-gentoo/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-pcm.ko): Invalid module format
WARNING: Error inserting snd_hda_codec (/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec.ko): Invalid module format
FATAL: Error inserting snd_hda_intel (/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-intel.ko): Invalid module format |
Edit to add: If this might be of interest,
Code: | # modinfo snd-hda-intel
filename: /lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-intel.ko
description: Intel HDA driver
license: GPL
alias: pci:v00001022d*sv*sd*bc04sc03i00*
alias: pci:v00001002d*sv*sd*bc04sc03i00*
alias: pci:v000015ADd00001977sv*sd*bc*sc*i*
alias: pci:v000017F3d00003010sv*sd*bc*sc*i*
alias: pci:v00001102d*sv*sd*bc04sc03i00*
alias: pci:v00006549d00001200sv*sd*bc*sc*i*
alias: pci:v000010DEd*sv*sd*bc04sc03i00*
alias: pci:v000010B9d00005461sv*sd*bc*sc*i*
alias: pci:v00001039d00007502sv*sd*bc*sc*i*
alias: pci:v00001106d00003288sv*sd*bc*sc*i*
alias: pci:v00001002d0000AAB0sv*sd*bc*sc*i*
alias: pci:v00001002d0000AAA8sv*sd*bc*sc*i*
alias: pci:v00001002d0000AAA0sv*sd*bc*sc*i*
alias: pci:v00001002d00009902sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA48sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA40sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA38sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA30sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA28sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA20sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA18sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA10sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA08sv*sd*bc*sc*i*
alias: pci:v00001002d0000AA00sv*sd*bc*sc*i*
alias: pci:v00001002d0000970Fsv*sd*bc*sc*i*
alias: pci:v00001002d0000960Fsv*sd*bc*sc*i*
alias: pci:v00001002d00007919sv*sd*bc*sc*i*
alias: pci:v00001002d0000793Bsv*sd*bc*sc*i*
alias: pci:v00001022d0000780Dsv*sd*bc*sc*i*
alias: pci:v00001002d00004383sv*sd*bc*sc*i*
alias: pci:v00001002d0000437Bsv*sd*bc*sc*i*
alias: pci:v00008086d*sv*sd*bc04sc03i00*
alias: pci:v00008086d00003A6Esv*sd*bc*sc*i*
alias: pci:v00008086d00003A3Esv*sd*bc*sc*i*
alias: pci:v00008086d0000293Fsv*sd*bc*sc*i*
alias: pci:v00008086d0000293Esv*sd*bc*sc*i*
alias: pci:v00008086d0000284Bsv*sd*bc*sc*i*
alias: pci:v00008086d0000269Asv*sd*bc*sc*i*
alias: pci:v00008086d000027D8sv*sd*bc*sc*i*
alias: pci:v00008086d00002668sv*sd*bc*sc*i*
alias: pci:v00008086d0000080Asv*sd*bc*sc*i*
alias: pci:v00008086d0000811Bsv*sd*bc*sc*i*
alias: pci:v00008086d00001E20sv*sd*bc*sc*i*
alias: pci:v00008086d00001D20sv*sd*bc*sc*i*
alias: pci:v00008086d00001C20sv*sd*bc*sc*i*
depends: snd-hda-codec,snd-pcm,snd,snd-page-alloc
intree: Y
vermagic: 3.3.8-gentoo SMP preempt mod_unload PENTIUMIII
parm: index:Index value for Intel HD audio interface. (array of int)
parm: id:ID string for Intel HD audio interface. (array of charp)
parm: enable:Enable Intel HD audio interface. (array of bool)
parm: model:Use the given board model. (array of charp)
parm: position_fix:DMA pointer read method.(0 = auto, 1 = LPIB, 2 = POSBUF, 3 = VIACOMBO). (array of int)
parm: bdl_pos_adj:BDL position adjustment offset. (array of int)
parm: probe_mask:Bitmask to probe codecs (default = -1). (array of int)
parm: probe_only:Only probing and no codec initialization. (array of int)
parm: single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
parm: enable_msi:Enable Message Signaled Interrupt (MSI) (int)
parm: align_buffer_size:Force buffer and period sizes to be multiple of 128 bytes. (bool)
parm: snoop:Enable/disable snooping (bool) |
|
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Mon Jul 23, 2012 7:11 pm Post subject: |
|
|
Have you tried building the
Code: | CONFIG_SND_HDA_INTEL=m |
into the kernel as opposed to building it as a module?
I build my EMU10K1 into the kernel, and it loads without a problem.
Also, might be worthwhile checking your kernel is synced up with the symlink (I think that is what it is called )
Code: | eselect kernel list |
and make sure you are symlinking to 3.3.8-gentoo _________________ Whatever you do, do it properly! |
|
Back to top |
|
|
Kate Monster Apprentice
Joined: 13 Jun 2006 Posts: 226 Location: Clarkston, Michigan
|
Posted: Mon Jul 23, 2012 8:05 pm Post subject: |
|
|
FYI, when you get errors while loading modules, more detailed info on what went wrong can be found by running "dmesg|less" and scrolling to the end of the output. |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Mon Jul 23, 2012 11:51 pm Post subject: |
|
|
Thistled wrote: | Have you tried building the
Code: | CONFIG_SND_HDA_INTEL=m |
into the kernel as opposed to building it as a module?
I build my EMU10K1 into the kernel, and it loads without a problem. |
Done! I did it as a module because the guide I was following said that things like sound cards and other peripherals should be compiled as modules so they are only loaded as needed. I'd just as soon compile everything in the kernel, but I didn't know if that was bad.
Thistled wrote: | Also, might be worthwhile checking your kernel is synced up with the symlink (I think that is what it is called )
Code: | eselect kernel list |
and make sure you are symlinking to 3.3.8-gentoo |
Here's what I do when I make changes to my kernel.
Code: | # cd /usr/src/linux
# make menuconfig
# make && make modules_install
# cp arch/x86/boot/bzImage /boot/kernel-3.3.8-gentoo
# reboot |
Is there another step I'm supposed to be doing?
Kate Monster wrote: | FYI, when you get errors while loading modules, more detailed info on what went wrong can be found by running "dmesg|less" and scrolling to the end of the output. |
I'll try that if the change to the kernel doesn't make it work better. |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Tue Jul 24, 2012 12:01 am Post subject: |
|
|
Recompiled my kernel, rebooted, same error.
Code: | # alsamixer
cannot open mixer: No such file or directory |
The only problem I get on boot up is the same one I've had.
Code: | * Restoring Mixer levels... [ ok ]
* No mixer config in /var/lib/alsa/asound.state, you have to unmute your [ ok ] |
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jul 24, 2012 12:26 am Post subject: |
|
|
tbrauch wrote: | Recompiled my kernel |
Yes, but did it keep the same garbage you had before? "Invalid module format" is a problem that you *need* to solve.
When recompiling a kernel, I remove or rename the old dir under /lib/modules/, to ensure that whatever's there is freshly compiled for the new kernel. I suspect you have old junk in there, especially since you presumably don't run "make clean".
Here's my old guide. |
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Jul 24, 2012 12:41 am Post subject: |
|
|
This might sound weird, but would it make any difference if you added alsasound to the default runlevel instead of boot?
Let the stuff in boot runlevel kick off (udev etc) then let the default runlevel enable the sound.
That might be worthwhile checking out.
I have alsasound in my default runlevel.
Also, see if gnome-alsamixer shows anything. That might let the system save settings if it works. _________________ Whatever you do, do it properly! |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jul 24, 2012 12:50 am Post subject: |
|
|
Thistled wrote: | gnome-alsamixer |
No! That will just cause more confusion, by hiding the real issue.
alsamixer is the correct tool to use. Er, once the kernel modules for sound actually load properly.
When debugging, one starts at the low level, to check that things are OK there *first*. |
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Jul 24, 2012 1:00 am Post subject: |
|
|
PaulBredbury wrote: | Thistled wrote: | gnome-alsamixer |
No! That will just cause more confusion, by hiding the real issue.
alsamixer is the correct tool to use. Er, once the kernel modules for sound actually load properly.
When debugging, one starts at the low level, to check that things are OK there *first*. |
But he has built it into the kernel now. It is no longer a module, so to speak. _________________ Whatever you do, do it properly! |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jul 24, 2012 1:19 am Post subject: |
|
|
Oh God.
It's better as a module, in /lib/modules. Here's reasons:
* An options line in /etc/modprobe.d/ will take effect, rather than needing to be specified in the bootloader. E.g.:
options snd-hda-intel model=acer-aspire-8930g index=0 probe_mask=1 enable_msi=1
* Can unload and reload the module easily, to test different options, e.g.:
modprobe -r snd-hda-intel
modprobe snd-hda-intel enable_msi=0 |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Tue Jul 24, 2012 1:33 am Post subject: |
|
|
I can make it back to a module. For some reason, I feel more comfortable with it as a module.
FYI, I get the same "Invalid module format" error if I try to load the module for my wireless card. I was kind of hoping if we got it fixed for sound, I could do the same thing for wireless.
Anyway, I found this blog entry that might explain something, but I don't entirely follow it: http://meditation-art.blogspot.com/2008/02/modprobe-returns-invalid-kernel-module.html. |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Jul 24, 2012 1:45 am Post subject: |
|
|
what does uname -a return _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Jul 24, 2012 1:55 am Post subject: |
|
|
BillWho wrote: | what does uname -a return |
That is what I asked earlier. I am trying to establish whether the kernel is the same, which is why I asked tbrauch to do a
Code: | eselect kernel list |
just to make sure he is synced up with the symlink, otherwise he will face this problem when trying to modprobe.
Paul, what do you mean "Oh God"?
I'm not totally thick!
I don't load EMU10K1 as a module, it's built in to the kernel, and I sure as hell don't have any options on my bootloader command line which pertain to my sound card.
Care to enlighten this stupid old dog with where I would have such a config if I don't do modules? _________________ Whatever you do, do it properly! |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Tue Jul 24, 2012 1:55 am Post subject: |
|
|
BillWho wrote: | what does uname -a return |
Code: | # uname -a
Linux acer 3.3.8-gentoo #4 SMP PREEMPT Sat Jul 21 21:16:21 EDT 2012 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux |
Edit to add:
Code: | # eselect kernel list
Available kernel symlink targets:
[1] linux-3.3.8-gentoo * |
|
|
Back to top |
|
|
|