On Mon, 14 Oct 2002, Clemens Ladisch wrote: > If the sequencer device for a card is requested unsuccessfully (e.g. > "pmidi -l" when a USB MIDI device isn't yet connected), the device is > plugged in, and then the device is accessed, ALSA doesn't load the > sequencer driver. > > The reason for this is that snd_seq_client_use_ptr() assumes that the > sequencer driver cannot be loaded when the card driver has failed to load > before. > > This patch removes the "!card_requested" protection from the call to > snd_seq_device_load_drivers().
It's a bad idea. The better solution is to configure usbmgr to load usb driver when hardware is plugged in. We definitely don't want to see thousands of failure messages in /var/log/messages. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel