Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No supported PnP or Pci card found.
Would you like to probe ISA sound cards/ chips?
YES
Quote:
Probing legacy ISA cards might make your system unstable.
YES
Quote:
(nothing writen)
OK
What I get in the terminal:
Quote:
azeroth:/home/spartan# alsaconf
modinfo: could not find module snd
modinfo: could not find module snd
modinfo: could not find module snd
Unloading ALSA sound driver modules: (none loaded).
Building card database...
modinfo: could not find module snd-opl3sa2
modinfo: could not find module snd-cs4236
modinfo: could not find module snd-cs4232
modinfo: could not find module snd-cs4231
modinfo: could not find module snd-es18xx
modinfo: could not find module snd-es1688
modinfo: could not find module snd-sb16
modinfo: could not find module snd-sb8
azeroth:/home/spartan#
and when trying to run alsamixer:
Quote:
alsamixer: function snd_ctl_open failed for default: No such file or directory
apt-get install alsa alsa-base alsa-utils alsa-oss alsa-mixer alsa-player(this last one helps resolve later problems with other programs). Then lsmod | grep snd. Something like snd_intel8x0 should be module for alsa to work.
Then alsaconf should find sound card and using alsa-mixer or kmix to adjust volumes should get you going. Good luck.
You discussed a problem very much like this several months ago here. At that time, you were using FreeBSD ... Now you have the same problem with Debian?
From the output here, it appears that no sound module has been inserted. On the other thread was a line I wondered about...
Quote:
I recompiled the kernel with the line "device sound"
Did you also compile this kernel?
try # depmod -a
then # lspci | grep snd
and post the lspci output.
@lestoil: can't find alsa-mixer and alsa-player packages.
No output for #lsmod | grep snd
@rickh: It seemed that my soundcard couldn't be detected by the version of FreeBSD I was using and I couldn't use my usbmodem so I simply uninstalled it. Then a got a modem with ethernet port and installed debian 2 week ago and now I hope my soundcard will be detected.
I compiled the kernel just for wifi and done nothing yet for sound.
No output for #lspci | grep snd
...and see if that makes any difference. Your sound card is not one that should be difficult for Debian (or Alsa) to recognize. I'm also still mystified about how you could have exactly the same symptoms on 2 different distros.
Im using the last Sarge. There is no /etc/modutils.conf. There is a directory /etc/modutils. Maybe were talking talking about /etc/modules.conf?
Quote:
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep
### update-modules: end processing /etc/modutils/0keep
### update-modules: start processing /etc/modutils/actions
# Special actions that are needed for some modules
# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner
### update-modules: end processing /etc/modutils/actions
### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use
# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off # Unix
# alias net-pf-2 off # IPv4
# alias net-pf-3 off # Amateur Radio AX.25
# alias net-pf-4 off # IPX
# alias net-pf-5 off # DDP / appletalk
# alias net-pf-6 off # Amateur Radio NET/ROM
# alias net-pf-9 off # X.25
# alias net-pf-10 off # IPv6
# alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off # Acorn Econet
alias net-pf-24 pppoe
alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
### update-modules: end processing /etc/modutils/aliases
### update-modules: end processing /etc/modutils/alsa-base
### update-modules: start processing /etc/modutils/apm
alias char-major-10-134 apm
alias /dev/apm_bios /dev/misc/apm_bios
alias /dev/misc/apm_bios apm
### update-modules: end processing /etc/modutils/apm
### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the ones that are compiled into the modutils tools
# themselves.
### update-modules: end processing /etc/modutils/paths
### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc
### update-modules: end processing /etc/modutils/arch/i386
The reason I asked about a modutils.conf file is that sometimes obsolete instructions for wireless cards tell you to build such a file. If you do, it's likely to screw things up.
Post the output of ... ls /etc/modprobe.d/
If there is an /etc/modprobe.d/sound file, post it's contents.
$ ls /lib/modules/(uname -r)/kernel/sound/pci/snd-intel8x0*
(I think you know what to replace (uname -r) with).
Assuming you come up with a couple modules there ...
Create a file named /etc/modprobe.d/sound with this:
Code:
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0
Reboot and see if a miracle occurred.
*************
If that fails, my advice is to reinstall using Debian 'testing' (etch) instead of 'stable' (sarge). Testing, is much more likely to include support for newer hardware. You may want to try getting another opinion about that, tho.
After the base installation, you get to select from groups of packages defined as a 'task'. Several tasks are offered. Select only the 'Desktop'. You can get other stuff later.
The installation will include kernel 2.6.12. I would go ahead and update to kernel 2.6.15.(whatever)
I remember at least with pre-2.6.13 kernel in Slackware we had to blacklist the very similar i810m module from hotplug before i810 sound card would work because hotplug would load the modem as sound card and not load the sound card. Newer 2.6 kernel are supposed to make that unnecessary. Similar thing could be done with Sarge hotplug and/or discover, I suppose. Good luck.
This is not the same problem. The one you decribe sometimes happened on Debian, too. But here the issue is that no sound module is being loaded at all.
If there was no snd-intel8x0 sound module there, building the modprobe.d entry wouldn't accomplish anything. That module comes with a stock kernel, but on yours it's not there.
What I think you should do, unless you're sure you know what you're doing, is leave the kernel alone. That's why I went thru the install process. Get sound, etc working with the Debian stock kernels ... then if you rebuild them and something stops working, you know why.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.