Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA in Gentoo 2008
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
auris
n00b
n00b


Joined: 27 Aug 2008
Posts: 18

PostPosted: Sat Aug 30, 2008 9:53 am    Post subject: Reply with quote

So here is my /etc/modprobe.d/alsa
Code:

# Alsa kernel modules' configuration file.

# ALSA portion
# OSS/Free portion

##
## 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-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
##  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

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.16 ---
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Sat Aug 30, 2008 1:48 pm    Post subject: Reply with quote

auris,

You are missing
Code:
options snd cards_limit=1
just under
Code:
# Set this to the correct number of cards.
but alsa may assume that anyway. If you update the file remember to run modules-update.
Fixing your ALSA startup messages gives
Code:
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                                            [ ok ]
 *   Loading: snd-mixer-oss ...                                                         [ ok ]
 *   Loading: snd-pcm-oss ...                                                           [ ok ]
 *   Loading: snd-seq-oss ...                                                           [ ok ]
 *   ERROR: Failed to load necessary drivers                                            [ ok ]
* Restoring Mixer Levels ...
alsactl: unrecognized option `---'
other than the error, looks ok. The unrecognized option `---' isn't in your /etc/modprobe.d/alsa.

Stop alsasound, delete or rename your /etc/asound.state (thats all your mixer settings) then start alsasound. What errors now ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
auris
n00b
n00b


Joined: 27 Aug 2008
Posts: 18

PostPosted: Sat Aug 30, 2008 2:12 pm    Post subject: Reply with quote

Nothing has changed :( Still the same errors.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Sat Aug 30, 2008 2:15 pm    Post subject: Reply with quote

auris,

Post your kernel .config file please (all of it) so I can load it into make menuconfig. Its at /usr/src/linux/.config
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
moltas
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 103

PostPosted: Sat Aug 30, 2008 3:02 pm    Post subject: Reply with quote

I do not know if this help.
1. if you have follow the alsa howto in gentoo handbook
2. and the help from admin not giv you any sound.
this is watt i shod do .
In kernel only pick one drive for your cart,(you downt need more) and dowt pick any genetic.
3. if it is the same (no sound) go for a nother kernel.
and follow the alsa guid in gentoo handbook
and after reboot and you have system sound, add alsa to useflag in make.conf and re emerge multimedia part of gnome or kde. that will put in the plugins the giv sound in players and so on
sorry for bad spelling
bertil
Back to top
View user's profile Send private message
auris
n00b
n00b


Joined: 27 Aug 2008
Posts: 18

PostPosted: Sun Aug 31, 2008 8:34 am    Post subject: Reply with quote

Here is my kernel config.
http://l2.sachiel.eu/upload/config
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Sep 01, 2008 6:32 am    Post subject: Reply with quote

Neddy,

If it won't offend, I'd like a crack at that .config. Actually, I've already started working with it. It's probably going to be easiest to start over since it's a genkernel with everything...and I mean everything installed.

Auris, if you'd like this, please also post the results of lspci -n and cat /proc/cpuinfo, as well as your /etc/fstab file.

Thanks.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Mon Sep 01, 2008 9:52 am    Post subject: Reply with quote

pappy_mcfae,

Carry on, I'll be interested to see what you come up with. I assume you will go for a kernel matching lspci?
You also need the output of lsusb to make sure you include drivers for all of auris USB devices.

Hint: CONFIG_SND_VIA82XX=y accounts for the
Code:
ERROR: Failed to load necessary drivers
message.
As its built in, any attempt at loading it fails. Its safe to ignore the error, as the code is always present.

That probably means we need to see /etc/asound.state to see how the sound card is set up.

However, from a few posts back lsmod shows
Code:
snd_via82xx            23712  0
so the data set we have to work with is not self consistant. You cannot have snd_via82xx in lsmod and CONFIG_SND_VIA82XX=y
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Sep 01, 2008 8:29 pm    Post subject: Reply with quote

Neddy,

Actually, I use lspci -n and this site. It gives a much more accurate accounting of the exact driver needed, and in some cases, alternative drivers. The /etc/fstab lets me know what file system is in use, and the cat /proc/cpuinfo lets me know what kind and how many processors.

I also have set up what I call seed kernels. They are created by make defconfig in each seed's native source, and then given the Pappy touch; which includes all the tweaks and settings I'm using on my machines. Those seeds are stored without devices set up. When I get a request, especially from a genkernel user, I just start out with the fresh seed and graft devices onto those kernels. So far, it works like a charm.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
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
Goto page Previous  1, 2
Page 2 of 2

 
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