WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: alsa multiple cards on 1.x  (Read 3136 times)

Offline softwaregurl

  • Suspended
  • Full Member
  • ***
  • Posts: 109
alsa multiple cards on 1.x
« on: June 08, 2009, 07:59:38 PM »
booting on 1.3 and 1.4 and the latest alsa.tcel both bttv (v4l2) sound and es18xx cards and alsa-oss load but fails to create /dev/dsp or /dev/mixer.  i have been having some alsa problems on debian too after an update.  i see some "fix me"'s in alsaconf and one looks like it might be multiple cards.  running any of the alsa scripts just unloads everything.  this is what worked for me in the alsa setup script
Code: [Select]
#!/bin/sh

[ -e /etc/udev/rules.d/25-alsa.rules ] || sudo ln -s /usr/local/etc/udev/rules.d/25-alsa.rules /etc/udev/rules.d/25-alsa.rules
if [ -f /usr/local/tce.installed/alsa ]; then
[ -e /dev/dsp ] || sudo mknod /dev/dsp c 14 3 && chmod 666 /dev/dsp
[ -e /dev/mixer ] || sudo mknod /dev/mixer c 14 3 && chmod 666 /dev/mixer
fi

with this both cards autodetect on boot and everything works.
should mention that it is the update to tcb that loads the modules.  this also works on another computer with only one card.
Old wounds that have never healed need to be re-exposed before the cure can be applied.  The cure must be available before the wound is re-exposed.