On Tuesday 07 February 2006 00:02, Bob van der Poel wrote:
> Ross Vandegrift wrote:
> > On Sun, Feb 05, 2006 at 07:38:33PM -0700, Bob van der Poel wrote:
> >> I added the following lines to /etc/hotplug/blacklist:
> >>
> >> usb_midi
> >> audio
> >>
> >> But, it appears that this file is being auto-generated on boot???
> >
> > Heh, be a little more heavy-handed.  Find the modules like this:
> >
> > # locate usb_midi.ko
> >
> > And delete them like this:
> >
> > # rm /lib/modules/whatever_path_shows_up
> >
> > They're just modules you don't want, so no sense in keeping them
> > around if they're causing woe.
>
> BINGO!! I renamed the usb-midi.ko.gz module to usb-midi.ko.gz-DONOTUSE
> and everything is working 100%. Ah, but if everything in life could be
> so easy.
>
> Just to recap ... all that is needed is the following lines in your
> /etc/modprobe.conf file:
>
> options snd  device_mode=0666
> alias sound-slot-0 snd-via82xx
> alias sound-slot-1 snd-usb-audio
> alias snd-0 snd-via82xx
> alias snd-1 snd-usb-audio
>
> Period.
Hi Bob. The proviso I would put on this is that on some distro's you do need 
to have the options lines as below in /etc/modprobe.conf or wherever they go. 
options snd-<your_soundcard> index=0
options snd-usb-audio index=1
Fedora Core requires this, and IIRC Debian also. Slackware 10.0 using 
Audioslacks mm kernel set things up without this requirement. It's a bit hit 
and miss, but something to be aware of

>
> I appears that hotplug is not enabled on Mandriva. It uses udev instead.
> There may be a possible rule for udev to handle this ... but we've not
> found that bit of magic.
>
> One thing I don't understand is the order of loading modules, etc. If
> usb-midi is not supposed to be loaded, then why is it there. And what is
> deciding to load this anyway? Is this a bug in alsa or in the kernel?

Both "Audio" and "Usb_midi" are OSS modules. OSS is sort of deprecated now, 
and these modules probably should no longer be showing up in the kernel. 
Quite why "Usb_midi" takes precedence and loads before snd_usb-audio has a 
chance to get in, I don't know. perhaps someone else would explain that one. 
We have the Alsa-oss module which acts as an emulation layer for any audio 
apps that still need to use OSS, so the OSS audio module is definately no 
longer needed.
>
> Again, thanks so much to everyone for their help on this. Shows again
> what a great community this is.

I'm glad you have it working now. It's nice being part of the Borg, sorry 
Linux collective isn't it. Everyone throws a bit in, and it all works out 
well in the end. Nigel.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to