devfs
[Top] [All Lists]

Re: alsa and devfs (hack)

To: Rafał Bursig <bursig@xxxxxxxxx>, devfs <devfs@xxxxxxxxxxx>
Subject: Re: alsa and devfs (hack)
From: Tobias Edler <tobias.edler@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Nov 2001 21:44:05 +0100
References: <3C02B01F.CF7D4DED@xxxxxxxxx> <3C049615.6010103@xxxxxxxxxxxxxxxxxxxxxx> <3C0464D7.172077D4@xxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5+) Gecko/20011022
The problem ist that the OSS-style devices are not created at all.

/dev/snd contains:

crw-rw----    1 root     user     116,   0 Jan  1  1970 controlC0
crw-rw----    1 root     user     116,  32 Jan  1  1970 controlC1
crw-rw----    1 root     user     116,  64 Jan  1  1970 controlC2
crw-rw----    1 root     user     116,  96 Jan  1  1970 controlC3
crw-rw----    1 root     user     116, 128 Jan  1  1970 controlC4
crw-rw----    1 root     user     116, 160 Jan  1  1970 controlC5
crw-rw----    1 root     user     116, 192 Jan  1  1970 controlC6
crw-rw----    1 root     user     116, 224 Jan  1  1970 controlC7
crw-rw----    1 root     user     116,   4 Jan  1  1970 hwC0D0
crw-rw----    1 root     user     116,   8 Jan  1  1970 midiC0D0
crw-rw----    1 root     user     116,  24 Jan  1  1970 pcmC0D0c
crw-rw----    1 root     user     116,  16 Jan  1  1970 pcmC0D0p
crw-rw----    1 root     user     116,  33 Jan  1  1970 timer

Thanx in advance


To help you I must know your modules.conf, modules.devfs and "lsmod"
after initialization of /dev/dsp.
post install    snd-pcm    modprobe -k snd-card-0

did so ... bt didn't help
there is so /dev/dsp. at least unless i create it manually with the snddevices script, wich schounl be unnecessary with devfs.

modules.conf :
alias parport_lowlevel parport_pc
alias scsi_hostadapter atp870u
alias eth0 8139too
alias char-major-81 bttv
alias snd-card-0 snd-card-als4000
alias sound-slot-0 snd-card-als4000
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
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || : pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias char-major-195 NVdriver

modules.devfs
# /etc/modules.devfs
# Richard Gooch  <rgooch@xxxxxxxxxxxxx>        16-JUL-2001
#
# This file comes with devfsd-v1.3.18 which is available from:
# http://www.atnf.csiro.au/~rgooch/linux/

###############################################################################
#   Sample configurations that you may want to place in /etc/modules.conf
#
alias     /dev/snd        snd-card-0

# Soundcard
alias     /dev/audio        /dev/sound
alias     /dev/mixer        /dev/sound
alias     /dev/dsp        /dev/sound
alias     /dev/dspW        /dev/sound
alias     /dev/midi        /dev/sound
include /etc/modules.conf

devfsd.conf
# Sample /etc/devfsd.conf configuration file.
# Richard Gooch  <rgooch@xxxxxxxxxxxxx>        3-JUL-2000
#
# Enable full compatibility mode for old device names. You may comment these
# out if you don't use the old device names. Make sure you know what you're
# doing!
REGISTER .*     MKOLDCOMPAT
UNREGISTER .*     RMOLDCOMPAT


# You may comment these out if you don't use the original "new" names
REGISTER .*     MKNEWCOMPAT
UNREGISTER .*     RMNEWCOMPAT

# Enable module autoloading. You may comment this out if you don't use
# autoloading
LOOKUP     .*        MODLOAD

# For alsa modules ... hope this helps ....
LOOKUP snd MODLOAD ACTION snd
REGISTER sound/.* PERMISSIONS root.user 660
REGISTER snd/.* PERMISSIONS root.user 660


<Prev in Thread] Current Thread [Next in Thread>