You are not logged in.

#1 2004-02-10 10:45:03

malakas
Member
Registered: 2004-02-08
Posts: 28

a little bit of sound and xfree!

First if all i want to say that i have searched this forum for some anwsers but no luck,either to many opinios or ....
Anyway i have installed xmms and mplayer with pacman and all the sound libs that came with them but i still have no sound.I have added the PERMISSIONS thing at (i forgot which file was,lazy to search) but again nothing. Also the /dev/sound directory is empty.Any suggestions.
Second i ahve Xfree no with wmaker but i have an annoying thing:the desktop is scrolling left and down when the mouse at the edge!how can i deisbale it?
Thanks!

Offline

#2 2004-02-10 11:29:34

dauphin
Member
From: Scotland
Registered: 2003-07-09
Posts: 188

Re: a little bit of sound and xfree!

What sound card are you using?  Have you modprobed for it?

Offline

#3 2004-02-10 12:36:00

malakas
Member
Registered: 2004-02-08
Posts: 28

Re: a little bit of sound and xfree!

i am using SB!live PCI.

Offline

#4 2004-02-10 20:53:23

Blaasvis
Member
Registered: 2003-01-17
Posts: 467

Re: a little bit of sound and xfree!

first make sure you loaded snd-pcm-oss, then your /dev/sound/* should be there again.


Freedom is what i love

Offline

#5 2004-02-10 20:59:50

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: a little bit of sound and xfree!

About X: run xf86config and say NO to virtual desktop.
About Sound: which kernel are you using, which soudnsystem do you want to use? and did you load snd-pcm-oss if you want to run OSS while having ALSA ?


apt-get install arch

Offline

#6 2004-02-10 22:03:18

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: a little bit of sound and xfree!

Maybe we should put somwhere something like "when you need help about something please give to the people something to work on."
When people aks for help usually 5 of the following post are just to clarification about the configuration. wink

Please specify the souncard model
sblive pci
Specify if you use alsa or oss as driver
Where do you load the modules (rc.local or modprobe.conf or the old modules.conf)
What kernel version
If you use esd and/or artsd (sound mixer daemons)

and this is just to begin  :shock:

Offline

#7 2004-02-10 23:06:33

malakas
Member
Registered: 2004-02-08
Posts: 28

Re: a little bit of sound and xfree!

well bobonov is right.I am sorry but i am still learning. About the kernel i am using the default one from the base-iso 0.5 ver(2.4) and for sound i just want to have sound i dont want to choose one.The pacages for sound that are installed are the same which came with xmms and mplayer.
As for the locations i believe i use modules.conf since i load from there my eth0 for my LAN card. Is that better?

Offline

#8 2004-02-11 10:38:06

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: a little bit of sound and xfree!

Ok there is already something to begin.

As for the locations i believe i use modules.conf since i load from there my eth0 for my LAN card

Are you sure you load somewere the soudn modules for your sound card?
From you answer I guess you do not. You have explicity tell to the syste which module to load (it does not guess alone).

So did you wrote somewere to load the sound module??

Offline

#9 2004-02-11 11:21:54

malakas
Member
Registered: 2004-02-08
Posts: 28

Re: a little bit of sound and xfree!

The only thing i did is add alias sound to modeles.conf. After that i
tried to run alsaconf but it didnt find any pnp PIC card. Also from gnome
when i run the volume control i am getting this error ->invalid mixer
device. i search through internet for the correct module for SB but no
luck.
Also when i run alsamixer i got this error -> alsamixer: function
snd_ctl_open failed for default: No such file or directory.I believe i
have tried everything!i dont know what else to do.

Offline

#10 2004-02-11 14:28:34

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: a little bit of sound and xfree!

Ok you want to use alsa na dyou have to do some more step.
This is the link on alsa for your card.
http://www.alsa-project.org/alsa-doc/do … le=emu10k1

Here are infos on how to to configure your card with alsa.
Read the whole page included user comment at the end, for me they were very handfull.


Do not worry I want to help you, is just that the official site is the best source of information.
If you encounter problem post again a message, and I will try to help you.

Offline

#11 2004-02-11 15:34:22

terrapin
Member
From: Lockport, IL
Registered: 2003-08-06
Posts: 104

Re: a little bit of sound and xfree!

I usually follow these steps from Gyroplast to get my sound working

1. Run pacman -S {alsa-driver,alsa-lib,alsa-utils,alsa-oss}, in this order.
2. run depmod -a to make the newly installed modules known for dependency checks.
3. Identify which module to use for my soundcard; http://www.alsa-project.org very quickly told me that I'd need to load  snd-emu10k1.
4. Add this to your /etc/modules.conf:

# Sound (ALSA) 
alias char-major-116 snd 
alias snd-card-0  snd-emu10k1
post-install snd-emu10k1 /usr/sbin/alsactl restore 
pre-remove  snd-emu10k1 /usr/sbin/alsactl store 
alias sound-slot-0 snd-card-0 

# Soundcard 1 (OSS Emulation) 
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

5. Run depmod -a again. Kills the warning.
6. Edit your /etc/devfsd.conf and add this:

# Allow access to sound devices for group "audio" 
REGISTER ^sound/.* PERMISSIONS root.audio 0660 
REGISTER ^snd/.* PERMISSIONS root.audio 0660 

# Load ALSA sound when needed 
LOOKUP snd MODLOAD 
LOOKUP dsp MODLOAD 
LOOKUP mixer MODLOAD 
LOOKUP sequencer MODLOAD

note:  make sure you have an "audio" group and your userid is added to it!

7. That's nearly it. Now open your /etc/rc.conf and add  snd-emu10k1 to the MODULES array.
8. Reboot to test, run alsamixer afterwards to set the volume, and try out any sound application. Everything should run just fine, and mixer settings are automatically preserved

Orginal post can be found here
http://bbs.archlinux.org/viewtopic.php? … ounds+card

Offline

#12 2004-02-11 20:04:45

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: a little bit of sound and xfree!

Another interesting post is
http://bbs.archlinux.org/viewtopic.php?t=2544

Offline

#13 2004-02-12 11:22:59

malakas
Member
Registered: 2004-02-08
Posts: 28

Re: a little bit of sound and xfree!

Well,the very good guide from terrapin didnt work.I will do the following: i will install arch linux again and then i will look at the link of bobonov.Thanks to everyone for their help and i am sure i will get it!wait for my news! big_smile

Offline

Board footer

Powered by FluxBB