Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 04-16-2007, 05:41 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
Trouble getting sound to work Fedora 6, Acer5570Z,Realtek, Intel, alsa-driver

Hi All,

I assumed that sound was working because on the initial install it was test and functioned. Apparently that wasn't a valid test. Here is what I know so far:

lsmod | grep snd

snd_hda_intel 24153 3
snd_hda_codec 156353 1 snd_hda_intel
snd_seq_dummy 7877 0
snd_seq_oss 33601 0
snd_seq_midi_event 11201 1 snd_seq_oss
snd_seq 51249 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 11853 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 43745 0
snd_mixer_oss 19393 3 snd_pcm_oss
snd_pcm 75205 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 25157 2 snd_seq,snd_pcm
snd 53829 11 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd _timer
soundcore 11681 3 snd
snd_page_alloc 13769 2 snd_hda_intel,snd_pcm

I've read a few posting and they mentioned that muting might be on, this is not the case. The next postings indicated that I should get the latest alsa-driver etc. After the configure the make failed. See below: (the bottom half of the compile). Am I on the right track?

Thanks for the helpin advance!!!

make[3]: Leaving directory `/home/andy/alsa-driver-1.0.14rc3/pcmcia/vx'
make[2]: Leaving directory `/home/andy/alsa-driver-1.0.14rc3/pcmcia'
make[1]: Leaving directory `/home/andy/alsa-driver-1.0.14rc3'
make -C /lib/modules/2.6.20-1.2944.fc6/source SUBDIRS=/home/andy/alsa-driver-1.0.14rc3 O=/lib/modules/2.6.20-1.2944.fc6/build CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2944.fc6-i586'
CC [M] /home/andy/alsa-driver-1.0.14rc3/acore/rtctimer.o
In file included from /home/andy/alsa-driver-1.0.14rc3/acore/rtctimer.c:1:
/home/andy/alsa-driver-1.0.14rc3/acore/../alsa-kernel/core/rtctimer.c: In function ‘rtctimer_init’:
/home/andy/alsa-driver-1.0.14rc3/acore/../alsa-kernel/core/rtctimer.c:133: error: implicit declaration of function ‘is_power_of_2’
make[4]: *** [/home/andy/alsa-driver-1.0.14rc3/acore/rtctimer.o] Error 1
make[3]: *** [/home/andy/alsa-driver-1.0.14rc3/acore] Error 2
make[2]: *** [_module_/home/andy/alsa-driver-1.0.14rc3] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2944.fc6-i586'
make: *** [compile] Error 2
Old 04-16-2007, 11:37 PM   #2
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
I don't know much about your hardware, and it looks like your modules are installed. One thing that I completely overlooked when installing my sound hardware, is the mixer option "external amplifier". Until I disabled that, I couldn't get sound out no matter what, and I was getting a little worried about the hardware.

The other thing is arts. I don't know if fedora 6 implements arts, but you might need to add your user account to the group "audio" and restart arts.

At least try these before you change your alsa drivers.

Old 04-17-2007, 10:55 PM   #3
LQ Newbie
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Getting closer to the actual problem. See below

Hi All,

Thanks for the help. It didn't work, but was worth the try.

UPDATE: On the volume control applet on the tool bar there is a red x on the speaker. When I double click on it I get: No volume control GStreamer plugins and/or devices found. I have gstreamer plugins loaded.

rpm -qa | grep gstream

I believe I screwed up my initial install of the sound driver (when I originally installed Fedora 6.)

When I run system-config-soundcard and test for the card I get:

"Automatic detection of the sound card did not work. This audio device will not be available on the system.

You can create /root/scsconfig.log, /root/scsrun.log on the System tab and file a new bug

Please click OK to continue."

Is there a way detect the soundcard like the initial install did. I believe I was closer to getting sounds working then because all the software tools acknowledged the presence of a soundcard just no sound. Now the software tools don't know about the soundcard.

I ran the soundcard logging tool and here is a small clip that shows there might be a problem.

------- /etc/asound.conf --------
#Generated by system-config-soundcard, do not edit by hand
#DEV 0
defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0

------- aplay -l --------
aplay: device_list:218: no soundcards found...

------- amixer --------

------- /proc/asound/version --------

------- rpm -q alsa-lib --------

------- rpm -q alsa-utils --------

------- /proc/asound/modules --------

------- /proc/asound/pcm --------

The card listed in the soundcard detection utility is:

Intel 82801G ICH7 Family High Definition Audio Controller

Hopefully someone can piece this togather for me. I might be alright if I can get the latest alsa stuff to compile, but I don't know C well enough to know what's going on. See above.

Thanks again!
Old 04-18-2007, 01:16 AM   #4
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Hi, looks like I'll need to know a bit more about your setup.

Specifically what sound card are you trying to install? What you have and what the computer detects may be two different things.

I am assuming this is a laptop, right?

I see you are running kernel 2.6.20, so you don't need to update alsa or compile anything.

Go through your BIOS and make sure all the relevant hardware is enabled, including any modem hardware. It might help with detection, so I noticed from the link below.

Read this thread:

Finally, you can try running as root, alsaconf to detect the card, and then, alsamixer to configure it.

If you think reinstalling the distribution may give you a fresh start at it, try it.
Old 04-18-2007, 04:46 PM   #5
LQ Newbie
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Again,

Thanks for the info. I didn't find anything in the bios related to the sound or modem. Tried alsaconfig it doesn't detect my card. I have a second hard drive running Vista and the sound driver is identified as a Realtek High Definition Audio. I looked into the Realtek stuff and I think that's how I ended up trying to compile the beta version of alsa because it supports the 2.6.20 kernel.

When I ran alsaconfig it states that it is already running and I should close any sound applications. If I run alsamixer I get: function snc_ctl_open failed for default: No such file or directory. The laptop is an Acer 5570Z 1 gig of memory with mostly Intel components and cards (according to Vista). I'm tempted to reinstall because I believe sound was just misconfigured and now it's disabled. I had DVD's running with no sound, bummer.

Thanks much.
Old 04-19-2007, 07:55 PM   #6
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Did you try adding this line to the /etc/modprobe.conf

options snd-hda-intel model=laptop-eapd
Old 04-22-2007, 09:49 PM   #7
LQ Newbie
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Trouble getting sound to work Fedora 6, Acer5570Z,Realtek, Intel, alsa-driver Reply

Hi All,

Thanks for the info. I'm in a little worse or maybe better position. Right now non of the sound modules load on boot including soundcore. SO I'm basically at the beginning. Other that a new install is there a way to remedy this. I'm going to pickup a Fedora book. The last time I really had to play with "internals" was early versions of Slackware. Since I switched to RedHat most things have worked out of the box so my tweaking skills have been on the shelf.

Thanks for the help!!!
Old 04-25-2007, 10:40 PM   #8
LQ Newbie
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0

After upgrading my kernel to 2.6.20-1.2944 my sound stopped working. I'm using an Asus M2NPV-VM.

After hitting my head against the wall for hours, this is how I solved it:

I deleted all the configuration files in /etc/alsa

And also in /etc (anything that starts with asound.*)

To be safer, probably just rename them, so you can recover them.

Then I installed the alsa kernel module from atrpms.

And against my will I forced the installation of the following packages from atrpms (I was desperate):

After rebooting, the sound didn't work, again.

Then in one of my testings, I switch to run level 3 (open a console and type init 3).

When I'm at level 3 and type startx it opens my X-window system. I normally use KDE, but in that console GNOME was the default windows manager.

For whatever reason, on that GNOME console when I clicked on detect sound card it worked (It didn't do anything in KDE).

After detecting the sound I got off the console and returned to run level 5 (init 5) and the sound was working in KDE.

To this point, I don't know what fixed the problem: the new version of alsa from atrpms, the new configuration files or switching windows managers. I guess GNOME uses a sound configuration program that fixes something on the sound configuration files.

I have the feeling that when I did the "yum update" and it updated everything, including KDE (700MB in downloads) in one of those configuration files saved as something.rpmnew a new configuration parameter didn't get registered.

I'm happy the sound is working, but if anyone can provide any logical explanation that would be great.

Old 05-06-2007, 10:46 PM   #9
LQ Newbie
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hi All,

Thanks for all the help. Sound is now working. I went to the original kernel and then had to add the line options snd-hda-intel model=laptop-eapd in /etc/modprobe.conf. When I upgraded kernels I lost the sound andthe next kernel upgrade I lost my wireless. I'll stay where I'm at for now and upgrade slowly so I don't run into too many problems at once. Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


acer, fedora, intel

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek Ac 97 sound driver for fedora core 4 chartoin Linux - Newbie 4 04-08-2007 08:35 AM
no sound with alsa driver: Slackware 10.2, K2.6.16.5, intel AC97 audio drkstr Linux - Software 2 04-15-2006 03:57 PM
No sound on intel 915G based motherboard with fedora core 3 alsa 1.0.9 sourangshu Linux - Hardware 1 06-07-2005 04:58 PM
Trouble finding correct alsa driver to use for Intel chipset Gates1026 Linux - General 1 02-19-2004 12:15 PM
ALSA drivers work well, sound channels mixed up (INTEL AD1981A ICH4) fritex Linux - Software 6 05-30-2003 08:59 PM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration