LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 09-15-2003, 03:31 PM   #1
desolate
LQ Newbie
 
Registered: Apr 2003
Location: Manassas, VA
Distribution: Arch Linux 0.5
Posts: 12

Rep: Reputation: 0
problems with sound


Hi, I have a problem getting sound to work in Arch Linux. I have onboard AC'97 and in Slackware all I had to do was to use "modprobe i810_audio" at startup...so I tried that in Arch Linux and the module loads fine but I have no sound. The only thing that wants to work right is the sound in gAIM...nothing else works. Any suggestions?
 
Old 09-15-2003, 04:33 PM   #2
Mork
Member
 
Registered: Mar 2003
Location: Visby, Sweden
Distribution: Ubuntu 4.10
Posts: 64

Rep: Reputation: 15
The normal way to load modules at boot in Arch is adding them to the modules array in /etc/rc.conf. Like this:
Code:
MODULES=(sis900 i810_audio !usbserial !ide-scsi)
The modules get loaded in the order they are listed. If there is a ! in front of the module name that module will not get loaded.

Since you obviously have sound output, you should try goofing around with aumix to see if you have any channels muted.
 
Old 09-15-2003, 07:50 PM   #3
desolate
LQ Newbie
 
Registered: Apr 2003
Location: Manassas, VA
Distribution: Arch Linux 0.5
Posts: 12

Original Poster
Rep: Reputation: 0
I already have rc.conf edited with i810_audio and i've tryed with the sounds settings (mixer) and still no sound.
 
Old 09-16-2003, 05:05 AM   #4
Mork
Member
 
Registered: Mar 2003
Location: Visby, Sweden
Distribution: Ubuntu 4.10
Posts: 64

Rep: Reputation: 15
This is more than a little bit strange. If you have sound in gaim you should have permissions to use sound.

I don't have time to figure this out right now so I will cut and paste the standard answer sound related stuff in Arch (I use the same module so we can hope it works for you too):

Make sure you have proper permissions to use sound in /etc/devfsd.conf:
Code:
# Allow access to sound devices for group "audio"
REGISTER sound/.* PERMISSIONS root.users 0660
REGISTER snd/.* PERMISSIONS root.users 0660
You can also try adding this to your /etc/modules.conf, the first line is important, the other two are just mixer settings:
Code:
# OSD sound
alias sound-slot-0 i810_audio
post-install sound-slot-0 /usr/bin/aumix -f /etc/aumixrc -L >/dev/null 2&1 || :
pre-remove sound-slot-0 /usr/bin/aumix -f /etc/aumixrc -S >/dev/null 2&1 || :
If you don't want to reboot you can issue the alias as root, it should work just as well as long as you machine is on.

If you prefer alsa you should do the following:
1. Install alsa (this also installs alsa-driver and alsa-lib, less typing though).
Code:
# pacman -S alsa-utils alsa-oss
2. Load alsa in rc.conf (comment the oss module)
Code:
MODULES=(snd-intel8x0)
3. Add the following to /etc/modules.conf (comment or remove the OSS stuff from above if you tried it)
Code:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

# Sound lookup entries for devfs support
alias /dev/dsp sound-service-0-3
alias /dev/sequencer sound-service-0-1
alias /dev/mixer sound-service-0-0
4. Reboot or, if you take pride in uptime, modprobe all those modules.
5. Try playing sound.
6. Change volume settings with aumix or alsamixer
7. Add the following to rc.local to reset volume at reboot (not needed if you run KDE or Gnome):
Code:
aumix -w 50 -v 85 -c 50
There are several threads on the Arch forums related to this, some of them might have useful info.

//Edit: It's possible that your card doesn't use the same alsa-module as mine. Check here to find out.

Last edited by Mork; 09-16-2003 at 05:08 AM.
 
Old 09-17-2003, 09:37 PM   #5
desolate
LQ Newbie
 
Registered: Apr 2003
Location: Manassas, VA
Distribution: Arch Linux 0.5
Posts: 12

Original Poster
Rep: Reputation: 0
I got the sound to work on all of my programs...but I can't get sound playing audio cds. I've tinkered with the mixer again and still no sound with audio cds.
 
Old 09-18-2003, 04:27 PM   #6
simplico
Member
 
Registered: Jul 2003
Location: Orlando, FL
Distribution: mandrake 10
Posts: 62

Rep: Reputation: 15
to adjust your audio settings type: aumix -I

that is "aumix " plus a minus capital i [eye] (for interactive)
 
Old 09-24-2003, 02:23 PM   #7
shadowhunter
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Slackware 10.2 + FRG + 2.6.15
Posts: 232

Rep: Reputation: 30
strange, it worked for me, are you sure you have the module in your kernel?
 
  


Reply



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
Sound Problems: CD works, no system/mp3/video sound tabnaka SUSE / openSUSE 5 01-13-2006 12:33 PM
Sound Blaster Sound Card problems idioticneophyte Linux - Hardware 17 02-01-2005 04:02 AM
sound problems and wine sound problems derfaust Linux - Software 1 07-23-2004 03:45 AM
Problems getting sound to play under Mandrake w/2 sound cards HGeneAnthony Linux - Hardware 1 07-02-2004 02:19 PM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 02:37 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
Open Source Consulting | Domain Registration