Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amixer error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
bluesky
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 230
Location: USA

PostPosted: Thu Aug 29, 2002 2:50 pm    Post subject: amixer error Reply with quote

I ran "amixer" and got this error:

amixer: Mixer attach default error: No such file or directory

But there is /usr/bin/amixer . :o
_________________
bluesky

"free as the wind"
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Aug 29, 2002 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
bluesky
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 230
Location: USA

PostPosted: Thu Aug 29, 2002 3:14 pm    Post subject: re: amixer error Reply with quote

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. :o
_________________
bluesky

"free as the wind"
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Aug 29, 2002 3:36 pm    Post subject: Re: re: amixer error Reply with quote

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. :o


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
View user's profile Send private message
bluesky
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 230
Location: USA

PostPosted: Thu Aug 29, 2002 10:48 pm    Post subject: re: amixer Reply with quote

># /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)" :o
_________________
bluesky

"free as the wind"
Back to top
View user's profile Send private message
bluesky
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 230
Location: USA

PostPosted: Thu Aug 29, 2002 11:59 pm    Post subject: amixer Reply with quote

Well. I found out that I built the wrong soundcard driver. So after I corrected it, I have the sound now. :D

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
View user's profile Send private message
bluesky
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 230
Location: USA

PostPosted: Fri Aug 30, 2002 3:46 am    Post subject: re: amixer Reply with quote

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.


:o :cry:
_________________
bluesky

"free as the wind"
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Sat Aug 31, 2002 12:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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