Pedro -- Thank you. I already knew a lot of that, but you helped pull together the last bits. The little lime green bastard now hotplugs, coldplugs, and life is good ;-)
On Saturday 07 September 2002 18:41, you wrote: > Hi Matt, > > > What you need to know now is that the hotplug scripts use several tricks to > find the driver name for each device. One is the idVendor/idProduct values, > another is the bInterfaceClass/bInterfaceSubClass pairs, > but none of these match any driver for a "virgin" midisport2x2 and > usbmodules. This is the reason that we need the usb.usermap file. But if > you have the usbmodules program installed, this file never gets tested, and > hotplug never executes the /etc/hotplug/usb/ezusbmidi script (because a > bug). You can: 1. Remove (or move) the usbmodules program if you don't need > it, or 2. Fix this bug. It is at /etc/hotplug/hotplug.functions, and for > hotplug-2002_08_26 i have changed just one line in load_drivers() > # do it with just shell scripts > if [ "$LISTER" = "" -o "$DRIVERS" = "" ]; then > ${TYPE}_map_modules < $FILENAME > fi ARRRGHHH!!! I knew it! See, I thought you might be a USB or hotplug developer because you were saying things that nobody on those news groups was saying. Where did you find this stuff, reading kernel code? Do you know why the hotplug people don't fix it? Like I said, I think that the first bug in hotplug.functions is that usbmodules is not even CALLED correctly, but I could be wrong. If the ezusb component of the alsa doc matrix is gonna say "put this here and do that there and it should work", then there should be a link to this kind information so that troubleshooting is less than utter hell. Otherwise, the page itself needs almost pedantic detail. Everybody makes assumptions based on what they encountered in their own setups, and it takes a large sample of poor fools trying to set it up before you really see all the problems people could have. The music stores over here (at least in Texas) have stacks of midisprorts in the display cases (maybe not so many of us use SuSE, but they are the sponsors of ALSA, after all), so a lot of people will be put off of ALSA and Linux if the relevant information remains this scarce. Anyway, enough of the rant. I just want to make life easier for those that come after me, as you have done for me. Maybe Patrick Sharkey should be involved, but I would like to at least put a url in the "user comments" part of the docs to a detailed howto of all of this on my own webspace. That way, the alsa page wouldn't become unmanagibly huge. Anyway, thanks again and let me know what you think, Matt Walker ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user