LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   sound devices destroyed at restart (https://www.linuxquestions.org/questions/slackware-14/sound-devices-destroyed-at-restart-304924/)

guitarfella 03-22-2005 11:05 PM

sound devices destroyed at restart
 
distro: slackware 10.1
kernel: 2.6.11-5 custom
driver: alsa 1.0.8

my sound works, but everytime i restart my pc i have to recompile the sound devices (running ./snddevices from the source) these are:
/dev/dsp
/dev/mixer
/dev/sequencer
/dev/midi

isnt that weird

gbonvehi 03-23-2005 01:06 AM

Sounds like udev is not doing the right thing... Check if /etc/rc.d/rc.udev is executable and you've sysfs support on your kernel. Oh and use the original udev in Slack 10.1 or upgrade to the latest one (there was a update between them that was broken).

MMYoung 03-23-2005 01:21 AM

Instead of actual device nodes, udev *should* be creating symlinks to ALSA devices in /dev/snd. For instance my /dev/dsp is actually a symlink to /dev/snd/dsp. Udev will "erase" any modifications done to /dev at each reboot, so running ./snddevices (which is depreciated anyway and you aren't supposed to use it for anything above 0.9.4) won't fix the "problem".

One thing that I did to kind of give udev a "helping hand" with this "problem" was to add the following to the end of my /etc/modprobe.conf:

# 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

Now all the appropriate symlinks are created, except for /dev/midi it is actually a node and not a symlink.

HTH,
MMYoung


All times are GMT -5. The time now is 10:10 AM.