Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA - I'm officially stuck [DESPERATE]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
geta
Apprentice
Apprentice


Joined: 10 May 2003
Posts: 153

PostPosted: Tue Mar 28, 2006 7:35 pm    Post subject: possible solution for others? Reply with quote

EDIT: I'm sorry, my solution does not to work, it only seemed to work. It gets even stranger:
Every second reboot /dev/dsp doesn't appear anymore. It's exactly every second boot, no matter if I do a cold restart, reboot it or switch it off and then switch it on a few hours later.
As soon as /dev/dsp doesn't show up, I type "killall udevd; udevstart" and all is well up to and including the next reboot. But after another reboot /dev/dsp doesn't show up anymore. You don't call that wierd? I do.

--- original posting left here for refrence ---

Sh4doW wrote:
it does not ... i've put udevstart in start.local ...


Well, I've had to do type countless "killall udevd; udevstart" after each reboot to get the OSS layer working. Pure ALSA applications weren't the problem, but anything trying to access /dev/dsp (i.e. the OSS emulation layer) wasn't successful as /dev/dsp didn't exist until doing "killall udevd; udevstart".
The solution to my problem seemed most peculiar. However, now I know about the problem, it seems nothing but logical. My original /etc/modules.d/alsa and /etc/modules.conf (snippets of it, at least):

Code:

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.10 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---


My changed config:
Code:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.10 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss


You are forgiven for thinking of me as going crazy (or senile) for posting the same config file twice. Problem is: they're not the same config file. The sequence in which these lines are arranged in the config seems to play a very important role.
Hope this tip saves some people from typing "killall udevd; udevstart". Bloody nuisance, typing is.

Cheers,
geta
_________________
geta - pronounced: "djetta"


Last edited by geta on Mon Apr 03, 2006 9:21 pm; edited 3 times in total
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Wed Mar 29, 2006 1:03 am    Post subject: Reply with quote

Whenever I do this, it goes like this:
I build sound into the kernel [*], but then disable everything under the sound menu (oss and alsa both have < >). Then I emerge alsa-drivers and alsa-(utils? or tools? something like that. My memory is awesome. :P ) and run alsaconf. It works just fine like that for me. But, if you have a lot of crap in your kernel, (old stuff you compiled out), then you might want to clean it, like if you got rid of alsa drivers you previously compiled in. Just do this:

Code:
cd /usr/src/linux && make clean && make && cp arch/i386/boot/bzImage your_kernel_image_name
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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