Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa and 2.6....again....
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
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Tue Mar 02, 2004 11:16 pm    Post subject: Alsa and 2.6....again.... Reply with quote

Okay...I just spent about 3 hours searching this forum for an answer but nothing seemed to work.

I just compiled the 2.6 kernel and am still trying to get sound to work. I have emerged alsa-lib and alsa-utils.

This is my problem
Code:

localhost linux # /etc/init.d/alsasound start
 * ALSA Detected...
 * Restoring Mixer Levels
/usr/sbin/alsactl: set_controls:986: snd_ctl_open error: No such file or directory
localhost linux # /etc/init.d/alsasound stop
 * Unloading ALSA...
ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
can't open sequencer
 * Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...
 * Unloading modules   


lsmod
Code:

localhost linux # lsmod
Module                  Size  Used by
snd_via82xx            22368  -
snd_ac97_codec         60452  -
snd_mpu401_uart         6336  -
snd_rawmidi            21056  -
snd_seq_midi_event      6208  -
snd_seq_device          6568  -
snd_pcm_oss            49764  -
snd_pcm                91424  -
snd_page_alloc          9252  -
snd_timer              23076  -
snd_mixer_oss          17536  -
soundcore               7168  -
nvidia               2072200  -


amixer
Code:

localhost linux # amixer
amixer: Mixer attach default error: No such file or directory


/etc/modules.d/alsa
Code:

localhost modules.d # cat alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $
 
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
 
##
## 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-via82xx
## 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
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  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.
options snd cards_limit=1


modules-update worked with no errors.

I have no /dev/snd.

Alsa and its components are in the kernel and as modules. Lsmod shows the correct modules (I think).
Back to top
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Tue Mar 02, 2004 11:47 pm    Post subject: Reply with quote

Ugh...nothing...nada...this sucks. Does anybody have ANY ideas what could be wrong?

Also, devfsd.conf
Code:

...
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660
...
Back to top
View user's profile Send private message
sirlethean
n00b
n00b


Joined: 20 Feb 2004
Posts: 5

PostPosted: Tue Mar 02, 2004 11:58 pm    Post subject: Reply with quote

For the 2.6 kernels you need version 1.0.x of alsa-libs and alsa-utils (which are masked).
Back to top
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Wed Mar 03, 2004 12:04 am    Post subject: Reply with quote

Actually...those are the ones that werent' working. I downgraded to .9.8, recompiled my kernel, rebooted, and reemerged alsa-utils and now it works. I have no idea what was wrong but whatever it was I luckily got it worked out. I'll try the 1.0x alsa-utils again and see what happens.
Back to top
View user's profile Send private message
sirlethean
n00b
n00b


Joined: 20 Feb 2004
Posts: 5

PostPosted: Wed Mar 03, 2004 12:42 am    Post subject: Reply with quote

8O

That goes against everything I've heard, and the 0.9.8 ones didn't work for me... hmmm...
Back to top
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Wed Mar 03, 2004 1:11 am    Post subject: Reply with quote

Ya it's strange...but it worked...and now I upgraded to 1.0.2x or whatever and it still works...
Back to top
View user's profile Send private message
eyd
Tux's lil' helper
Tux's lil' helper


Joined: 29 Dec 2003
Posts: 91
Location: Kansas, USA

PostPosted: Wed Mar 03, 2004 2:19 am    Post subject: Reply with quote

I'm on the 2.6 series and I haven' t updated past 0.9.8. Working fine here.
Back to top
View user's profile Send private message
Glorandar
n00b
n00b


Joined: 15 Jun 2003
Posts: 64
Location: Vancouver, BC, Canada

PostPosted: Wed Mar 03, 2004 6:34 am    Post subject: I am using 1.0.2c alsa-driver with 1.0.2 libs, utils and oss Reply with quote

Consider adding the following devfs supporting alias, in addition to those you noted above:
Code:
alias /dev/snd snd-card-0
alias /dev/sound snd-card-0
alias /dev/sndstat snd-card-0

_________________
----- Glorandar
Back to top
View user's profile Send private message
eniac
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 233
Location: Belgium, Brussels

PostPosted: Wed Mar 03, 2004 6:50 am    Post subject: Reply with quote

sirlethean wrote:
8O

That goes against everything I've heard, and the 0.9.8 ones didn't work for me... hmmm...


This is new for me to, I run a 2.6.2 kernel with alsa-lib en alsa-utils < v-1.x.x. It worked fine untill I recompiled my kernel ,,now that I read this I'll try to update to a version 1.x.x or greater and see what happens.
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