Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa probs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Wed Jul 17, 2002 7:35 pm    Post subject: Alsa probs Reply with quote

This is my /etc/modules.d/alsa

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.$

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-emu10k1
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - 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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd snd_cards_limit=1


and when I run
amixer set Mixer 100 unmute
I get
Segmentation fault

and when i only run
amixer set Mut
i get
Specify what you want to set...

I has tried to reinstalled it but it doesnt work

OT: My gkrellm shows 100% on the cpu but top dont shows any prog that use it
Back to top
View user's profile Send private message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Wed Jul 17, 2002 10:08 pm    Post subject: Reply with quote

I dont have /dev/mixer or /dev/dsp or what it is .. maby thats the problem :D
Back to top
View user's profile Send private message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Thu Jul 18, 2002 12:40 am    Post subject: Reply with quote

How can I do to get /dev/dsp and /dev/mixer???
I have enable sound in kernel.
Back to top
View user's profile Send private message
Robert
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 103
Location: Syracuse, NY

PostPosted: Thu Jul 18, 2002 12:52 am    Post subject: Reply with quote

Did you load the appropriate alsa modules? Did you follow the install guide located at: http://gentoo.org/doc/desktop.html#doc_chap3 ?
Back to top
View user's profile Send private message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Thu Jul 18, 2002 10:54 am    Post subject: Reply with quote

Robert wrote:
Did you load the appropriate alsa modules? Did you follow the install guide located at: http://gentoo.org/doc/desktop.html#doc_chap3 ?

No thats for the old alsa drivers
Back to top
View user's profile Send private message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Thu Jul 18, 2002 11:31 am    Post subject: Reply with quote

Can i do this to make it work

MAKEDEV /dev/dsp
MAKEDEV /dev/mixer
Back to top
View user's profile Send private message
Robert
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 103
Location: Syracuse, NY

PostPosted: Thu Jul 18, 2002 11:43 am    Post subject: Reply with quote

nope. Gentoo uses devfs, so they will be created when you load the driver modules. My suggestion would be to uninstall the old drivers and follow the directions which are found at the url I posted earlier in this thread. This method should have you up and running in minutes.. well did for me anyway when I tried it ;)
Back to top
View user's profile Send private message
steblublu
n00b
n00b


Joined: 12 Jul 2002
Posts: 49
Location: montreal, canada

PostPosted: Thu Jul 18, 2002 11:44 am    Post subject: Reply with quote

wisdom wrote:
No thats for the old alsa drivers


Are you using DevFSD? Since most gentoo users do, then I'm assuming you are.
if so, then you would not have to add them manually (with the old "mknod /dev/dsp c 14 3" method)


- make sure you REMOVE kernel support for your card, it should be run as a module - this is the best/easiest way to work with devfsd.
- check your devfsd.conf file to make sure everything is ok:
- look at your "/etc/modules.devfs" - there should be aliases listed for dsp and mixer
- after any changes you make in the devfs remember to run "/etc/init.d/devfsd start" or reboot
- still having problems? try re-emerge alsa if you reboot but you still dont have /dev/dsp.
-with devfs you can FORCE the /dev/dsp to be created. simply add the following to "/etc/devfsd.conf":
Code:
LOOKUP dsp MODLOAD
LOOKUP sound MODLOAD
REGISTER sound/.* MKOLDCOMPAT
Unregister sound/*. RMOLDCOMPAT


let me know if any/none of this helped.


tip:
Another thing I did (after alsa was up and running) was to do a search for all occurences of "/dev/dsp" in ANY file and replaced it with the actual destination link that it pointed to (/dev/sound/dsp). Newer programs "should" want to use the /dev/sound/dsp file, but most dont yet.


cheers,
steb
Back to top
View user's profile Send private message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Thu Jul 18, 2002 2:19 pm    Post subject: Reply with quote

Thanks!!know i got alsa to work but know another problem :?
when I emerge alsa-xmms an try to run xmms i got this error:
<Init> : Avifile CVS-020718-00:12-2.95.3
<Init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
<Init> : 1533.88 MHz AMD Athlon(tm) XP 1800+ processor detected
<LDT_Keeper> : Installed fs segment: 0x128000

Segmentation fault

You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.


and when I unmerge it xmms work perfct
its xmms-1.2.7-r11
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum