Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141504 - no alsa error but no sound
Summary: no alsa error but no sound
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-23 09:07 UTC by Roland Everaert
Modified: 2006-07-24 11:27 UTC (History)
1 user (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 Roland Everaert 2006-07-23 09:07:13 UTC
Since 3 or more weeks, I have no more sound, there is no error in dmesg after boot of the system, all the modules for my 2 sound cards seems to be there.

The problem appears since the last update of the portage package,even if I don't think it is the source of the problem. My version of the portage package is 2.1-r1.

Alsa is compiled via alsa-driver.

The version of the kernel source is gentoo-sources-2.6.16-r13 and alsa-driver is  alsa-driver-1.0.11.


The only strange thing that i have seen is that the file /proc/asound/card0/oss_mixer contains the following:

VOLUME "Master" 0
BASS "" 0
TREBLE "" 0
SYNTH "Synth" 0
PCM "PCM" 0
SPEAKER "PC Speaker" 0
LINE "Line" 0
MIC "Mic" 0
CD "CD" 0
IMIX "" 0
ALTPCM "" 0
RECLEV "" 0
IGAIN "" 0
OGAIN "" 0
LINE1 "Aux" 0
LINE2 "" 0
LINE3 "" 0
DIGITAL1 "" 0
DIGITAL2 "" 0
DIGITAL3 "" 0
PHONEIN "Phone" 0
PHONEOUT "Phone" 0
VIDEO "" 0
RADIO "" 0
MONITOR "" 0


And it is the same for card1.

I have tried to modify /proc/asound/card0/oss_mixer with emacs, but the editor complains because the file was modified when I try to actually modify it or save my modification.


I have search on the forum and even post in it (http://forums.gentoo.org/viewtopic.php?p=3441521#3441521, my nickname is RealNoob), but without any luck.
Comment 1 Roland Everaert 2006-07-23 09:09:14 UTC
emerge --info result is

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="be_BY fr en en_GB en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X acl alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dlloader dri dvd eds elibc_glibc emacs emacs-w3 emboss encode esd evo exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran freetype gd gdbm gif gimp glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml icq idn imagemagick imlib ipv6 isdnlog jabber java joystick jpeg junit kernel_linux lcms libg++ libwww mad mdb mhash mikmod mime mmx mng motif mozilla mp3 mpeg msn mysql nas ncurses nls nptl nvidia ogg openal opengl oss pam pcre pdf pdflib perl php png pppd python quicktime readline recode reflection sdl session slang speex spell spl sse ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vorbis win32codecs wmf x86 xine xml xml2 xmms xorg xv xvid yahoo zlib input_devices_keyboard input_devices_mouse input_devices_evdev linguas_be_BY linguas_fr linguas_en linguas_en_GB linguas_en_US video_cards_fbdev video_cards_nvidia video_cards_vesa video_cards_vga"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 09:09:29 UTC
(In reply to comment #0)
> I have tried to modify /proc/asound/card0/oss_mixer with emacs, but the editor
> complains because the file was modified when I try to actually modify it or
> save my modification.

With emacs??? Run alsamixer, your cards are muted.
Comment 3 Roland Everaert 2006-07-24 11:00:46 UTC
Sorry, my fault, I have forgot to precise that alsamixer reports that all channels are unmuted for the 2 sound cards.

What was my comment is that after checking that everything was unmuted, I have tried to modify this file (/proc/asound/card0/oss_mixer) manually to check if that make any difference before continuing my investigations. But, as said earlier, without any luck.


To give you even more details that I should have joined with the initial comments, my two sound cards are:

- Soundblaster 64 PCI, its module is snd-ens1371 and alsamixer show the chip as TriTech TR28602.

- C-Media PCI CMI8738-MC6, its module is snd-cmipci and alsamixer show the chip as CMEDIA PCI.

Hope this time I have forgot no information :(.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-24 11:27:45 UTC
Please, read the following howto, Gentoo bugzilla is really not a support forum. If you need support, use forums.gentoo.org or #gentoo on IRC.

http://www.gentoo.org/doc/en/alsa-guide.xml

rm -f /etc/asound.state, run alsamixer, set up volume for your cards, run /etc/init.d/alsasound save. For starters, I'd suggest to disable the other card and use just one, can play with that once the first one works.