LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2004, 06:58 PM   #1
edman007
Member
 
Registered: Sep 2003
Distribution: Slamd64
Posts: 168

Rep: Reputation: 30
Angry 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
 
Old 01-10-2004, 08:44 PM   #2
denzo74
LQ Newbie
 
Registered: Aug 2003
Posts: 15

Rep: Reputation: 0
Did you check the mixer settings?
 
Old 01-10-2004, 08:58 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
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.

Last edited by Bruce Hill; 01-10-2004 at 08:59 PM.
 
Old 01-10-2004, 09:13 PM   #4
edman007
Member
 
Registered: Sep 2003
Distribution: Slamd64
Posts: 168

Original Poster
Rep: Reputation: 30
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
 
Old 01-10-2004, 09:21 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
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.
 
Old 01-11-2004, 02:17 PM   #6
edman007
Member
 
Registered: Sep 2003
Distribution: Slamd64
Posts: 168

Original Poster
Rep: Reputation: 30
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
 
Old 01-11-2004, 07:31 PM   #7
edman007
Member
 
Registered: Sep 2003
Distribution: Slamd64
Posts: 168

Original Poster
Rep: Reputation: 30
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
 
Old 01-11-2004, 08:33 PM   #8
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
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
 
Old 01-11-2004, 08:49 PM   #9
edman007
Member
 
Registered: Sep 2003
Distribution: Slamd64
Posts: 168

Original Poster
Rep: Reputation: 30
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?
 
Old 01-11-2004, 10:37 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
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?
 
Old 01-12-2004, 04:06 PM   #11
edman007
Member
 
Registered: Sep 2003
Distribution: Slamd64
Posts: 168

Original Poster
Rep: Reputation: 30
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
 
Old 01-12-2004, 07:21 PM   #12
edman007
Member
 
Registered: Sep 2003
Distribution: Slamd64
Posts: 168

Original Poster
Rep: Reputation: 30
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
 
  


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
Intel sound not working, usb modem not working. siriusb Linux - Hardware 8 03-04-2006 10:16 PM
Sound not working in GNOME but sound card test works saravkrish Linux - Hardware 3 02-08-2006 11:03 AM
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 01:02 PM
Sound was working.. rebooted.. alsa start errors... no sound now.. Zero-0-Effect Linux From Scratch 5 03-21-2004 09:58 PM
Sound working but not working in Redhat 9.0 Isocene Linux - Software 3 06-03-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration