Hello,
On 22-Sep-01 Georg Acher wrote:
> On Sat, Sep 22, 2001 at 05:00:33PM +0200, Nemosoft Unv. wrote:
>> Well, the fact that the usb-uhci module isn?t locked while it is in use,
>> is
>> bad and you cannot be blamed for that. I?m CC:ing this to the USB
>> development list, so this issue can be fixed.
>
> Is this only for usb-uhci? A system with a definitely used usb-ohci also
> shows a zero-usage:
>
> usb-ohci 18880 0 (autoclean) (unused)
> dabusb 53584 2 (autoclean) <--- uses OHCI
> usbcore 52208 1 [usb-ohci dabusb]
No, it happens with my uhci module as well. So it�s probably a design
issue.... The problem lies within the usbcore module, which separates the
devices drivers from the USB controllers (which is of course a good design
and works very well so far).
Would it be enough to place MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT in the
various submit_urb() and unlink_urb() functions of all 3 drivers? As far as
I know, submit_urb and unlink_urb are always symmetrical, even for one-shot
interrupt URBs. So for every URB in use the module use counters would be
increment by one.
- Nemosoft
-----------------------------------------------------------------------------
Try SorceryNet! One of the best IRC-networks around! irc.sorcery.net:9000
URL: never IRC: nemosoft IscaBBS (bbs.isca.uiowa.edu): Nemosoft
>> Never mind the daylight <<
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel