Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285883 - media-libs/alsa-lib ? - Sound does not work on Compaq Evo D510
Summary: media-libs/alsa-lib ? - Sound does not work on Compaq Evo D510
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo ALSA team
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 01:44 UTC by ta2002
Modified: 2014-06-23 21:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
lspci -v (lspci,4.10 KB, text/plain)
2009-09-22 17:36 UTC, ta2002
Details
.config (.config,44.91 KB, text/plain)
2009-09-22 17:37 UTC, ta2002
Details
dmesg (dmesg,27.23 KB, text/plain)
2009-09-22 17:37 UTC, ta2002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2009-09-22 01:44:28 UTC
I have struggled with this for almost two years now, and have finally concluded that this is a Gentoo problem.

Lots of extra details in the forum post, but the basics:

1. This is NOT due to forgetting to unmute the mixer on not having myself in the audio group.

2. This happens on only one machine - a Compaq Evo D510 (USDT) - two of them, actually. I have put Gentoo on several other machines, and never seen this problem before.

3. There is no sound even booting from the Gentoo CD.

4. The sound works perfectly when I boot from live CDs of other distributions.

5. I get no error message when attempting to produce a sound at the console (but no sound either).

6. KDE3 shows no error message, but KDE4 does produce something like "The audio device Intel 82801DB-ICH4 with AD1981A is not working. Falling back to default."

7. I have tried the kernel alsa driver (both compiled in and as modules), and the separate alsa-driver. The device does get recognized (if compiled in) or the modules do get loaded (if not).

