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

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
j3rm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 148
Location: Tennessee

PostPosted: Wed Jun 19, 2002 5:19 am    Post subject: problems with amixer Reply with quote

I followed the instructions on the gentoo website to get my sound working, and everything was fine until I typed in 'amixer'. Here's the error message I got:
amixer: Mixer attach default error: No such device

The module I loaded for my sound card returned no errors. What did I do wrong?
Back to top
View user's profile Send private message
dj-submerge
n00b
n00b


Joined: 04 Jun 2002
Posts: 27

PostPosted: Wed Jun 19, 2002 6:19 am    Post subject: Reply with quote

What soundcard are you using ? Shure that you've loaded all the needed modules ( espacally for your sound card ?? ) and startet the alsa server ?

marc
Back to top
View user's profile Send private message
FormerFreeBSDUser
Guest





PostPosted: Wed Jun 19, 2002 3:09 pm    Post subject: Another thing to check Reply with quote

I had this same problem, and the mistake I made was not having devfs properly compiled into the kernel.

You can check by doing the following
more /usr/src/linux/.config | grep "DEVFS"

and make sure that the following is there
CONFIG_DEVFS_FS=y

Sincerely,

Joe
Back to top
j3rm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 148
Location: Tennessee

PostPosted: Wed Jun 19, 2002 7:10 pm    Post subject: Reply with quote

I'm using the ac97-codec. I've checked out all the forums about this specific module, and it seems there's a lot of problems with it. I'm pretty much experiencing the same problem as everyone else who's used it. I made sure I enabled devfs when I built the kernel, and everything else that was supposed to be done. I've had a few problems with it in windows too, so I went ahead and bought a new SB LIVE card, something I've been meaning to do anyway. :) Plus I got a great deal on eBay for it ($30 off the list price).
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Jun 19, 2002 9:29 pm    Post subject: Reply with quote

Try loading the module snd-mixer-oss (snd-pcm-oss is also handy) in modules.autoload or just by doing modprobe, creates /dev/mixer and works for me,

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Wed Jun 19, 2002 11:38 pm    Post subject: Reply with quote

lx wrote:
Try loading the module snd-mixer-oss (snd-pcm-oss is also handy) in modules.autoload or just by doing modprobe, creates /dev/mixer and works for me


I second that. I had the same error and that solution worked fine for me, however I didn't add them to /etc/modules.autoload and whenever I run amixer or alsamixer now it seems to work fine.

On a second install I just did
Code:
/etc/init.d/alsasound start

and then ran amixer and it seemed to run fine?
This is my lsmod output on boot (I left out modules for NVdriver and NIC):
Code:

Module                  Size  Used by    Tainted: P 
snd-mixer-oss          10016   0 (autoclean)
snd-pcm-oss            35620   0 (autoclean)
snd-emu10k1            60996   0
snd-rawmidi            14528   0 [snd-emu10k1]
snd-pcm                55008   0 [snd-pcm-oss snd-emu10k1]
snd-timer              11968   0 [snd-pcm]
snd-hwdep               3648   0 [snd-emu10k1]
snd-ac97-codec         23780   0 [snd-emu10k1]
snd-util-mem            1248   0 [snd-emu10k1]
snd-seq-device          3840   0 [snd-emu10k1 snd-rawmidi]
snd                    29384   0 [snd-mixer-oss snd-pcm-oss snd-emu10k1 snd-rawmidi snd-pcm snd-timer snd-hwdep snd-ac97-codec snd-util-mem snd-seq-device]

This gets loaded by /etc/init.d/alsasound start
Notice that snd-mixer-oss is loaded.

Perhaps someone should document the installation of ALSA, because _every two days_ I'm reading posts on this forum of people having difficulties with configuring ALSA..

However once you got it working, it's great. And since ALSA is going to be part of 2.5.x kernels, I think it's important people use it.

Just my thoughts on this.

Greets


