LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-23-2004, 01:08 PM   #1
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Rep: Reputation: 15
AC'97 with intel8x0


Hi everyone,

I found some postings on this argument, but not a resolutive answer.
I have kernel 2.4.26 on debian, and the audio is not working; the output of
lspci is:

0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)

if I do sndconfig it says that it finds the sound card AC'97, but it is not
supported.
So I tried to use alsaconf, it seems to find the sound card "intel8x0", and it says that the process has been completed successfully , but the sound is still not
working.

So, is it a problem of alsaconf or is my sound card?
Thanks,


emanuele
 
Old 09-23-2004, 06:06 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
After running alsaconf, try runninng

alsamixer

unmute everything, and raise your volumes. Next run

alsactl store

to save settings accross a reboot.
good luck.
 
Old 09-23-2004, 09:57 PM   #3
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
yeah, don't forget that
I had that problem before...... hahahha
 
Old 09-24-2004, 09:19 AM   #4
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
alsamixer is working on kernel 2.6.7, but I have other problems with this, so I want to use it in my 2.4.26.
If I use it in this kernel it returns the message:

arwen:~# alsamixer
No mixer elems found

what is it?

Thanks,


emanuele
 
Old 09-24-2004, 10:06 AM   #5
nirvanix
Member
 
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194

Rep: Reputation: 30
I wonder if the alsa modules are loaded when you boot the 2.4.26 kernel. Run the command 'lsmod' and look at the list of loaded modules. Do you see a bunch of names starting with snd, like snd-intel8x0, snd-ac97-codec, etc? If you don't that means that you haven't got the sound modules loaded. In which case I would reinstall the alsa packages on this kernel.
 
Old 09-24-2004, 10:17 AM   #6
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
Yes, some modules are present,
this is a piece of lsmod output:

snd-intel8x0 17580 0
gameport 1452 0 [snd-intel8x0]
snd-mpu401-uart 2800 0 [snd-intel8x0]
snd-intel8x0m 8648 1
snd-pcm 51204 0 [snd-intel8x0 snd-intel8x0m snd-pcm-oss]
snd-page-alloc 5624 0 [snd-intel8x0 snd-intel8x0m snd-pcm]
snd-ac97-codec 45404 0 [snd-intel8x0 snd-intel8x0m]
snd 27556 1 [snd-intel8x0 snd-mpu401-uart snd-rawmidi snd-seq-device snd-intel8x0m snd-pcm-oss snd-mixer-oss snd-pcm snd-timer snd-ac97-codec]

?????


emanuele
 
Old 09-24-2004, 10:22 AM   #7
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Rep: Reputation: 15
I had the same problem on debian but could not manage to solve it. When I had the same problem in Slackware, I blacklisted the snd-intel8x0m module (added it to '/etc/hotplug/blacklist'), which is for the modem i guess. After blacklisting, everything worked fine. You can give it a try and see if it works.
 
Old 09-24-2004, 10:30 AM   #8
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
Hello usercsr,

I'm not understanding. I read in "/etc/hotplug/blacklist" that
" Listing a module here prevents the hotplug scripts from loading it"
so why must not load snd?
Thanks,

emanuele
 
Old 09-24-2004, 10:35 AM   #9
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Rep: Reputation: 15
It is not the 'snd' module but the 'snd-intel8x0m' module (note the 'm' at the end). In my case, the 'snd-intel8x0m' was getting detected as the first sound card and the 'snd-intel8x0' as the second sound card.
You can try doing 'alsamixer -c 1' and see if the volume controls show up. If the volume controls show up with this, then preventing the other module from loading will solve the problem.
Hope this helps
 
Old 09-24-2004, 12:47 PM   #10
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
Ok, using alsamixer -c 1 I'm able to use alsamixer,
raised all the volumes and saved with "alsctl store", but I have not yet sound.
Well, this is a great first pass!!

emanuele
 
Old 09-24-2004, 12:56 PM   #11
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Rep: Reputation: 15
okay, thats good

Did you try blacklisting the 'snd-intel8x0m' module? Everything should work if you do that. If you blacklist that module, you can directly use 'alsamixer' instead of 'alsamixer -c 1'.

But if you don't want to blacklist it, there are some settings in preferences in 'xmms' and 'mplayer' to set the id of the sound card. You can set it to 1 and get the sound. (I'm sorry, I'm on a windows machine right now and cannot exactly tell you what the settings are. You can try figuring them out or I will post them after sometime)

Good Luck
 
Old 10-04-2004, 01:32 PM   #12
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
Sorry for the delay, but I had not the connection for long time,

now during the boot when ALSA is loading it successes and I hear a beep...
But still the sound is not working.
When I run alsaconf I have this message:

Building card database..


Running update-modules...
depmod: *** Unresolved symbols in /lib/modules/2.4.26-1-386/alsa/snd-pdaudiocf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.26-1-386/alsa/snd-vx-cs.o
Loading driver...
Restoring ALSA mixer settings ... done.
Setting default volumes...

===============================================================================

Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.

Have a lot of fun!


maybe the problem is due to uresolved symbols?
How can I remediate?


emanuele
 
Old 10-04-2004, 01:49 PM   #13
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
I have also checked that is the right module for the kernel:

arwen:~# uname -a
Linux arwen.infn.it 2.4.26-1-386 #1 Tue Aug 24 13:31:19 JST 2004 i686 GNU/Linux

also when I run

apt-get install alsa-modules-2.4.26-1-386

it returns the same error messages:

depmod: *** Unresolved symbols in /lib/modules/2.4.26-1-386/alsa/snd-pdaudiocf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.26-1-386/alsa/snd-vx-cs.o

Setting up alsa-utils (1.0.6-1) ...

Setting up alsa-modules-2.4.26-1-386 (1.0.5a+1) ...
depmod: *** Unresolved symbols in /lib/modules/2.4.26-1-386/alsa/snd-pdaudiocf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.26-1-386/alsa/snd-vx-cs.o
No configuration file found for ALSA 1.0.


emanuele
 
Old 10-04-2004, 02:45 PM   #14
dimarcoe
LQ Newbie
 
Registered: Aug 2004
Location: Rome, Italy
Posts: 23

Original Poster
Rep: Reputation: 15
I have also googled for the depmod errors and I find that they would be due to pcmcia and not regarding the sound.

I also tried an

arwen:~# modinfo soundcore

and it returns correctly:
filename: /lib/modules/2.4.26-1-386/kernel/drivers/sound/soundcore.o
description: "Core sound module"
author: "Alan Cox"
license: "GPL"


so I'm still not understanding....


hi

emanuele
 
  


Reply



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
ALSA problem on intel8x0 webdevel Linux - Hardware 10 10-19-2014 10:53 AM
Alsa so close yet so far (intel8x0) Zugwalt Linux - Hardware 1 10-21-2004 05:37 PM
2.6.8.1 intel8x0 & alsamixer fishybawb Slackware 3 08-20-2004 04:57 AM
intel8x0.o: init_module: No such device SpeedDingo Linux - Hardware 5 05-17-2004 10:29 PM
Help with Intel8x0 Ac'97 sound debian junkie Linux - Hardware 9 02-02-2004 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:40 PM.

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