Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21227 - snd-emu10k1-synth not being modprobed, fault in /etc/init.d/alsasound?
Summary: snd-emu10k1-synth not being modprobed, fault in /etc/init.d/alsasound?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-18 21:32 UTC by James Athey
Modified: 2003-08-21 11:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Athey 2003-05-18 21:32:08 UTC
I have never been able to use MIDI on my Soundblaster Live! before today.  I
added some debugging code to /etc/init.d/alsasound, and I found that the
following branch was never taken.

  #
  # insert sequencer modules
  #

  if [ x"$START_ALSA_SEQ" = xyes -a -r /proc/asound/seq/drivers ]; then
    t="`cut -d , -f 1 /proc/asound/seq/drivers`"
    if [ "x$t" != "x" ]; then
      /sbin/modprobe $t
    fi
  fi

So I spent some time trying to figure out what the first if statement was
looking for, but I couldn't fully decipher the code.  So, I looked in
/proc/asound/seq/drivers and saw snd-emu10k1-synth there.  I just modprobed it,
and it works great.  Why isn't that branch being taken?

Before today, I was using alsa-driver 0.9.2, in the process of troubleshooting I
upgraded to 0.9.3a.


Reproducible: Always
Steps to Reproduce:
1. ALSA_CARDS='emu10k1' emerge alsa-driver
2. /etc/init.d/alsasound start

Actual Results:  
Watch the /dev/snd/seq device not appear and snd-emu10k1-synth not get modprobed.


Expected Results:  
/dev/snd/seq should have been created by modprobing snd-emu10k1-synth.
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2003-08-21 11:16:42 UTC
this has now been fuixed and put into portage
cp /usr/portage/media-sound/alsa-driver/files/alsasound /etc/init.d/alsasound
please give this a good 30 minutes before syncing, and trying.
thanks
Comment 2 John Mylchreest (RETIRED) gentoo-dev 2003-08-21 11:23:09 UTC
sorry
i meant

cp /usr/portage/media-sound/alsa-utils/files/alsasound /etc/init.d/alsasound