card detected, driver & modules loaded, but no sound?
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
card detected, driver & modules loaded, but no sound?
After installed alsa-lib and alsa-utils and some mutilmedia libs, my LFS still has no sound. But I think the card should have been detected:
# cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xffe38000 irq 169
But the lspci output is strange:
# lspci
...
00:1b.0 Class 0403: Intel Corp.: Unknown device 2668 (rev 04)
...
While my host system(Fedore Core 6) is:
# lspci
...
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
...
The ALSA driver was built in kernel at first. Then I recompiled the kernel without ALSA and compiled alsa-driver myself, but still takes no effect after alsamixer/aumix.
Later, I followed the instruction of: Intel ICH southbridge HD-audio and modem
on the ALSA's official website, and changed my /etc/modprobe.conf like this:
$ cat /etc/modprobe.conf
Code:
alias eth0 8139too
alias scsi_hostadapter ata_piix
alias scsi_hostadapter1 ahci
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
But still no sound!
I have installed:
alsa-lib-1.0.9
alsa-utils-1.0.9
alsa-plugins-1.0.9
alsa-oss-1.0.9
and all modules have been loaded include the oss's modules, and /dev/dsp, /dev/mixer is there.
The only time I hear any sound is when I recompiled the kernel without ALSA and reboot to compile alsa-driver, when no snd modules were loaded, I heard the "du du" of the buzzer.
Could you submit the output from "lspci -s 0:1b -vn", "cat /proc/asound/version" and "cat /proc/asound/card0/codec*"? These three pieces are the main data needed for alsa debugging to start. Also, some basic system info would really help (system make/model).
PCGhost: Your problem is different (and more involved). Acpi isn't something I'm working on or familiar with. But if you could add some info to http://bugzilla.kernel.org/show_bug.cgi?id=7515, maybe the kernel developers can get it fixed soon. Also, you have a completely different sound system.
Choroc: What is your system make/model? Also, you need to compile the kernel with the sound modules. You can overwrite them with newer modules later, but there are hooks that need to be compiled into the kernel for new modules to load.
tar -jxvf alsa-driver-1.0.14rc1.tar.bz2
cd alsa-driver-1.0.14rc1
./configure --with-cards=hda-intel --with-debug=detect
make
su # become root if you are not already
make install
modprobe -r snd-hda-intel
rmmod snd-page-alloc
dmesg -c >/dev/null
modprobe snd-hda-intel
dmesg >dmesg.out # I need this output
From here, you can try different model types as listed in alsa-driver-1.0.14rc1/alsa-kernel/Documentation/ALSA-Configuration.txt for the ALC880.
If you find one that works well with your system, I can easily add your system to the driver. If not, we'll need to go custom. Either way, I'll need to know what system you are running on (manufacturer and model, i.e. Toshiba P100).
Athough I'm not very sure about your meaning of 'system make/model', but I guess that it is the instruction in alsa-kernel/Documentation/ALSA-Configuration.txt:
Code:
Model name Description
---------- -----------
ALC880
3stack 3-jack in back and a headphone out
3stack-digout 3-jack in back, a HP out and a SPDIF out
5stack 5-jack in back, 2-jack in front
5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
6stack 6-jack in back, 2-jack in front
6stack-digout 6-jack with a SPDIF out
w810 3-jack
z71v 3-jack (HP shared SPDIF)
asus 3-jack (ASUS Mobo)
asus-w1v ASUS W1V
asus-dig ASUS with SPDIF out
asus-dig2 ASUS with SPDIF out (using GPIO2)
uniwill 3-jack
F1734 2-jack
lg LG laptop (m1 express dual)
lg-lw LG LW20/LW25 laptop
tcl TCL S700
clevo Clevo laptops (m520G, m665n)
test for testing/debugging purpose, almost all controls can be
adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
auto auto-config reading BIOS (default)
This is what I ment by make/model. What brand of computer? (i.e. HP, Toshiba, Asus, etc).
The information you've sent so far helps. I'll start looking into this immediately. Hopefully, I can get it into alsa 1.0.14 final.
If you could, tarball up all the output you have todate and send it to me. gruemaster <AT> gmail.com. That way I can easily read it on my own without having to scroll around. I'll also have your email so I can send you patches to test.
Got sound yet? my problem with no sound was because permission in /dev/snd* was owned by "root", and "other" dont have acses -rwx. Try log as "root" and test your sound, if work, thats mean u have same problem with mine. Also make sure is not muted by software.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.