View previous topic :: View next topic |
Author |
Message |
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Wed Jul 17, 2002 7:35 pm Post subject: Alsa probs |
|
|
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 |
|
|
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Wed Jul 17, 2002 10:08 pm Post subject: |
|
|
I dont have /dev/mixer or /dev/dsp or what it is .. maby thats the problem |
|
Back to top |
|
|
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Thu Jul 18, 2002 12:40 am Post subject: |
|
|
How can I do to get /dev/dsp and /dev/mixer???
I have enable sound in kernel. |
|
Back to top |
|
|
Robert Tux's lil' helper
Joined: 19 Apr 2002 Posts: 103 Location: Syracuse, NY
|
|
Back to top |
|
|
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Thu Jul 18, 2002 10:54 am Post subject: |
|
|
No thats for the old alsa drivers |
|
Back to top |
|
|
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Thu Jul 18, 2002 11:31 am Post subject: |
|
|
Can i do this to make it work
MAKEDEV /dev/dsp
MAKEDEV /dev/mixer |
|
Back to top |
|
|
Robert Tux's lil' helper
Joined: 19 Apr 2002 Posts: 103 Location: Syracuse, NY
|
Posted: Thu Jul 18, 2002 11:43 am Post subject: |
|
|
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 |
|
|
steblublu n00b
Joined: 12 Jul 2002 Posts: 49 Location: montreal, canada
|
Posted: Thu Jul 18, 2002 11:44 am Post subject: |
|
|
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 |
|
|
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Thu Jul 18, 2002 2:19 pm Post subject: |
|
|
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 |
|
|
|