проблема с ALSA пропал звук

После обновления пропал звук. Что обновилось не помню :(

localhost music # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.17.

localhost ~ # lspci | grep audio
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)

localhost ~ # lsmod
Module Size Used by
snd_pcm_oss 37024 0
snd_mixer_oss 14080 1 snd_pcm_oss
snd_seq_oss 28928 0
snd_seq_midi_event 6400 1 snd_seq_oss
snd_seq 46160 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 6412 2 snd_seq_oss,snd_seq
snd_intel8x0 28572 0
snd_ac97_codec 96164 1 snd_intel8x0
ac97_bus 1664 1 snd_ac97_codec
snd_pcm 67720 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
radeonfb 115392 0
snd_timer 19716 2 snd_seq,snd_pcm
fb 43144 1 radeonfb
snd 46628 9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
fb_ddc 1920 1 radeonfb
i2c_algo_bit 5636 1 radeonfb
cfbcopyarea 3712 1 radeonfb
cfbimgblt 2816 1 radeonfb
snd_page_alloc 7304 2 snd_intel8x0,snd_pcm
cfbfillrect 3840 1 radeonfb

localhost ~ # /etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ... [ ok ]
* Killing processes using ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
* Loading ALSA modules ...
* Could not detect custom ALSA settings. Loading all detected alsa drivers.
* Loading: snd_intel8x0 ... [ ok ]
* Loading: snd-seq-oss ... [ ok ]
* Loading: snd-pcm-oss ... [ ok ]
* Restoring Mixer Levels ...

localhost music # emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r10-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-glibc2.0
Timestamp of tree: Fri, 17 Apr 2009 06:00:05 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -msse2 -mfpmath=sse -pipe -O2 -ftracer -funit-at-a-time -falign-functions -falign-jumps"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -msse2 -mfpmath=sse -pipe -O2 -ftracer -funit-at-a-time -falign-functions -falign-jumps -fvisibility-inlines-hidden"
DISTDIR="/mnt/hda5/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.relinfo.ru/gentoo/distfiles http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.utf8"
LC_ALL="ru_RU.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm graphviz gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify lm_sensors mad midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session socks5 spell spl ssl startup-notification svg sysfs tcpd tidy tiff truetype unicode usb userlocales vorbis wifi win32codecs x86 xine xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so filter authz_host" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

localhost music # madplay ./music.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
audio: esd_open_sound() failed

подскажите куда копать?

Цитата:Could not detect

Цитата:
Could not detect custom ALSA settings. Loading all detected alsa drivers.

alsaconf запускали?

alsaconf и alsamixer запускал

alsaconf и alsamixer запускал

а что есть из звуковых устройств?

Можно взглянуть на вывод команд?

1. cat /proc/asound/cards
2. cat /proc/asound/devices
3. aplay -l
4. aplay -L
5. amixer

случайно PC-Speaker не

случайно PC-Speaker не включился?

Проблема так и не решена :(

Ноут IBM T40
localhost ~ # cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1981B at irq 11

localhost ~ # cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
20: [ 0- 4]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
26: [ 0- 2]: digital audio capture
27: [ 0- 3]: digital audio capture
33: : timer

localhost ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

localhost ~ # aplay -L
default:CARD=I82801DBICH4
Intel 82801DB-ICH4, Intel 82801DB-ICH4
Default Audio Device
front:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
Front speakers
surround40:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
4.0 Surround output to Front and Rear speakers
surround41:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
null
Discard all samples (playback) or generate zero samples (capture)

localhost ~ # amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 21 [68%] [-15.00dB] [on]
Front Right: Playback 21 [68%] [-15.00dB] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [-12.00dB] [on]
Front Right: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [-34.50dB] [on] Capture [off]
Front Right: Playback 0 [0%] [-34.50dB] [on] Capture [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [-34.50dB] [on] Capture [off]
Front Right: Playback 0 [0%] [-34.50dB] [on] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 25 [81%] [3.00dB] [on]
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Mic Select',0
Capabilities: enum
Items: 'Mic1' 'Mic2'
Item0: 'Mic1'
Simple mixer control 'Video',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-34.50dB] [on]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [-34.50dB] [on] Capture [off]
Front Right: Playback 0 [0%] [-34.50dB] [on] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities: enum
Items: 'Mix' 'Mic'
Item0: 'Mix'
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [0.00dB] [off]
Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Stereo Mic',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

На первый взгляд должно работать

Модули у тебя от alsa 1.0.17, модули из ядра?
Версии:
alsa-lib ?
alsa-utils ?

Посмотри наличие устройств и права
ls -l /dev/snd/

Владелец должен быть root и группа audio. Из под чьих прав нет звука?

Диагностику отсутствия звука и ошибку ты привел от madplay, можешь дать вывод от aplay при попытке проигрывания файла? Например mplay /usr/share/sounds/alsa/Noise.wav
Что происходит при запуске speaker-test - есть ли тестовый звук? Дополнительно укажи speaker-test параметры количество каналов? Какие ошибки при этом есть?

Пока рабочая версия, что проблема в madplay, который использует не верное устройство для вывода звука, он пишет про esd, а не про alsa. С какими ключами он собран?

модули из ядра alsa-lib

модули из ядра

alsa-lib 1.0.17a
alsa-utils 1.0.17

localhost ~ # ls -l /dev/snd/
total 0
crw-rw---- 1 root audio 116, 0 Apr 19 01:03 controlC0
crw-rw---- 1 root audio 116, 24 Apr 22 20:27 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Apr 22 20:27 pcmC0D0p
crw-rw---- 1 root audio 116, 25 Apr 19 01:03 pcmC0D1c
crw-rw---- 1 root audio 116, 26 Apr 19 01:03 pcmC0D2c
crw-rw---- 1 root audio 116, 27 Apr 19 01:03 pcmC0D3c
crw-rw---- 1 root audio 116, 20 Apr 19 01:03 pcmC0D4p
crw-rw---- 1 root audio 116, 1 Apr 18 21:03 seq
crw-rw---- 1 root audio 116, 33 Apr 19 01:03 timer

localhost ~ # aplay /usr/share/sounds/alsa/Noise.wav
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

при запуске speaker-test ничего не слышно, ошибок не выводит

media-sound/madplay-0.15.2b-r1 USE="alsa esd nls -debug"

Результат не утешительный

С технической точки зрения у тебя все в порядке и звук должен быть. Могу дальше только теоретизировать и дать совет куда копать. В общем случае - запусти speaker-test -c 6
и смотри, что он пишет. Он будет пытаться вывести на все каналы звук. По идее он будет перебирать каналы и пытаться вывесьти шум на колонки, в какой то момент он должен вывести звук на твои динамики. В другой консоли надо запусти alsamixer и разбирайся с выключателями каналов. У тебя какой то баг, возможно зависящий от идиотской мелочи

http://alsa.opensrc.org/FAQ004

On some platforms, particularly the IBM Thinkpad T40 series, the Headphone Jack and/or Line Jack inputs need to be muted in order to hear sound at all. The alsamixer app can do this for you by using the 'm' toggle to mute/unmute.

Больше чем уверен, что mute

Больше чем уверен, что mute стоит!

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".