Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86459 - 2.6.11's SiS onboard alsa drivers produce no audio
Summary: 2.6.11's SiS onboard alsa drivers produce no audio
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 20:09 UTC by Kenny Bentley
Modified: 2005-05-03 11:43 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenny Bentley 2005-03-23 20:09:34 UTC
Subject:  ALSA configures okay, but I still get no sound.

I am not getting any sound from ALSA.  The modules load okay, and I used a mixer to unmute the channels and turn them up without any problems.  But I am still getting no sound.  I am currently using the modules included in the 2.6.10-gentoo-r6 kernel, but have also tried the ones from 2.6.11-gentoo-r4 and alsa-driver 1.0.8.  Additionally, the ones from 2.6.11 and alsa-driver do not have a master channel.  I can go into alsamixer and unmute it, but can't change the volume.  On the 2.6.10 ALSA drivers, the channels that should be there are there, but even when they're unmuted and turned up, I still hear no sound.

I have an on-board sound adapter, which is an SiS SI7012 and has a C-Media CMI19761 chipset.  I am also using udev, and here are the device files udev creates.

ls -la /dev/snd
total 0
drwxr-xr-x   2 root  root        0 Mar 23 16:31 .
drwxr-xr-x  24 root  root        0 Mar 23 17:31 ..
crw-------   1 kenny audio 116,  0 Mar 23 17:31 controlC0
crw-------   1 kenny audio 116, 32 Mar 18 09:39 controlC1
crw-------   1 kenny audio 116,  8 Mar 18 09:39 midiC0D0
crw-------   1 kenny audio 116,  9 Mar 18 09:39 midiC0D1
crw-------   1 kenny audio 116, 10 Mar 18 09:39 midiC0D2
crw-------   1 kenny audio 116, 11 Mar 18 09:39 midiC0D3
crw-------   1 kenny audio 116, 24 Mar 23 17:31 pcmC0D0c
crw-------   1 kenny audio 116, 16 Mar 23 17:31 pcmC0D0p
crw-------   1 kenny audio 116, 25 Mar 23 17:31 pcmC0D1c
crw-------   1 kenny audio 116, 56 Mar 18 09:39 pcmC1D0c
crw-------   1 kenny audio 116, 48 Mar 18 09:39 pcmC1D0p
crw-------   1 kenny audio 116, 57 Mar 18 09:39 pcmC1D1c
crw-------   1 kenny audio 116,  1 Mar 23 17:31 seq
crw-------   1 kenny audio 116, 33 Mar 23 17:31 timer

I have no mixer problems (other than having no master channel on kernel 2.6.11 and alsa-driver 1.0.8), and the alsaconf utility even picks it up and says to use the snd-intel8x0 module.  (I've also tried snd-cmipci with no success.)  But I'm just not getting sound.  Is my sound adapter just not supported, or could there be something else wrong?  Why would ALSA be detecting my sound card and the mixer be working okay, but I still don't hear any sound?

Also, I saw other bugs in which users downgraded to alsa-driver 0.9.2 and the problem was fixed, but 0.9.2 is no longer in the portage tree.  Is there still a way I can get it (maybe someone still has an ebuild on hand or something), or what other options do I have (other than converting to OSS, which does work okay, or getting a new sound card)?

Thanks.


Reproducible: Always
Steps to Reproduce:
1. Install a 2.6 kernel and configure it with ALSA as modules, or get alsa-driver 1.0.8.  Build the kernel if you downloade it.
2. Get alsa-utils and alsa-tools.
3. Run alsaconf, and see that it detects an SiS sound adapter and suggests the intel8x0 module.  Either let it modify /etc/modules.d/alsa or (preferably) modify it yourself accordingly.
4. Run alsamixer and unmute and turn up the master channel or other channels.  If you're using 2.6.11 or alsa-driver, you'll see that the master channel and some others can't be turned up.
5. Add alsasound script to boot runlevel (rc-update add alsasound boot).
6. Reboot, run the alsasound script mentioned above with the stop argument and rerunit with start argument, or use alsactl store to save mixer settings.

Actual Results:  
ALSA configures okay, and the mixer channels are unmuted, and it even detects my
sound card and selects the appropriate module, but I hear no sound.

Expected Results:  
DUH!!! :)  Same as above, but I should hear sound.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Sempron(tm) 2200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 26 2005, 22:06:37)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -pipe -fomit-frame-pointer -mmmx
-msse -m3dnow -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -pipe -fomit-frame-pointer -mmmx
-msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib accessibility acpi aim alsa arts audiofile avi
bash-completion berkdb bitmap-fonts bmp bzlibcdparanoia cdr crypt cups curl dga
directfb divx4linux doc dv dvd dvdr dvdread emboss encode esd examples exif
expat fam fbcon ffmpeg flac flash font-server foomaticdb fortran freetype ftp
gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile iconv icq imagemagick
imlib ipv6 jack java javascript joystick jpeg kde ladcca libcaca libg++ libwww
mad mbox mikmod mime ming mmx mng motif mozilla mp3 mpeg ncurses nls ofx ogg
oggvorbis openal opengl oscar oss pam pdflib perl php png portaudio posix
profile python qt quicktime readline scanner sdl slang sndfile sockets sox spell
sse ssl svg svga sysvipc tcltk tcpd tetex theora threads tiff truetype
truetype-fonts type1-fonts unicode usb vcd videos wxwindows xine xml2 xmlrpc
xmms xosd xpm xprint xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Dietrich Moerman 2005-04-01 04:33:01 UTC
I have this problem too. Everything worked fine with gentoo-(dev-)sources-2.6.9 and older until I upgraded to gentoo-sources-2.6.11-r3.
Comment 2 Justin Koser 2005-04-17 12:46:04 UTC
I experienced this with 2.6.11-r6, but reverting to kernel 2.6.10-r6 worked for me.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-21 02:30:06 UTC
Can you please try reproducing this with any media-sound/alsa-driver release.  If it's a problem with 1.0.9_rc2, then please report this upstream as I lack the hardware to reproduce this myself.

http://bugtrack.alsa-project.org
Comment 4 Dietrich Moerman 2005-05-03 11:23:25 UTC
I now compiled kernel linux-2.6.11-gentoo-r7 without ALSA built-in, rebooted with the new kernel, emerged alsa-driver 1.0.9_rc2, rebooted again and everything worked (after unmuting some channels with alsamixer). Note snd_intel8x0 is listed to load as a kernel module or it would probably not have worked.

Seems like this is a problem with the ALSA version (1.0.8) in the kernel. Fixed for my part.
Comment 5 Justin Koser 2005-05-03 11:43:09 UTC
Thanks for the update, PC_Freak!