View previous topic :: View next topic |
Author |
Message |
bluesky Apprentice
Joined: 14 Aug 2002 Posts: 230 Location: USA
|
Posted: Thu Aug 29, 2002 2:50 pm Post subject: amixer error |
|
|
I ran "amixer" and got this error:
amixer: Mixer attach default error: No such file or directory
But there is /usr/bin/amixer . _________________ bluesky
"free as the wind" |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Aug 29, 2002 2:57 pm Post subject: |
|
|
Are you installing ALSA? What did you do?
Did you do a
Code: |
update-modules (important!)
rc-update add alsasound boot
/etc/init.d/alsasound start (or reboot)
|
Did you follow the Desktop HOWTO: http://www.gentoo.org/doc/desktop.html#doc_chap3 ?
Also search the forums, I'm sure this has been handled before.
Greets |
|
Back to top |
|
|
bluesky Apprentice
Joined: 14 Aug 2002 Posts: 230 Location: USA
|
Posted: Thu Aug 29, 2002 3:14 pm Post subject: re: amixer error |
|
|
Yes, I did all that. I followed the desktop env instructions to install alsa, get up to the point( #amixer" with no apparent problem. And I did a search on amixer, but didn't find anything the same. _________________ bluesky
"free as the wind" |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Aug 29, 2002 3:36 pm Post subject: Re: re: amixer error |
|
|
bluesky wrote: | Yes, I did all that. I followed the desktop env instructions to install alsa, get up to the point( #amixer" with no apparent problem. And I did a search on amixer, but didn't find anything the same. |
Try this:
Code: |
# /etc/init.d/alsasound start
# insmod snd-pcm-oss
# insmod snd-mixer-oss
# amixer
# amixer set Master 100 unmute
# amixer set PCM 100 unmute
# alsamixer (you can easily adjust sound with this, it's ncurse-based)
|
After that, try rebooting (make sure alsasound is added to the "boot" runlevel). See if ALSA starts up properly (check if modules are loaded -- cat /proc/modules) and see if you have sound. |
|
Back to top |
|
|
bluesky Apprentice
Joined: 14 Aug 2002 Posts: 230 Location: USA
|
Posted: Thu Aug 29, 2002 10:48 pm Post subject: re: amixer |
|
|
># /etc/init.d/alsasound start
*Warning: alsasound has already been started
># insmod snd-pcm-oss
error: a module named snd-pcm-oss already exists
># insmod snd-mixer-oss
error: a module named snd-mixer-oss already exists
And # amixer produced the same error as above mentioned :"Mixer attach default error: No such file or directory"
But I noticed when I started kde and logged in, I saw a warning window " device /dev/dsp can't be opened (no such file or directory)" _________________ bluesky
"free as the wind" |
|
Back to top |
|
|
bluesky Apprentice
Joined: 14 Aug 2002 Posts: 230 Location: USA
|
Posted: Thu Aug 29, 2002 11:59 pm Post subject: amixer |
|
|
Well. I found out that I built the wrong soundcard driver. So after I corrected it, I have the sound now.
However, when I ran " amixer" I still got the warning:
"amixer: Mixer attach default error, no such file or directory"
What I think now is it was only a warning, so I can forget about it.
But, comparing to the sound of kde 2, this is much to be desired! _________________ bluesky
"free as the wind" |
|
Back to top |
|
|
bluesky Apprentice
Joined: 14 Aug 2002 Posts: 230 Location: USA
|
Posted: Fri Aug 30, 2002 3:46 am Post subject: re: amixer |
|
|
kde had sound but the sound was muffled and I still had the following error outputs. NOt so sure what happened though.
G0T4R6 root # amixer
amixer: Mixer attach default error: No such file or directory
G0T4R6 root # amixer set Master 100 unmute
amixer: Mixer attach default error: No such file or directory
G0T4R6 root # amixer set PCM 100 unmute
amixer: Mixer attach default error: No such file or directory
G0T4R6 root # aplay /usr/kde/3/share/sounds/pop.wav
aplay: main:447: audio open error: No such file or directory
G0T4R6 root #
All the files are there, though.
_________________ bluesky
"free as the wind" |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Sat Aug 31, 2002 12:11 am Post subject: |
|
|
I'm not sure either. Try without running KDE first, untill you get the sound working.
Are you using arts? From what I heard arts still plays bad with alsa for the time being.
EDIT: If you use arts, have a look at this, perhaps this can help you: https://forums.gentoo.org/viewtopic.php?t=13496 |
|
Back to top |
|
|
|