Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nonexistence of /dev/sound/ and related problems.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Verbed
n00b
n00b


Joined: 04 Aug 2002
Posts: 3
Location: Canada

PostPosted: Sun Aug 04, 2002 2:26 am    Post subject: Nonexistence of /dev/sound/ and related problems. Reply with quote

It was my intention to enable Alsa OSS emulation. Three days later-- mental exaustion. Maybe I can find some alleviation here :)

Profile:
1. Devfs
2. Alsa 0.90rc2
3. Emu10k1

Symptoms:
1. /dev/dsp nowhere to be found.
2. In place of the /dev/sound directory, nothingness.
3. `modprobe /dev/dsp` _does_ load snd-pcm-oss ( that also includes `ls /dev/dsp` via Devfsd )

Snippets:

lsmod

snd-seq-midi 3200 0 (unused)
snd-seq-midi-event 3464 0 [snd-seq-midi]
snd-seq 41548 0 [snd-seq-midi snd-seq-midi-event]
snd-pcm-oss 35524 0 (autoclean) (unused)
snd-mixer-oss 9792 0 (autoclean) [snd-pcm-oss]
snd-emu10k1 59236 1
snd-rawmidi 13760 0 [snd-seq-midi snd-emu10k1]
snd-pcm 53792 0 [snd-pcm-oss snd-emu10k1]
snd-timer 11744 0 [snd-seq snd-pcm]
snd-ac97-codec 23908 0 [snd-emu10k1]
snd-hwdep 3616 0 [snd-emu10k1]
snd-util-mem 1440 0 [snd-emu10k1]
snd-seq-device 3840 0 [snd-seq-midi snd-seq snd-emu10k1 snd-rawmidi]
snd 28456 1 [snd-seq-midi snd-seq-midi-event snd-seq snd-p cm-oss snd-mixer-oss snd-emu10k1 snd-rawmidi snd-pcm snd-timer snd-ac97-codec sn d-hwdep snd-util-mem snd-seq-device]
soundcore 4036 6 [snd]

ls /dev/snd

controlC0 controlC3 controlC6 midiC0D0 pcmC0D1c timer
controlC1 controlC4 controlC7 pcmC0D0c pcmC0D2c
controlC2 controlC5 hwC0D0 pcmC0D0p pcmC0D3p

modules.conf

alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0

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 /dev/mixer sound-service-0-0
alias /dev/dsp sound-service-0-3
alias /dev/midi sound-service-0-1


devfsd.conf

REGISTER ^sound/.* PERMISSIONS root.root 666
REGISTER ^snd/.* PERMISSIONS root.root 666

LOOKUP snd MODLOAD
LOOKUP dsp MODLOAD


Gratitude from
Verbed
Back to top
View user's profile Send private message
Miles
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2002
Posts: 97
Location: London, UK

PostPosted: Sun Aug 04, 2002 12:37 pm    Post subject: Reply with quote

Here's the appropriate snippets from my setup:

lsmod:
snd-pcm-oss 36228 0
snd-mixer-oss 9536 1 [snd-pcm-oss]
snd-emu10k1 58084 1
snd-rawmidi 13568 0 [snd-emu10k1]
snd-seq-device 3936 0 [snd-emu10k1 snd-rawmidi]
snd-pcm 49728 0 [snd-pcm-oss snd-emu10k1]
snd-timer 11328 0 [snd-pcm]
snd-ac97-codec 23588 0 [snd-emu10k1]
snd-util-mem 1248 0 [snd-emu10k1]
snd-hwdep 3712 0 [snd-emu10k1]
snd 26728 0 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-rawmidi snd-seq-device snd-pcm snd-timer snd-ac97-codec snd-util-mem snd-hwdep]


ls /dev/snd:
controlC0 controlC3 controlC6 midiC0D0 pcmC0D1c timer
controlC1 controlC4 controlC7 pcmC0D0c pcmC0D2c
controlC2 controlC5 hwC0D0 pcmC0D0p pcmC0D3p

modules.conf:
# 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

alias char-major-116 snd
alias char-major-14 soundcore

# 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

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

devfsd.conf:
# 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


The files look mostly the same but I'd tried altering your devfsd.conf so it's the same as mine. Other than that I'm out of suggestions since my setup worked out of the box/emerge.
Back to top
View user's profile Send private message
Verbed
n00b
n00b


Joined: 04 Aug 2002
Posts: 3
Location: Canada

PostPosted: Sun Aug 04, 2002 9:09 pm    Post subject: Reply with quote

Altering my devfsd.conf ( including a killlall -HUP devfsd ) had little effect on the situation. Would you mind posting the contents of your /dev/sound directory? I suppose I should try remerging my system and interrogate the minds on the alsa-user mailing list.
Back to top
View user's profile Send private message
Verbed
n00b
n00b


Joined: 04 Aug 2002
Posts: 3
Location: Canada

PostPosted: Tue Aug 06, 2002 10:04 am    Post subject: Reply with quote

The ALSA OSS emulation on my system is now working perfectly. I suspect that I had misconfigured my kernel previously, as a reconfiguration/recompilation solved the problem.

I received a hint in the fact that my /dev/lp0 was missing as well :)
Back to top
View user's profile Send private message
Miles
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2002
Posts: 97
Location: London, UK

PostPosted: Tue Aug 06, 2002 2:29 pm    Post subject: Reply with quote

Congrats on getting it all working. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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