Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I have no sound card? [SOLVED?]
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
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Thu Apr 26, 2007 2:32 pm    Post subject: I have no sound card? [SOLVED?] Reply with quote

I updated alsa the other day and my init is all messed up now. It loads modules but then it says it didn't load the necessary ones. I started looking around and it is because of this:
Code:
$ cat /proc/asound/cards
--- no soundcards ---

The thing is I can use my sound fine. The problem is that I can't store and restore my volume because as far as alsactl is concerned I have no sound card. I am not really sure what to do. I am using the alsa-driver.
Code:
# lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
06:01.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
06:08.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 02)

Code:
# emerge --info
Portage 2.1.2.4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r6 i686)
=================================================================
System uname: 2.6.20-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 24 Apr 2007 09:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LINGUAS="en en_US"
MAKEOPTS="-j4"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://ibm/gentoo-portage/"
USE="X aac aalib acpi admin aiglx alsa apache2 arts asf bash-compilation bash-completion berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt ctype cups daap dbus dri dvd dvdr dvix eds emboss encode esd fam fortran gdbm gif glitz gmedia gpm gstreamer hal iconv ipod ipv6 irc isdnlog java java5 jpeg kde ldap libg++ logrotate mad madwifi midi mikmod mjpeg mmx mp3 mpeg mplayer musicbrainz mysql ncurses nls noemerald nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline real realmedia reflection samba sdl session spell spl sse sse2 ssl svg symlink tcpd threads tiff transparency truetype truetype-fonts type1-fonts unicode usb v41 v412 vorbis wifi win32codecs wmp x86 xcomposite xml xorg xv xvid yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Anything else?


Last edited by Duck Man on Fri Apr 27, 2007 7:42 am; edited 1 time in total
Back to top
View user's profile Send private message
ttuegel
Apprentice
Apprentice


Joined: 18 Jan 2005
Posts: 176
Location: Illinois, USA

PostPosted: Thu Apr 26, 2007 6:45 pm    Post subject: Reply with quote

Could you also post your lsmod output and the contents of /etc/conf.d/alsasound?
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Thu Apr 26, 2007 10:07 pm    Post subject: Reply with quote

Good idea.
Code:
# lsmod
Module                  Size  Used by
snd_pcm_oss            38816  0
snd_mixer_oss          17536  1 snd_pcm_oss
snd_seq_oss            32128  0
snd_seq_device          9736  1 snd_seq_oss
snd_seq_midi_event      9728  1 snd_seq_oss
snd_seq                45232  4 snd_seq_oss,snd_seq_midi_event
ipw2200               134216  0
ieee80211              30536  1 ipw2200
ieee80211_crypt         8576  1 ieee80211
snd_intel8x0           30748  0
snd_ac97_codec         92580  1 snd_intel8x0
ac97_bus                6144  1 snd_ac97_codec
snd_pcm                64644  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              20228  2 snd_seq,snd_pcm
snd                    43748  9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq_device,snd_seq,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc         11144  2 snd_intel8x0,snd_pcm

Code:
# cat /etc/conf.d/alsasound
# ENABLE_OSS_EMUL:
# Do you want to enable in-kernel oss emulation?
# no - Do not load oss emul drivers
# yes - Load oss emul drivers if they're found

ENABLE_OSS_EMUL="yes"

# RESTORE_ON_START:
# Do you want to restore your mixer settings?  If not, your cards will be
# muted.
# no - Do not restore state
# yes - Restore state

RESTORE_ON_START="yes"

# SAVE_ON_STOP:
# Do you want to save changes made to your mixer volumes when alsasound
# stops?
# no - Do not save state
# yes - Save state

SAVE_ON_STOP="yes"
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Fri Apr 27, 2007 7:42 am    Post subject: Reply with quote

Ok so I wouldn't call this a fix but I have i working now. I switched from alsa-driver to the builtin kernel ones. And it works. Not sure why...
Back to top
View user's profile Send private message
misho
Apprentice
Apprentice


Joined: 15 Apr 2004
Posts: 189

PostPosted: Sat Apr 28, 2007 10:28 pm    Post subject: Reply with quote

I recall having unexplained problems with alsa-driver and then I just stopped using it, deciding that I don't necessarily need the newest sound drivers, so you aren't alone in this. I have yet to have any problems with in-kernel drivers, so you might consider it as a permanent solution (depending on your needs, I guess).
_________________
"Pssht. Extreme sports. If you want a real adrenaline rush, go write a physics exam without a calculator." - D.Z.
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