View previous topic :: View next topic |
Author |
Message |
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Tue Mar 02, 2004 11:16 pm Post subject: Alsa and 2.6....again.... |
|
|
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 |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Tue Mar 02, 2004 11:47 pm Post subject: |
|
|
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 |
|
|
sirlethean n00b
Joined: 20 Feb 2004 Posts: 5
|
Posted: Tue Mar 02, 2004 11:58 pm Post subject: |
|
|
For the 2.6 kernels you need version 1.0.x of alsa-libs and alsa-utils (which are masked). |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Wed Mar 03, 2004 12:04 am Post subject: |
|
|
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 |
|
|
sirlethean n00b
Joined: 20 Feb 2004 Posts: 5
|
Posted: Wed Mar 03, 2004 12:42 am Post subject: |
|
|
That goes against everything I've heard, and the 0.9.8 ones didn't work for me... hmmm... |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Wed Mar 03, 2004 1:11 am Post subject: |
|
|
Ya it's strange...but it worked...and now I upgraded to 1.0.2x or whatever and it still works... |
|
Back to top |
|
|
eyd Tux's lil' helper
Joined: 29 Dec 2003 Posts: 91 Location: Kansas, USA
|
Posted: Wed Mar 03, 2004 2:19 am Post subject: |
|
|
I'm on the 2.6 series and I haven' t updated past 0.9.8. Working fine here. |
|
Back to top |
|
|
Glorandar n00b
Joined: 15 Jun 2003 Posts: 64 Location: Vancouver, BC, Canada
|
Posted: 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 |
|
|
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 |
|
|
eniac Apprentice
Joined: 11 Aug 2003 Posts: 233 Location: Belgium, Brussels
|
Posted: Wed Mar 03, 2004 6:50 am Post subject: |
|
|
sirlethean wrote: |
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 |
|
|
|