Last edited by Zu` on Wed Jun 19, 2002 11:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Wed Jun 19, 2002 11:43 pm    Post subject: Reply with quote

j3rm wrote:
I'm using the ac97-codec. I've checked out all the forums about this specific module, and it seems there's a lot of problems with it. I'm pretty much experiencing the same problem as everyone else who's used it. I made sure I enabled devfs when I built the kernel, and everything else that was supposed to be done. I've had a few problems with it in windows too, so I went ahead and bought a new SB LIVE card, something I've been meaning to do anyway. :) Plus I got a great deal on eBay for it ($30 off the list price).


I'm using a sblive as well.
Just to make things clear, in the kernel, for sound support, you only need to compile soundcore.o as a module. You don't need any other drivers / sound support. ALSA will take care of this.
Then go about configuring ALSA, like the desktop HOWTO says.
Then run /etc/init.d/alsasound start and amixer, unmute master & PCM like the howto says.. and you should do fine.
If that works, add alsasound to the default runlevel.
Code:
rc-update alsasound add default


Good luck.

EDIT:
I have this in my /etc/modules.d/aliases:
Code:

# Alsa
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-emu10k1
alias snd-card-2 snd-emu10k1
alias snd-card-3 snd-emu10k1
alias snd-card-4 snd-emu10k1
alias snd-card-5 snd-emu10k1
alias snd-card-6 snd-emu10k1
alias snd-card-7 snd-emu10k1

snd-emu10k1 is the ALSA sounddriver you need for your sblive.
Back to top
View user's profile Send private message
j3rm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 148
Location: Tennessee

PostPosted: Thu Jun 20, 2002 5:49 pm    Post subject: Reply with quote

Zu',

Did your sound work before you installed your sblive card? Like when all you had was the onboard ac97 stuff.
Back to top
View user's profile Send private message
Panther505
n00b
n00b


Joined: 19 Jun 2002
Posts: 2

PostPosted: Sat Jun 22, 2002 1:37 am    Post subject: Reply with quote

Quote:

PostPosted: Wed Jun 19, 2002 6:43 pm Post subject:
zu wrote:


I'm using a sblive as well.
Just to make things clear, in the kernel, for sound support, you only need to compile soundcore.o as a module. You don't need any other drivers / sound support. ALSA will take care of this.
Then go about configuring ALSA, like the desktop HOWTO says.
Then run /etc/init.d/alsasound start and amixer, unmute master & PCM like the howto says.. and you should do fine.
If that works, add alsasound to the default runlevel.
Code:
Code:
rc-update alsasound add default



Good luck.


when I run the Code:
Code:
rc-update add alsa default


that is in the deskstop guide I get a rc-update error stating that alsa cannot be found in the init.d directiory. When I run what zu said the system doesn't hold the mixer settings. Any help would be appreciated[/code][/quote]
_________________
Airborne- When it absolutely positively has to be destroyed overnight!!
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Sat Jun 22, 2002 4:10 am    Post subject: Alsa and the Desktop Guide . . . Reply with quote

The guide indicates you should run:

rc-update add alsa default

However as you found, there is no alsa. Instead you find alsasound, which can be used in its place.

However to complicate things I've read in various places in the forums that it should actually be:

rc-update add alsasound boot

This is also the method described at the end of the emerge of alsa-driver. So, from one guy that DOESN'T have his alsa working (me) thats just some info I have scraped together. Good luck, wish me luck too!

Also for those having trouble insmod(ing) or modprobe(ing) in the snd-pcm-oss or snd-mixer-oss modules. I had MANY troubles trying to get them loaded. Finally I found I needed to modprobe the following modules (in this order)

modprobe snd
modprobe snd-pcm
modprobe snd-pcm-oss
modprobe snd-mixer-oss

In that order I was finally able to load the two ellusive snd-pcm-oss and snd-mixer-oss modules. Again I do not have all the answers or I would have my own alsa working already, but this might help others anywho.

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