View previous topic :: View next topic |
Author |
Message |
Apax Tux's lil' helper
Joined: 27 Jun 2003 Posts: 137
|
Posted: Mon Jul 07, 2003 5:18 pm Post subject: amixer error during alsa install |
|
|
Been following the alsa installation guide and keep getting this message...
bash-2.05b# amixer
amixer: Mixer attach default error: No such device
Then I do a
bash-2.05b# insmod snd-mixer-oss
Using /lib/modules/2.4.20-gentoo-r5/kernel/sound/acore/oss/snd-mixer-oss.o
insmod: a module named snd-mixer-oss already exists
bash-2.05b# insmod snd-pcm-oss
Using /lib/modules/2.4.20-gentoo-r5/kernel/sound/acore/oss/snd-pcm-oss.o
insmod: a module named snd-pcm-oss already exists
After that I still get this
bash-2.05b# amixer
amixer: Mixer attach default error: No such device
Any ideas on how to get the amixer command to work??
thanks much |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Mon Jul 07, 2003 8:05 pm Post subject: |
|
|
Try this
Code: | cat /etc/alsa/alsa-base.conf |
and copy that output to this thread. Then try this:
and copy any output that starts with snd or sound to this thread as well.
Thanks! _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
Apax Tux's lil' helper
Joined: 27 Jun 2003 Posts: 137
|
Posted: Mon Jul 07, 2003 9:45 pm Post subject: |
|
|
Ok..here it is
bash-2.05b# cat /etc/alsa/alsa-base.conf
cat: /etc/alsa/alsa-base.conf: No such file or directory
bash-2.05b# lsmod
Module Size Used by Not tainted
snd-pcm-oss 40292 0 (autoclean) (unused)
snd-pcm 68160 0 (autoclean) [snd-pcm-oss]
snd-page-alloc 5616 0 (autoclean) [snd-pcm]
snd-timer 16904 0 (autoclean) [snd-pcm]
snd-mixer-oss 13944 0 (autoclean) [snd-pcm-oss]
snd 34244 0 (autoclean) [snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
soundcore 4580 0 (autoclean) [snd]
3c59x 28912 1
Couldnt find the alsa-base.conf file...
thanks |
|
Back to top |
|
|
MarioCorleone Guru
Joined: 29 Jun 2003 Posts: 336
|
Posted: Tue Jul 08, 2003 3:21 am Post subject: |
|
|
i had the same problem last week. you should find the post by me named "/dev/dsp doesnt exist) now a new problem" and youll find your answer. but
i recompiled my kernel to 2.4.21 and made the driver for my sound card a module. then i copied the bzImage to my boot pratiton and and booted the new kernel.
then i went to the alsa site and downloaded the alsa driver and alsa-utils because the ebuilds for alsa are broken and give unresolved symbols.
after compiling the alsa stuff load your sound card module like this
insmod snd
insmod snd-page-alloc
insmod snd-timer
insmod snd-pcm
insmod snd-mixer-oss
insmod snd-pcm-oss
then
insmod snd-seq-device
insmod snd-seq
insmod snd-rawmidi
insmod snd-mpu401-uart
insmod snd-YOUR-SOUND-CARD
then follow the rest of the alsa guide at configuration of alsa
after this you should be good. _________________ -Mario |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Tue Jul 08, 2003 6:02 am Post subject: |
|
|
'insmod' is not a very pratical way to load modules...it doesn't check
for dependencies. Use modprobe instead on the top level driver and
all the others will be loaded first. In the first post it doesn't appear
you have even loaded a module for your specific device. I may be
seeing it out of context. The oss stuff shouldn't need to be loaded
manually...insert the oss emulation stuff in you alsa module file. HTH. |
|
Back to top |
|
|
MarioCorleone Guru
Joined: 29 Jun 2003 Posts: 336
|
Posted: Tue Jul 08, 2003 1:53 pm Post subject: |
|
|
that was the answer to my problem and it worked. make sure that youve edited your /etc/modules.autoload so that at boot time your modules are loaded _________________ -Mario |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Tue Jul 08, 2003 4:06 pm Post subject: |
|
|
mario18 wrote: | i had the same problem last week. you should find the post by me named "/dev/dsp doesnt exist) now a new problem" and youll find your answer. |
Here is mario18's previous post (for the search impaired ):
https://forums.gentoo.org/viewtopic.php?t=64118 _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Tue Jul 08, 2003 4:36 pm Post subject: |
|
|
Apax wrote: | Couldnt find the alsa-base.conf file... |
My bad, sorry. That should have been:
Code: | cat /etc/modules.d/alsa |
Please try again. _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
Apax Tux's lil' helper
Joined: 27 Jun 2003 Posts: 137
|
Posted: Tue Jul 08, 2003 10:48 pm Post subject: |
|
|
Ok..im back.....
what does this mean...seems the alsa packages says not installed...I emerged them what did i do wrong?
media-libs/alsa-lib
Latest version available: 0.9.2
Latest version installed: 0.9.2
Size of downloaded files: 484 kB
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture Library
* media-libs/alsa-oss
Latest version available: 0.9.1
Latest version installed: [ Not Installed ]
Size of downloaded files: 130 kB
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture OSS compatibility layer.
* media-plugins/alsa-xmms
Latest version available: 0.9.9b
Latest version installed: [ Not Installed ]
Size of downloaded files: 165 kB
Homepage: http://savannah.gnu.org/download/alsa-xmms/
Description: Allows XMMS to output on any ALSA 0.9* device. Supports surround 4.0 output with conversion
* media-plugins/xmms-aalsa
Latest version available: 0.5.4-r3
Latest version installed: [ Not Installed ]
Size of downloaded files: 124 kB
Homepage: http://www1.tcnet.ne.jp/fmurata/linux/alsa.html
Description: This output plugin allows xmms to work with alsa 5 NOT alsa 9
* media-sound/alsa-driver
Latest version available: 0.9.2
Latest version installed: 0.9.2
Size of downloaded files: 1,596 kB
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture kernel modules
* media-sound/alsa-patch-bay [ Masked ]
Latest version available: 0.5.1-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 240 kB
Homepage: http://pkl.net/~node/alsa-patch-bay.html
Description: Graphical patch bay for the ALSA sequencer API.
* media-sound/alsa-tools
Latest version available: 0.9.1
Latest version installed: [ Not Installed ]
Size of downloaded files: 375 kB
Homepage: http://www.alsa-project.org
Description: Advanced Linux Sound Architecture tools
* media-sound/alsa-utils
Latest version available: 0.9.2
Latest version installed: 0.9.2
Size of downloaded files: 105 kB
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)
* media-sound/alsamixergui
Latest version available: 0.9.0.1.2-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 68 kB
Homepage: http://www.iua.upf.es/~mdeboer/projects/alsamixergui/
Description: AlsaMixerGui - a FLTK based amixer Frontend
* media-sound/alsaplayer
Latest version available: 0.99.73
Latest version installed: [ Not Installed ]
Size of downloaded files: 546 kB
Homepage: http://www.alsaplayer.org/
Description: Media player primarily utilising ALSA
* media-sound/gnome-alsamixer [ Masked ]
Latest version available: 0.9.3
Latest version installed: [ Not Installed ]
Size of downloaded files: 87 kB
Homepage: http://www.paw.co.za/projects/gnome-alsamixer
Description: Gnome 2 based ALSA Mixer
* net-mail/balsa
Latest version available: 2.0.10
Latest version installed: [ Not Installed ]
Size of downloaded files: 2,514 kB
Homepage: http://balsa.gnome.org
Description: Email client for GNOME
* x11-plugins/wmmixer-alsa
Latest version available: 0.6
Latest version installed: [ Not Installed ]
Size of downloaded files: 14 kB
Homepage: http://bohemians.org/~iznogood/
Description: hacked version of wmmixer to make it use ALSA instead of the OSS |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Wed Jul 09, 2003 6:13 am Post subject: |
|
|
As root try emerging again:
Code: | emerge alsa-driver && emerge alsa-oss && emerge alsa-utils && emerge alsa-tools |
Do you get any error messages when emerging? _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
Apax Tux's lil' helper
Joined: 27 Jun 2003 Posts: 137
|
Posted: Wed Jul 09, 2003 4:11 pm Post subject: |
|
|
Going to re emerge as you suggested..
emerge alsa-driver && emerge alsa-oss && emerge alsa-utils && emerge alsa-tools
will post results...
thanks |
|
Back to top |
|
|
Apax Tux's lil' helper
Joined: 27 Jun 2003 Posts: 137
|
Posted: Thu Jul 10, 2003 12:25 am Post subject: |
|
|
Ok..
re emerged and got no errors...still no sound and when I power down i notice a line that says no sound card detected....
frustrated |
|
Back to top |
|
|
Apax Tux's lil' helper
Joined: 27 Jun 2003 Posts: 137
|
Posted: Thu Jul 10, 2003 12:51 am Post subject: |
|
|
Hrmmm....I fixed the /etc/modules.d/alsa
from this
## ALSA portion
alias snd-card-0 snd-wrong card description
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
to this
## ALSA portion
alias snd-card-0 snd-emu10k1
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
I can now get amixer to work but am not getting sound when doing a:
bash-2.05b# aplay $KDEDIR/share/sounds/pop.wav
Playing WAVE '/usr/kde/3.1/share/sounds/pop.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
Any ideas? |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Thu Jul 10, 2003 3:23 am Post subject: |
|
|
You've probably already done all of these, but its always good to check the obvious:
- speakers plugged in
- speakers turned on
- speaker volume up
- sound card un-muted
As I'm sure you know, the ALSA docs say to do this:
Code: | # amixer set Master 100 unmute
# amixer set PCM 100 unmute |
And if you've emerged alsa-utils you can do this as well:
Then you might try playing with your desktop's sound mixer. I use KDE, so I would click K->Multimedia->KMix and make sure the first two sliders are turned up. _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
Apax Tux's lil' helper
Joined: 27 Jun 2003 Posts: 137
|
Posted: Thu Jul 10, 2003 2:11 pm Post subject: |
|
|
Hi ya
Did all this...still no sound...grrrr
Quote: |
speakers plugged in
speakers turned on
speaker volume up
sound card un-muted
As I'm sure you know, the ALSA docs say to do this:
Code:
# amixer set Master 100 unmute
# amixer set PCM 100 unmute
And if you've emerged alsa-utils you can do this as well:
Code:
# alsamixer
Then you might try playing with your desktop's sound mixer. I use KDE, so I would click K->Multimedia->KMix and make sure the first two sliders are turned up. | [/quote] |
|
Back to top |
|
|
MarioCorleone Guru
Joined: 29 Jun 2003 Posts: 336
|
Posted: Fri Jul 11, 2003 4:18 am Post subject: |
|
|
did my post /dev/dsp doesnt exist help you any? _________________ -Mario |
|
Back to top |
|
|
Apax Tux's lil' helper
Joined: 27 Jun 2003 Posts: 137
|
Posted: Fri Jul 11, 2003 10:07 pm Post subject: |
|
|
I dont get that error mario...
just no sound..no errors /shrug |
|
Back to top |
|
|
MarioCorleone Guru
Joined: 29 Jun 2003 Posts: 336
|
Posted: Fri Jul 11, 2003 11:45 pm Post subject: |
|
|
did u get amixer to attach? if yes did you:
Code: | amixer set Master 100 unmute
amixer set PCM 100 unmute | _________________ -Mario |
|
Back to top |
|
|
xenobytes n00b
Joined: 21 Dec 2002 Posts: 20
|
Posted: Sat Aug 09, 2003 11:02 pm Post subject: Alsa Problems |
|
|
I'm having the same problems running amixer after following all of the other instructions in the Gentoo install guide.
I think the root of *my* problem at least is that I can't seem to modprobe my sound driver. I've even tried recompiling alsa-driver and checking to make sure I spelled it correctly in the alsa config.
ESS Technology Maestro 2E (rev 16).
when I do a modprobe for 'snd-1978' (my sound card). I get a "cannot locate module snd-1978.
also a:
Code: | /etc/init.d/alsasound restart |
yeilds this response:
* WARNING: you are stopping a boot service.
* ALSA driver is not loaded.
* Initialising ALSA....
* Starting sound driver: snd-es1978 modprobe: Can't locate module snd-e [ ok ]
any ideas would be greatly appreciated. I'd prefer not to have to install alsa independantly, I realize that it's only trivially more complex, and I've done it before, I'd just rather keep everything on my system in .ebuild format for completness.
Thanks again
Xeno |
|
Back to top |
|
|
MarioCorleone Guru
Joined: 29 Jun 2003 Posts: 336
|
Posted: Sun Aug 10, 2003 3:17 am Post subject: |
|
|
did you emerge alsa or dl it from their site? if you emerged it than i found that i had a problem with the ebuilds so try and dl asla-driver and alsa-utils from their site and compile it yourself and youll prolly find better results _________________ -Mario |
|
Back to top |
|
|
|