8. I have tried every kernel from 2.6.25 to 2.6.30.

Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 21 Sep 2009 04:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="distlocks fixpackages protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j2"
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 a52 aac aalib acpi alsa ass audiofile berkdb bzip2 cairo caps cdio cdr cjk cracklib crypt css cups dbus dga directfb dri dvd dvdnav dvdread encode exif expat fam fbcon ffmpeg flac gcj ggi gif glibc-omitfp gmp gphoto2 gpm gstreamer hal handbook hardcoded-tables iconv idea imagemagick imap imlib ipv6 jabber javascript jbig joystick jpeg kde lcms libcaca libnotify libwww live mad matroska mbox memlimit midi mmx mmxext mng mp3 mp4 mpeg mudflap mysql nas ncurses network nls no-old-linux nodrm nptl nptlonly ogg opengl openmp oscar osdmenu pcre pdf perl png qt3support quicktime readline rtc scanner sdl sensord shm silc smtp sndfile speex spell sse sse2 ssl svg sysfs tcpd theora threads threadsafe thunar tiff timidity tremor truetype unicode usb userlocales utf8 vcd vorbis x86 xinerama xml xorg xulrunner xv xvid yahoo zlib zrtp" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTDIR_OVERLAY, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-22 14:25:22 UTC
Please reopen this bug report when you have provided information such as the lspci and other device related output for the sound device, and perhaps the kernel .config, dmesg output and anything else that can help us to see what is specifically going wrong. Don't forget to update the Summary of this bug report - it's way too generic right now.
Comment 2 ta2002 2009-09-22 17:36:47 UTC
Created attachment 204942 [details]
lspci -v
Comment 3 ta2002 2009-09-22 17:37:33 UTC
Created attachment 204944 [details]
.config
Comment 4 ta2002 2009-09-22 17:37:58 UTC
Created attachment 204946 [details]
dmesg
Comment 5 ta2002 2009-09-22 17:46:03 UTC
(In reply to comment #1)
> Please reopen this bug report when you have provided information such as the
> lspci and other device related output for the sound device, and perhaps the
> kernel .config, dmesg output and anything else that can help us to see what is
> specifically going wrong. Don't forget to update the Summary of this bug
> report - it's way too generic right now.

Some additional information (from the forum thread):

$ lsmod
Module                  Size  Used by
snd_pcm_oss            36744  0
snd_mixer_oss          12324  1 snd_pcm_oss
snd_seq_dummy           2356  0
snd_seq_oss            25200  0
snd_seq_midi_event      5052  1 snd_seq_oss
snd_seq                42056  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5720  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_intel8x0           26484  0
snd_ac97_codec         88980  1 snd_intel8x0
ac97_bus                1292  1 snd_ac97_codec
snd_pcm                58100  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              15852  2 snd_seq,snd_pcm
snd                    43976  10 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               4748  1 snd
snd_page_alloc          7076  2 snd_intel8x0,snd_pcm

$ ls -al /proc/asound/ 
total 0 
dr-xr-xr-x  5 root root 0 2009-09-06 00:54:36 ./ 
dr-xr-xr-x 96 root root 0 2009-09-04 12:31:33 ../ 
lrwxrwxrwx  1 root root 5 2009-09-06 00:54:36 I82801DBICH4 -> card0/ 
dr-xr-xr-x  3 root root 0 2009-09-06 00:54:36 card0/ 
-r--r--r--  1 root root 0 2009-09-06 00:54:36 cards 
-r--r--r--  1 root root 0 2009-09-06 00:54:36 devices 
-r--r--r--  1 root root 0 2009-09-06 00:54:36 modules 
dr-xr-xr-x  2 root root 0 2009-09-06 00:54:36 oss/ 
-r--r--r--  1 root root 0 2009-09-06 00:54:36 pcm 
dr-xr-xr-x  2 root root 0 2009-09-06 00:54:36 seq/ 
-r--r--r--  1 root root 0 2009-09-06 00:54:36 timers 
-r--r--r--  1 root root 0 2009-09-06 00:54:36 version 

$ dog /proc/asound/cards 
 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4 
                      Intel 82801DB-ICH4 with AD1981A at irq 17 

$ dog /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 

$ dog /proc/asound/pcm 
00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1 
00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1 
00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1 
00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1 
00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1 

$ dog /proc/asound/timers 
G0: system timer : 3333.333us (10000000 ticks) 
P0-0-0: PCM playback 0-0-0 : SLAVE 
  Client application 25272 : running 
  Client application 15668 : running 
P0-0-1: PCM capture 0-0-1 : SLAVE 
P0-1-1: PCM capture 0-1-1 : SLAVE 
P0-2-1: PCM capture 0-2-1 : SLAVE 
P0-3-1: PCM capture 0-3-1 : SLAVE 
P0-4-0: PCM playback 0-4-0 : SLAVE 

$ dog /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.20. 

$ ls -al /proc/asound/card0/ 
total 0 
dr-xr-xr-x 3 root root 0 2009-09-06 00:55:16 ./ 
dr-xr-xr-x 5 root root 0 2009-09-06 00:55:16 ../ 
dr-xr-xr-x 2 root root 0 2009-09-06 00:55:16 codec97#0/ 
-r--r--r-- 1 root root 0 2009-09-06 00:55:16 id 
-r--r--r-- 1 root root 0 2009-09-06 00:55:16 intel8x0 
-rw-r--r-- 1 root root 0 2009-09-06 00:55:16 oss_mixer 

$ dog /proc/asound/card0/id 
I82801DBICH4 

$ dog /proc/asound/card0/intel8x0 
Intel8x0 

Global control        : 0xc0400002 
Global status         : 0x00700100 
SDM                   : 0x00000008 
AC'97 codecs ready    : primary 
AC'97 codecs SDIN     : 0 0 0 

$ dog /proc/asound/card0/oss_mixer 
VOLUME "Master" 0 
BASS "" 0 
TREBLE "" 0 
SYNTH "" 0 
PCM "PCM" 0 
SPEAKER "" 0 
LINE "Line" 0 
MIC "Mic" 0 
CD "CD" 0 
IMIX "" 0 
ALTPCM "Headphone" 0 
RECLEV "" 0 
IGAIN "Capture" 0 
OGAIN "" 0 
LINE1 "Aux" 0 
LINE2 "" 0 
LINE3 "" 0 
DIGITAL1 "" 0 
DIGITAL2 "" 0 
DIGITAL3 "" 0 
PHONEIN "Phone" 0 
PHONEOUT "Master Mono" 0 
VIDEO "Video" 0 
RADIO "" 0 
MONITOR "" 0 

$ ls -al /proc/asound/card0/codec97#0/ 
total 0 
dr-xr-xr-x 2 root root 0 2009-09-06 00:55:40 ./ 
dr-xr-xr-x 3 root root 0 2009-09-06 00:55:40 ../ 
-r--r--r-- 1 root root 0 2009-09-06 00:55:40 ac97#0-0 
-r--r--r-- 1 root root 0 2009-09-06 00:55:40 ac97#0-0+regs 

$ dog /proc/asound/card0/codec97#0/ac97#0-0 
0-0/0: Analog Devices AD1981A 

PCI Subsys Vendor: 0x0e11 
PCI Subsys Device: 0x00ba 

Flags: 10 
Capabilities     : -headphone out- 
DAC resolution   : 20-bit 
ADC resolution   : 16-bit 
3D enhancement   : No 3D Stereo Enhancement 

Current setup 
Mic gain         : +20dB [+20dB] 
POP path         : pre 3D 
Sim. stereo      : off 
3D enhancement   : off 
Loudness         : off 
Mono output      : MIX 
Mic select       : Mic1 
ADC/DAC loopback : off 
Extended ID      : codec=0 rev=1 AMAP DSA=0 VRA 
Extended status  : VRA 
PCM front DAC    : 48000Hz 
PCM ADC          : 48000Hz 



AD18XX configuration 
Unchained        : 0x1000,0x0000,0x0000 
Chained          : 0x0000,0x0000,0x0000 

$ dog /proc/asound/card0/codec97#0/ac97#0-0+regs 
0:00 = 0090 
0:02 = 0707 
0:04 = 0707 
0:06 = 0007 
0:08 = 0000 
0:0a = 0000 
0:0c = 0007 
0:0e = 0047 
0:10 = 0707 
0:12 = 0707 
0:14 = 0000 
0:16 = 0707 
0:18 = 0707 
0:1a = 0000 
0:1c = 0b0b 
0:1e = 0000 
0:20 = 0000 
0:22 = 0000 
0:24 = 0000 
0:26 = 000f 
0:28 = 0601 
0:2a = 0031 
0:2c = bb80 
0:2e = 0000 
0:30 = 0000 
0:32 = bb80 
0:34 = 0000 
0:36 = 0000 
0:38 = 0000 
0:3a = 2000 
0:3c = 0000 
0:3e = 0000 
0:40 = 0000 
0:42 = 0000 
0:44 = 0000 
0:46 = 0000 
0:48 = 0000 
0:4a = 0000 
0:4c = 0000 
0:4e = 0000 
0:50 = 0000 
0:52 = 0000 
0:54 = 0000 
0:56 = 0000 
0:58 = 0000 
0:5a = 0000 
0:5c = 0000 
0:5e = 0000 
0:60 = 8080 
0:62 = 0000 
0:64 = 8000 
0:66 = 0000 
0:68 = 0000 
0:6a = 0000 
0:6c = 0000 
0:6e = 0000 
0:70 = 0000 
0:72 = 1800 
0:74 = 1001 
0:76 = 2010 
0:78 = 0000 
0:7a = 0000 
0:7c = 4144 
0:7e = 5372 

$ ls -al /proc/asound/oss/ 
total 0 
dr-xr-xr-x 2 root root 0 2009-09-06 00:56:01 ./ 
dr-xr-xr-x 5 root root 0 2009-09-06 00:56:01 ../ 
-r--r--r-- 1 root root 0 2009-09-06 00:56:01 devices 
-r--r--r-- 1 root root 0 2009-09-06 00:56:01 sndstat 

$ dog /proc/asound/oss/devices 
  0: [0- 0]: mixer 
  1:       : sequencer 
  3: [0- 0]: digital audio 
  4: [0- 0]: digital audio 
  8:       : sequencer 
 12: [0- 1]: digital audio 

$ dog /proc/asound/oss/sndstat 
Sound Driver:3.8.1a-980706 (ALSA v1.0.20 emulation code) 
Kernel: Linux system 2.6.30-gentoo-r4 #3 Fri Aug 28 15:31:56 UTC 2009 i686 
Config options: 0 

Installed drivers: 
Type 10: ALSA emulation 

Card config: 
Intel 82801DB-ICH4 with AD1981A at irq 17 

Audio devices: 
0: Intel 82801DB-ICH4 (DUPLEX) 

Synth devices: NOT ENABLED IN CONFIG 

Midi devices: NOT ENABLED IN CONFIG 

Timers: 
7: system timer 

Mixers: 
0: Analog Devices AD1981A 

$ ls -al /proc/asound/seq/ 
total 0 
dr-xr-xr-x 2 root root 0 2009-09-06 00:56:39 ./ 
dr-xr-xr-x 5 root root 0 2009-09-06 00:56:39 ../ 
-r--r--r-- 1 root root 0 2009-09-06 00:56:39 clients 
-r--r--r-- 1 root root 0 2009-09-06 00:56:39 drivers 
-r--r--r-- 1 root root 0 2009-09-06 00:56:39 oss 
-r--r--r-- 1 root root 0 2009-09-06 00:56:39 queues 
-r--r--r-- 1 root root 0 2009-09-06 00:56:39 timer 

$ dog /proc/asound/seq/clients 
Client info 
  cur  clients : 2 
  peak clients : 4 
  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 

$ dog /proc/asound/seq/drivers 
snd-seq-oss,loaded,0 

$ dog /proc/asound/seq/oss 
OSS sequencer emulation version 0.1.8 
ALSA client number 15 
ALSA receiver port 0 

Number of applications: 0 

Number of synth devices: 0 

Number of MIDI devices: 0 

$ dog /proc/asound/seq/queues 

$ dog /proc/asound/seq/timer
Comment 6 Sebastian Luther (few) 2009-10-29 08:19:08 UTC
Assigning to sound, maybe they have an idea.
Comment 7 rusivi 2010-09-14 15:57:23 UTC
Downstream views this bug as inactive/invalid.  Is this still active?
Comment 8 ta2002 2010-09-15 12:46:17 UTC
No change here. Still unable to get sound working at all (only on this machine).
Comment 9 Pacho Ramos gentoo-dev 2014-05-18 09:35:03 UTC
What is the status of this with an updated system and a newer kernel?
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2014-06-23 21:36:47 UTC
(In reply to Pacho Ramos from comment #9)
> What is the status of this with an updated system and a newer kernel?

Last comment from reporter 2010, time to close this one.