LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   help getting sound working (https://www.linuxquestions.org/questions/linux-software-2/help-getting-sound-working-133523/)

edman007 01-10-2004 06:58 PM

help getting sound working
 
help i can't get my sound working, it is the soundcard on the asus p4c800-e deluxe, i have googled and it seems it needs the i8x0 drivers so i compiled it into my kernel and it still isn't working, do i have to add something to the modules.conf file, if so what? do i have add stuff to any other file? plese help i need sound

i'm using slackware current and the 2.6.1 kernel

denzo74 01-10-2004 08:44 PM

Did you check the mixer settings?

Bruce Hill 01-10-2004 08:58 PM

The 2.6.x kernels use ALSA, so maybe try 2 things. Run as root
# alsaconf
and then exit to a normal user and run
$ alsamixer
That's the mixer that alsa uses. All channels are muted by default, but once you unmute them and set your levels, press ESC to exit. Then su to root and run
# alsactl store
so that your settings will be saved.

And check /etc/rc.d/rc.modules to see if it's actually enabled in there.

edman007 01-10-2004 09:13 PM

alsaconf finds no cards

alsamixer won't run, says this:
alsamixer: function snd_ctl_open failed for default: No such device

ALSA is compiled into the kernel too

Bruce Hill 01-10-2004 09:21 PM

Quote:

Originally posted by edman007
alsaconf finds no cards

alsamixer won't run, says this:
alsamixer: function snd_ctl_open failed for default: No such device

ALSA is compiled into the kernel too

Okay, you need to get ALSA properly working, or either use some other sound device. This link on the ALSA web site has specific instructions for that onboard chip. I have it and it installs okay with those instructions under kernels 2.4.23 and 2.4.22. You know, of course, that kernels 2.6.x have ALSA and no OSS, so it may be a little different. Try searching here at LQ, for there have been many posts trying to get sound and the new 2.6.0 kernel working.

edman007 01-11-2004 02:17 PM

i got alsamixer working (set everything to about 50%) but still no sound and alsaconf still finds nothing, this happened after i patched the kernel with the newest alsa kernel patch

any clues, and i checked the asla site and that modules.conf stuff dosen't work, i think its because i compiled it into the kernel

and games keep saying /dev/dsp: no such device but i can clearly see that it is there

edman007 01-11-2004 07:31 PM

i got the sound working!!!!!

it was unclear to me i had to actually press "m" to unmute and not just crank up the sound levels

but i still can't get the sound for the games to work, they say "/dev/dsp: no such device" but/dev/dsp is there, is there something i have to do to get /dev/dsp to go to alsa sound or something

aclaunch 01-11-2004 08:33 PM

Check the permissions on /dev/dsp. They should be rw for everyone (owner, users and other).-ie something like rwx-rw-rw. If they are not , then su to root and "chmod a+rw /dev/dsp". Also, dev/dsp is frequently a symbolic link to /dev/dsp0 and as such, /dev/dsp0 needs the permissions set to rw for everyone.

Good Luck,
Alan

edman007 01-11-2004 08:49 PM

i did chmod 766 on both of them and added them to the users group and still no go, i even tried 777 and it still didn't work, running the games as root gave the same error

the weird thing is even when i did chmod 777 on /dev/dsp it was still lrwxr-xr-x, is that because its a link?

Bruce Hill 01-11-2004 10:37 PM

Quote:

Originally posted by edman007
i did chmod 766 on both of them and added them to the users group and still no go, i even tried 777 and it still didn't work, running the games as root gave the same error

the weird thing is even when i did chmod 777 on /dev/dsp it was still lrwxr-xr-x, is that because its a link?

The l means it's a link. Do $ ls -l /dev/dsp to determine what it's linked to, like ->

Code:

mingdao@paul:Mon Jan 12 12:35:01~$ ls -l /dev/dsp
lrwxrwxrwx    1 root    root            4 Dec  2 02:43 /dev/dsp -> dsp0

I really don't know about the permissions problem. I don't have any such problems, but I also don't play any games. What game is giving you this error?

edman007 01-12-2004 04:06 PM

the games that are giving me the errors are Americas's army and enemy territory, i compiled OSS emulation into the kernel and now it just says that it is busy

edman007 01-12-2004 07:21 PM

it is now working for the games if they are run in GNOME but not when run in KDE, so why would this happen and how can i get it to work in kde too


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