LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-18-2004, 08:30 PM   #1
Googly
LQ Newbie
 
Registered: Feb 2004
Location: Boise, Idaho, United States
Distribution: Gentoo
Posts: 16

Rep: Reputation: 0
Post sound not working: AC'97


I know this has been asked before but I can't figure out how to get my sound working.

I have some sort of on board AC'97 sound thingy
It worked automagically when I used redhat 9.0

I'm using debian 3r2 with kernel 2.4.18-bf2.4
sndconfig detects it as: Intel Corp. l82801BA/BAM AC'97 Audio
and doesn't complain at all but I can't hear anything.

the system beep works and comes out of the speaker

when I plug in a mic and cat /dev/dsp the pattern changes when I make noise in it (and the font gets wierd whee!!)

I'm gonna go try alsa again
KTHXBYE!
 
Old 02-18-2004, 09:39 PM   #2
Googly
LQ Newbie
 
Registered: Feb 2004
Location: Boise, Idaho, United States
Distribution: Gentoo
Posts: 16

Original Poster
Rep: Reputation: 0
alsa error

I downloaded the newest version of alsa and compiled everything ok but when I ran alsaconf it said:
Running update-modules...
depmod: *** Unresolved symbols in /ib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o
Loading driver...
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...

could this be caused by compiling with the wrong kernel source (my graphics card complained about unresolved symbols and that was the problem)?

KTHXBYE
 
Old 02-19-2004, 03:25 AM   #3
psoh
LQ Newbie
 
Registered: Feb 2004
Location: ghades
Posts: 25

Rep: Reputation: 15
What mainboard?

What mainboard you on? I'm having a helva time myself trying to get my ECS SIS 735 ac 97 codec to work.
It shows up as three different drivers for the same thing, intel, ali, and oss.

You might want to drop by my posting Sound problems, a gent has some insight as to what you need to do to correct the problem.

Thanks.
 
Old 02-19-2004, 03:47 AM   #4
jogurt666
Member
 
Registered: Nov 2003
Location: Poland => Mazowieckie => Ok'a
Distribution: Gentoo
Posts: 176

Rep: Reputation: 30
i agree you should tell us what motherboard do you use. we must know what type of chipset do you have. for purpose i have VIA chipset. i've compiled it in kernel as a module and inserted it. there are 2 modules i have to insert in order to make my sound card work:

