Re: usbserial/keyspan module load race [was: 2.4.5 keyspan driver]

Greg KH (greg@kroah.com)
Sun, 1 Jul 2001 19:51:28 -0700


On Sun, Jul 01, 2001 at 03:49:10PM -0500, Gregory T. Norris wrote:
> Ok, I've figured out how to reproduce the problem.
>
> Initially, usbcore and usb-uhci are the only USB drivers loaded. If I
> load usbserial and keyspan seperately ("modprobe usbserial ; sleep 5 ;
> modprobe keyspan") everything works correctly. The problem occurs when
> I let modprobe pull in usbserial behind the scenes as a dependency. The
> keyspan driver (usually) doesn't detect the device, and /proc/modules
> forever lists it as "initializing". The module won't unload at this
> point, so the driver's unusable until the next reboot.
>
> Unfortunately I have no idea how/where to fix this. Anyone want to
> take a stab at it?

Which keyspan driver are you doing this with, keyspan_pda.o or
keyspan.o?

Have you tried having the linux-hotplug scripts install the driver for
you when you plug the device in? <http://linux-hotplug.sourceforge.net/>

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/