Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA after kernel update
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
rastman
Apprentice
Apprentice


Joined: 22 Jan 2007
Posts: 210

PostPosted: Mon Feb 18, 2008 1:28 pm    Post subject: ALSA after kernel update Reply with quote

I'm using the new ~amd64 kernel.
ALSA debug:
Code:
ALSA Audio Debug v0.1.0 - pon, 18 lut 2008, 14:19:51 CET
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/gpl.txt

Kernel ----------------------------------------------------
Linux localhost 2.6.24-gentoo-r2 #1 SMP Mon Feb 18 13:19:22 CET 2008 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux

Loaded Modules --------------------------------------------
snd_pcm_oss            44192  0
snd_mixer_oss          19200  1 snd_pcm_oss
snd_seq_oss            34368  0
snd_seq_device          9872  1 snd_seq_oss
snd_seq_midi_event     10304  1 snd_seq_oss
snd_seq                55552  4 snd_seq_oss,snd_seq_midi_event
snd_hda_intel          49384  0
snd_pcm                87048  2 snd_pcm_oss,snd_hda_intel
snd_timer              26248  2 snd_seq,snd_pcm
snd                    63416  8 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq_device,snd_seq,snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc         13200  2 snd_hda_intel,snd_pcm

Proc Config -----------------------------------------------
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
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_RTCTIMER is not set
# 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 is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# 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_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_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 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_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_HWDEP is not set
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_ATIHDMI is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
# CONFIG_SND_HDA_GENERIC is not set
# CONFIG_SND_HDA_POWER_SAVE 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_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_VX222 is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set

Modprobe Conf ---------------------------------------------
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 2007 UTC).
--- no soundcards ---
  1:        : sequencer
 33:        : timer
cat: /proc/asound/hwdep: Nie ma takiego pliku ani katalogu
Client info
  cur  clients : 2
  peak clients : 2
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
    Connecting To: 15:0
Client  15 : "OSS sequencer" [Kernel]
  Port   0 : "Receiver" (-we-)
    Connected From: 0:1

Dev Snd ---------------------------------------------------
seq  timer

CPU -------------------------------------------------------
model name   : Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
cpu MHz      : 2128.000
model name   : Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
cpu MHz      : 2128.000

RAM -------------------------------------------------------
MemTotal:      1028108 kB
SwapTotal:      498004 kB

Hardware --------------------------------------------------
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)


alsamixer
Code:
 alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or directory


alsaconf
Code:
Running modules-update...
 * Please run 'update-modules' from now on; 'modules-update' is going away
Loading driver...
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                             [ ok ]
 *   Loading: snd-seq-oss ...                                            [ ok ]
 *   Loading: snd-mixer-oss ...                                          [ ok ]
 *   Loading: snd-pcm-oss ...                                            [ ok ]
 *   ERROR: Failed to load necessary drivers                             [ ok ]
 * Restoring Mixer Levels ...

What's wrong?
Back to top
View user's profile Send private message
rastman
Apprentice
Apprentice


Joined: 22 Jan 2007
Posts: 210

PostPosted: Mon Feb 18, 2008 1:38 pm    Post subject: Reply with quote

Code:
/etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
alsactl: save_state:1497: No soundcards found...
 * Error saving levels.                                                  [ !! ]
 * Killing processes using ALSA ...                                      [ ok ]
 * Unloading ALSA modules ...                                            [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                             [ ok ]
 *   Loading: snd-seq-oss ...                                            [ ok ]
 *   Loading: snd-mixer-oss ...                                          [ ok ]
 *   Loading: snd-pcm-oss ...                                            [ ok ]
 *   ERROR: Failed to load necessary drivers                             [ ok ]
 * Restoring Mixer Levels ...
alsactl: unrecognized option `---'
Usage: alsactl <options> command

Available options:
  -h,--help        this help
  -f,--file #      configuration file (default /etc/asound.state or /etc/asound.names)
  -F,--force       try to restore the matching controls as much as possible
                   (default mode)
  -P,--pedantic    don't restore mismatching controls (old default)
  -d,--debug       debug mode
  -v,--version     print version of this program

Available commands:
  store   <card #> save current driver setup for one or each soundcards
                   to configuration file
  restore <card #> load current driver setup for one or each soundcards
                   from configuration file
  names   <card #> dump information about all the known present (sub-)devices
                   into configuration file (DEPRECATED)
 * Errors while restoring defaults, ignoring

Code:
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64
hda-codec: No codec parser is available
hda-intel: no codecs initialized
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
Back to top
View user's profile Send private message
sageman
Guru
Guru


Joined: 04 May 2005
Posts: 363
Location: New Hampshire

PostPosted: Mon Feb 18, 2008 6:53 pm    Post subject: Reply with quote

Did you re-emerge alsa-drivers after updating the kernel? You need to. The emerge of alsa-drivers just looks at /usr/src/linux, which should be linked (check with ls -lh in /usr/src) to the latest kernel.
_________________
Carlton Stedman
Gentoo Metalheads on Last.fm: http://www.last.fm/group/Gentoo+Metalheads
Back to top
View user's profile Send private message
wyvern5
Apprentice
Apprentice


Joined: 11 Nov 2006
Posts: 161

PostPosted: Mon Feb 18, 2008 6:55 pm    Post subject: Reply with quote

I couldn't get alsa-drivers to work with 2.6.24 so I switched to the in-kernel ones.
Back to top
View user's profile Send private message
rastman
Apprentice
Apprentice


Joined: 22 Jan 2007
Posts: 210

PostPosted: Mon Feb 18, 2008 6:57 pm    Post subject: Reply with quote

I forgot to check CONFIG_SND_HDA_CODEC_ANALOG to y. That solved my problem.
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