Re: [linux-usb-devel] [PATCH] USB speedtouch: don't open a connection if no firmware

Duncan Sands (baldrick@wanadoo.fr)
Wed, 9 Apr 2003 10:31:37 +0200


On Tuesday 08 April 2003 23:16, Dwaine_Garden@wsib.on.ca wrote:
> I have noticed with the usbvision code, that when a device like it's own
> is called. Webcam (Bttv) and the usbvision device. It take forever to
> load and initialize the driver.
>
> People complain it sometimes it takes two minutes. At first I thought
> they were making up things.
>
> I have another video and audio capture device. I only see problem when
> both device have their drivers loaded.
>
> I'm like you. I'm going to get to removing all the MOD_INC_USE_COUNT;
> code.

Hi Dwaine, I don't understand your email too well, sorry. Many USB devices
take a while before they are usable, because first you need to load some
firmware into them. MOD_INC_USE_COUNT will not slow down initialisation.
It is to do with unloading the driver, and stops the driver being unloaded when
it would be dangerous to do so.

All the best,

Duncan.
-
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/