Jesse Guardiani wrote:
Holly Bostick wrote:

Jesse Guardiani wrote:
Jans Han Xie wrote:

<snip>
No, no package installed. I use the in-kernel version.


And pasting the error message when "/etc/init.d/alsasound restart"
will be more help :)
There isn't one. It starts all of the modules except my snd-intel8x0
module. No error, other than the fact that it isn't doing it's job.


1) Try alsaconf. Maybe your card isn't being properly configured (so
alsasound doesn't know to load the module).

Been there, done that. No change. Still doesn't load my module.


However, afaik, there is no "better workaround" than putting the module
in /etc/modules.d.autoload/kernel-2.6. After all, that is what that file
is for-- it *is* the "better workaround". My onboard sound chip (a VIA
8233) also requires semi-automatic loading in order to work properly; it
may have something to do with the fact that it *is* onboard sound, and
thus is related to the loading of other motherboard resources before it
can be detected. Is your intel8x0 also onboard, or is it a separate card?

onboard. It's just annoying because if I run `/etc/init.d/alsasound stop` then it unloads my soundcard module, but if I run `/etc/init.d/alsasound start` then it doesn't load it back in. Placing the module in the kernel-2.6 file helps at boot, but it does nothing to help this init.d case.


OK, if the module is not loaded in the first place, then how does stopping alsasound unload it? I have this sense that somewhere you said something about "device busy" being displayed (but now I can't find it); that message (if it exists) suggests that the device is being loaded by the kernel before alsasound tries to load it. That would suggest that the module is compiled as a module [M] and not directly into the kernel [*], which, although it seems like it should be correct, never worked properly for me.



Secondly, why are you stopping alsasound at all? Does sound work if you just let things remain as set up after boot?


What I would suggest is that you either:

1) Get a real sound card (I just replaced my onboard sound with a nice CMI 8738 card, and Soundblaster Live!s of various stripes are available for about the same price or less; I paid about Euro 30, but I could have gotten something adequate for half that). It really helps to have a distinct card available for detection by normal means, rather than a "motherboard resource" which involves BIOS configuration as well as kernel and OS configuration;

2) Confirm the sound chip's configuration in the kernel, and also confirm the ALSA settings.

2a) Here were my settings for 2.6.10-rc2 (I still haven't reinstalled Gentoo, but I have all the system data):

# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=y
CONFIG_SND_OPL3_LIB=y
# CONFIG_SND_DUMMY is not set
CONFIG_SND_VIRMIDI=y
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=y
# CONFIG_SND_ALI5451 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_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=y
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
CONFIG_SND_CMIPCI=y
# 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_MAESTRO3 is not set
# CONFIG_SND_FM801 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_SONICVIBES is not set
CONFIG_SND_VIA82XX=y
# CONFIG_SND_VX222 is not set


2b) Confirm your modules.autoload.d settings. Here was the modules.autoload.d/kernel-2.6 settings that worked to load my VIA 8233 onboard sound without errors:


# For example:
# 3c59x
#fw-loader
snd-mixer-oss
snd-pcm-oss
snd-seq
#snd-seq-oss (loaded by snd-seq, so commented out)
snd-via82xx
supermount (unrelated)
#via82-cxxx_audio (I tried using OSS for a while)
#ac97_codec (ditto)
gameport (onboard game port)
ns558 (analog settings for onboard game port)
sidewinder (game pad connected to onboard game port)
fglrx (unrelated)

2c) Confirm your /etc/modules.d/alsa settings (maybe it's looking for the wrong module or something; again, this is for my VIA 8233, but you should see the point):


# 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-1 snd-ens1371
##  OSS/Free portion
## 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 verion 1.0.7 ---
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-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---

2d) Oh, and if your /etc/modules.d/alsa is correct, maybe you should run 'update-modules' manually; alsaconf seems a bit dodgy to me when running the setup scripts and unmuting the volumes.

3) And I can't help but ask-- are you *absolutely sure* that intel-8x0 is the correct module for your onboard sound chip? What is the make and model of the board?

Hope this helps in some way.

Holly

--
[email protected] mailing list



Reply via email to