Sound not workingForum: HD Install Topic: Sound not working started by: sankarv Posted by sankarv on June 04 2007,05:28
Hi, Im trying with DSL 2.1 on my PC (AMD SEMPRON 1.6 GHz) having VIA 82Cxxxx sound card (detected like this by DSL: Realtek AC97 audio). Im using DSL 2.1 since it has SATA support for my harddisk.I cannot hear sound. So i downloaded and installed 'sndconfig' using apt-get and then also it failed. It is reporting simply as 'An error occured'. Also i tried using ALSA for DSL 2.0 and 2.1 mydsl package. It is also failing. I dont know how to use modprobe. Please help configuring sound...... If sound is working i can have fully working DSL installed.... Posted by Juanito on June 04 2007,06:39
If you didn't do it already, it would be a good idea to go to the < ALSA site > and check if your card is supported. There is a VIA southbridge AC97 audio VIA82C686 using the ALSA snd-via82xx driver that sounds (sic) like it might work.If your card is supported, you have the choice between using the sound drivers in 2.4.31 (OSS) or the ALSA drivers. If you want to use the ALSA drivers, I've found you need to remove any sound drivers, except "soundcore", that might be installed before you try the ALSA drivers. I believe the latest ALSA extension in the repository should work for you (gnu-utils also needs to be loaded?) and should load the required drivers automatically. If you want to try the OSS drivers, you might want to check that DSL loaded the correct ones first. If you have the correct driver, you might also need to pass some parameters like the correct IRQ and DMA settings to use with the driver for your soundcard. Posted by sankarv on June 08 2007,03:14
i booted dsl 2.1 in dsl sata,alsa it booted fine . then i loaded gnuutils.dsl from repo.. then i tried with all the alsa packages in the repository. they are installing fine but still sound cannot be heard even at very high volumes though alsamixer when run returns the error message "failed to load... default" something like that. i think sound configuration is done using alsaconf. it is available in only alsa4dslv2.dsl package . i installed that and it is not displaying any via drivers. so it fails on running. i also downloaded the "alsadrivers/alsaconf" package from the alsa site ( there are lot of files there and im confused what to download- i think these are the right ones) and tried to install them with gccxx.dsl(with libs) package. but it fails in ./configure step itself. also in some places (during install as well as configure) it returns "chown: not owned by root" i dunno wat to do after this. i tried running sudo apt-get install alsa-utils something like that. they are also failing i also dunno the IRQ DMA parameters/ modprobe details..... probably i can give information on the files which detects my sound card ( i dunno what are those files but can post if required provided giving me the path for those files in DSL live CD) and possibly with that it could be said what can be done for that... Posted by Juanito on June 08 2007,05:46
Just to double-check - when you install the most recent alsa extension, I believe it is a two part process:1. You install the extension 2. You select "install alsa" (or something like that) from the right-click menu As well as installing the correct drivers, the second part creates a bunch of entries in /dev which allows your sound card to work. Posted by sankarv on June 08 2007,05:50
ya i have selected mydsl entry alsa install after loading alsa and its installing it. i tried with all alsa extensions. it is creating entries in the dev as "/dev/dsp0", somethings like that.... but still i cant get sound working
Posted by Juanito on June 08 2007,09:18
It could be that your sound card is muted - if you use the alsamixer command from a terminal window, you should be able to check this from the volume/mute controls that appear.
Posted by sankarv on June 12 2007,03:58
i have said this too... dont know what may be the reason for the error too. does sound anyway related with the kernel version??? i dont know the concept but my sound was working with ubuntu without any configuration ( it also uses alsa but with kernel 2.6.x). possibly i may post required info detecting my sound card provided i need the path of that files which has info on my sound card. Posted by Juanito on June 12 2007,04:04
Maybe you could post the output of "lsmod" after alsa is loaded and also the output from "lspci" (or "lsusb") relevant to your soundcard. I think the alsa sound card info is in /proc/asound or something like that.Perhaps alsamixer is not included in the alsa extension - you could get it from the Knoppix 3.4 CD. Posted by sankarv on June 12 2007,04:33
which alsa extension output i could post...there are many packages here in repo.. alsa4dslv2only.dsl alsadebs.dsl ALSA 1.011Xxx.dsl alsa.dsl which i could use now from here for o/p as im using dsl 2.1 only now ...... Posted by Juanito on June 12 2007,05:19
I would suggest booting DSL with the "nosound" and without the "alsa" boot options. Once booted, use "lsmod" to check that there are no OSS (eg AC97 or similar) or snd-xxx modules loaded. If there are any sound modules loaded, remove them with "rmmod -f module_name" (sometimes you have to use the command more than once) - do not remove the soundcore module.Next load the alsa.dsl extension from the system section of the repository and use the right-click menu to initialise it. Check using "lsmod" to see if the alsa modules are loaded, you should see something like this.
You could also check in /proc/asound (or whatever it is). If everything looks OK up to this point, I would suggest getting hold of alsamixer to see what comes up. Posted by sankarv on June 12 2007,16:24
iam using dsl 2.1 version.i tried wat u said. booted with dsl nosound option but on loading alsa.dsl it does not list any modules related to sound except soundcore. alsa.dsl created 2 commands namely alsa_init and alsa_snddevices. on running alsa_init it returns some error. I then loaded alsa4dslv2.dsl. it also returned "alsamixer: function snd_ctl_open failed for default: No such device" on running alsamixer. also there is no file or dir named /proc/asound foound here. wat could be the problem... i am alo posting the o/p of some listings:
This is the stdout in bash on running alsaconf.
is anything notable from these o/p s? Posted by Juanito on June 13 2007,04:13
"lsmod" seems to confirm that no sound modules are loaded at boot and from "lspci", DSL seems to identify your soundcard correctly. The stdout messages seem strange though...Maybe you could try the following from a terminal window as root to see if any error messages come up:
Posted by sankarv on June 14 2007,16:59
i tried wat u said but running alsasetup also returned similar warnings as running alsaconf which i shown above.....
Posted by Juanito on June 14 2007,17:11
What sort of DSL installation do you have - I see you're using 2.1 but is it a frugal hd install, classic hd install, USB boot or what? The reason I ask is that from the module not owned by root messages, it seems like there may be a problem with the file permissions.In emelFM, if you highlight /lib/modules/2.4.31/kernel/sound/acore/snd.o, what does it say about the file permisions - root/root, dsl/staff, or? Posted by sankarv on June 20 2007,16:52
I have HD installation only. The files in /lib/modules/2.4.31/kernel/sound/acore directory are owned by root only. no clue ..... or is it possible to update kernel manually to 2.6 and then install alsa using apt, if so pls give me the exact commands used there if u know.....
Posted by stupid_idiot on June 20 2007,23:35
Possibly when module dependencies were calculated by depmod it rejected those modules that aren't owned by root - security risk.There's some info here: < http://linux.about.com/library/cmd/blcmdl8_depmod.htm > (just search for "not owned by root") You might try changing all ownerships to root and then rerunning depmod. e.g. sudo chown -R 0.0 /lib/modules/2.4.26 sudo depmod -a And then try modprobing the alsa modules. Posted by Juanito on June 21 2007,03:22
You could always try DSL-N rc4 (2.6.12) - the alsa modules are included already, but you will still need the alsa_mod extension from the DSL-N repository. |