via82cxxx_audio and ac97_codec (i don't even need alsa)

also be sure that you have privileges to use /dev/dsp (because many problems with sound are caused by that ).
 
Old 02-19-2004, 08:17 PM   #5
Googly
LQ Newbie
 
Registered: Feb 2004
Location: Boise, Idaho, United States
Distribution: Gentoo
Posts: 16

Original Poster
Rep: Reputation: 0
after chmod'ing /dev/dsp all my programs stopped complaining about there being no sound card, but there's still no sound.

my computer manufacturer's web-site says the chipset is:
Intel 845 Chipset

psoh: where is your sound problem post? I can't seem to find it
thanks for all the help, I'm gonna go try some more stuff.

EDIT: in /etc/modules.conf it says:
Code:
### update-modules: start processing /etc/modutils/sndconfig
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

### update-modules: end processing /etc/modutils/sndconfig
but I have no /bin/aumix-minimal could that be a problem?

Last edited by Googly; 02-19-2004 at 08:24 PM.
 
Old 02-19-2004, 09:11 PM   #6
Googly
LQ Newbie
 
Registered: Feb 2004
Location: Boise, Idaho, United States
Distribution: Gentoo
Posts: 16

Original Poster
Rep: Reputation: 0
I still think Unresolved symbols in /ib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o might be a problen

typing insmod -p snd-intel8x0 outputs:
Code:
Using /lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_ac97_pcm_open
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_ac97_pcm_close
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_new
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_ac97_set_rate
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_ac97_pcm_assign
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_ac97_tune_hardware
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_verbose_printk
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_malloc_pci_pages
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_lib_free_pages
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_kcalloc
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_device_new
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_lib_malloc_pages
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_period_elapsed
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol change_page_attr
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_card_proc_new
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_suspend_all
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_iprintf
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_set_ops
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_ac97_mixer
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_hw_constraint_integer
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_lib_ioctl
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_card_register
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_ac97_resume
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_hw_constraint_list
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_ac97_bus
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_pcm_lib_preallocate_pci_pages_for_all
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_card_free
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_free_pci_pages
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_card_new
/lib/modules/2.4.18-bf2.4/kernel/sound/pci/snd-intel8x0.o: unresolved symbol snd_mpu401_uart_new
EDIT: someone suggested modprobe to fix unresolved symbols so I typed
modprobe snd-intel8x0
and it said unresolved symbol change_page_attr, and trying to modprobe that said it couldn't locate it!
any idea on what change_page_attr is or how I can fix this?

Last edited by Googly; 02-19-2004 at 09:29 PM.
 
Old 02-20-2004, 11:23 AM   #7
jogurt666
Member
 
Registered: Nov 2003
Location: Poland => Mazowieckie => Ok'a
Distribution: Gentoo
Posts: 176

Rep: Reputation: 30
i'm almost sure that i've found a solution. kernel 2.4 supports Intel i8xx sound cards. try compiling this as a module:

Sound -> Intel ICH i8xx...

i dunno how should the module be called but try looking for it in /lib/modules/2.4.xx/kernel/drivers/sound. just insert it, and your sound card should now work fine. let me know if i helped you.
 
Old 02-20-2004, 07:03 PM   #8
Googly
LQ Newbie
 
Registered: Feb 2004
Location: Boise, Idaho, United States
Distribution: Gentoo
Posts: 16

Original Poster
Rep: Reputation: 0
how would I compile Sound -> Intel ICH i8xx as a kernel module?

I looked in /lib/modules/2.4.xx/kernel/drivers/sound and the relevant looking things were ac97.o ac97_codec.o and i810_audio.o
ac97_codec and i810_audio were already loaded
and I loaded ac97 but there's still no sound

also I tried cat /dev/dsp and it said it was busy! should that be busy all the time?
 
Old 02-20-2004, 07:09 PM   #9
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
I have a ASUS A7N8X Deluxe motherboard that has the onboard nforce2 for sound. I use the AC97_codec and I8xx sound modules in the kernel. If you re-compile your kernel you will see a selection for the Intel I8xx and nforce boards module selection. You can select to either include it in the kernel or build as a module. If you haven't done this then that would be where you would start.

rberry88
 
Old 02-21-2004, 12:29 PM   #10
psoh
LQ Newbie
 
Registered: Feb 2004
Location: ghades
Posts: 25

Rep: Reputation: 15
Googly, I think my problem is I don't have root capabilities. I can't change the /etc/modules.conf for a correct driver, I've gone thru the Mandrake control panel thus am stuck. I can use the terminal just fine, but when it comes to administering fixes I'm denied. A gent said I'll have to go into Kde to in the control panel or something to allow the root as a user. Being a novice user sucks sometimes...

My sound card is onboard SIS 735 Ac 97 codec, picks up three drivers which I don't need, and are not compatible. I think the driver should be something like snd-intel8x0 which is supposed to be default but I'm going to have to change that with the new ALSA driver. Hopefully I won't get as frustrated with figuring out how in the heck I can do root changes...
 
  


Reply


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
AC'97 sound card not working westchester Linux - Hardware 1 09-12-2005 09:43 PM
sound not working in slackware9.1 with AC'97 andy753421 Linux - Hardware 7 09-10-2005 03:32 AM
AC'97 is not working theonlyone Linux - Newbie 5 02-23-2005 05:06 PM
Rh9 No Sound On Toshiba Laptop With Ac'97 Sound darkmage224 Linux - Laptop and Netbook 2 02-27-2004 10:23 AM
Onboard AC'97 sound not working even with correct driver Lfsve82 Mandriva 4 02-07-2004 12:11 PM


All times are GMT -5. The time now is 03:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration