LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   sound not working in slackware9.1 with AC'97 (https://www.linuxquestions.org/questions/linux-hardware-18/sound-not-working-in-slackware9-1-with-ac97-173827/)

andy753421 04-23-2004 05:39 PM

sound not working in slackware9.1 with AC'97
 
i havent been able to get my sound to work (at all) im running slackware 9.1 with an AC'97 sound card built into my motherboard (AK39N made by www dot shuttle dot com) at first it says i had something wrong with the alsa something or another and it told me to go check alsamixer and when i did everything was turned to the lowest and muted, so i turned those up, saved and re-booted. and i still get nothing, it wont even play the test sound from control center. sorry for asking about this again i know people have asked about this stuff a lot but i couldnt figure anything out from previous post/google. in explanations please assume im a total linux noob.

hussar 04-23-2004 06:17 PM

Could you be any more specific about "alsa something or another"?

If you reboot, alsa will start up muted. To get the levels set, you need to give the command (as root) `alsactl store` after you get the levels set where you want them. Then add `alsactl restore` to your /etc/rc.d/rc.local file.

You also don't mention what kernel you are running or if you compiled it yourself.

What do you get when you enter the command ` /sbin/lsmod`?

Are the speakers turned on? Not trying to be insulting. I just tonight realized that a problem I was having with sound on a VIA EPIA board with AC97 sound was that I hadn't turned up the speaker volume. (Hey, it happens...)

andy753421 04-23-2004 06:29 PM

the kernel is 2.4.22 um as for the alsa im really not sure what exactly it said, i believe it was something like the alsa drivers arnt tunred on or something, but when i did alsamixer it (and then i also did alsactl store) it didnt give that message any more, i didnt do the alsactl restore but i dont think that matters because when i re-boot the volume levels and everything stayed where i put them. yea im sure the speakers are on, believe me ive checked that many time hopping it would work.

When i type /sbin/lsmod it give me
Code:

Module                  Size  Used by    Not tainted
snd-seq                33584  0  (autoclean)
snd-pcm-oss            37252  0
snd-mixer-oss          11992  0  [snd-pcm-oss]
printer                7040  0  (unused)
keybdev                1952  0  (unused)
mousedev                4244  1
hid                    21156  0  (unused)
usbmouse                2008  0  (unused)
input                  3200  0  [keybdev mousedev hid usbmouse]
uhci                  24496  0  (unused)
ehci-hcd              16872  0  (unused)
usbcore                58400  1  [printer hid usbmouse uhci ehci-hcd]
snd-via82xx            11712  0
snd-pcm                55904  0  [snd-pcm-oss snd-via82xx]
snd-timer              13252  0  [snd-seq snd-pcm]
snd-ac97-codec        37240  0  [snd-via82xx]
snd-page-alloc          6004  0  [snd-via82xx snd-pcm]
snd-mpu401-uart        3136  0  [snd-via82xx]
snd-rawmidi            12512  0  [snd-mpu401-uart]
snd-seq-device          3920  0  [snd-seq snd-rawmidi]
snd                    27460  0  [snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore              3332  4  [snd]
via-rhine              13552  1
mii                    2304  0  [via-rhine]
crc32                  2880  0  [via-rhine]
pcmcia_core            40032  0
ide-scsi                9424  0
agpgart                39576  0  (unused)
ntfs                  51040  1  (autoclean)


hussar 04-23-2004 07:20 PM

Did you run `alsaconf`?

Here is what I get when I run `lsmod`:

Module Size Used by
snd_pcm_oss 62436 0
snd_mixer_oss 21056 1 snd_pcm_oss
snd_via82xx 27424 0
snd_pcm 104552 2 snd_pcm_oss,snd_via82xx
snd_timer 28228 1 snd_pcm
snd_ac97_codec 61732 1 snd_via82xx
snd_page_alloc 11908 2 snd_via82xx,snd_pcm
gameport 4672 1 snd_via82xx
snd_mpu401_uart 8352 1 snd_via82xx
snd_rawmidi 27232 1 snd_mpu401_uart
snd_seq_device 8616 1 snd_rawmidi
snd 64036 9 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,s nd_seq_device
soundcore 9856 1 snd
ide_scsi 16676 0
via_rhine 20840 0
mii 4864 1 via_rhine
crc32 4320 1 via_rhine
ehci_hcd 37124 0
uhci_hcd 31692 0
usbcore 110460 4 ehci_hcd,uhci_hcd
xfs 577912 1

As I said, I was having problems with getting sound out of that box. One of the problems I had was the volume on the speakers themselves. Don't know if it was the source of the problem or not, but I compiled and installed the oss modules. If you are missing a module that I have, then I have overlooked it.

andy753421 04-23-2004 07:26 PM

hm ok thanks a million i just had to run alsaconf and that sorted everythign out :)

kenji1903 05-17-2004 01:27 AM

Hi guys!
I've just upgraded my RHL9 kernel to 2.6.3 and I don't think I caught eye one any AC'97 thingy... my mobo's MSI KT6V with a built in sound chip, similar to the ones you're using...

Can anyone here lend me a hand? :D

daemonTED 06-13-2004 03:38 AM

heh, yeah thanks guys. alsaconf sorted out problems i was having too :)

kenji1903: might be able to help, but will need some more info such as the output of lspci to start with, although personally i know virtually nothing about RH, so might not be much help at all :(

anyway, if you post the outputs of things like lspci and lsmod, i am sure someone will be able to help you, maybe even me ;) (i use debian, and have never used redhat :P)

shogun1234 09-10-2005 03:32 AM

Quote:

Originally posted by daemonTED
heh, yeah thanks guys. alsaconf sorted out problems i was having too :)

kenji1903: might be able to help, but will need some more info such as the output of lspci to start with, although personally i know virtually nothing about RH, so might not be much help at all :(

anyway, if you post the outputs of things like lspci and lsmod, i am sure someone will be able to help you, maybe even me ;) (i use debian, and have never used redhat :P)

hi,
i also encounter similar problem, after manually compiling kernel (version 2.6.12 with built-in module included. set CONFIG_SND_AC97=m )
the env i use is debian sarge (stable) 3.1 r0a.
it works fine in default kernel version 2.4.x.
the outcome of `lsmod | grep ac` is as follow:
Code:

snd_ac97_codec        83064  1 snd_intel8x0
snd_pcm                95432  2 snd_intel8x0,snd_ac97_codec
snd                    51512  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer

and
`lspic | grep audio` is
Code:

0000:00:1e.2 Multimedia audio controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
what should i do in order to get my audio work??
i appreciate any suggestion, sincerely.


All times are GMT -5. The time now is 12:59 PM.